Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-50745

Invalid recipient handler reply handle scheme all messed up

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Development in progress
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.8.6, 2.9
    • Fix Version/s: None
    • Component/s: General, Libraries
    • Labels:
    • Testing Instructions:
      Hide
      1. First, you must have a site with inbound email configured and enabled for both forums and email verification
      2. Create a new teacher in a course with an email address like myemail+something@gmail.com
        • This is so when you reply, the email will actually come from myemail@gmail.com, and not match the user email address
      3. Create a forum, and subscribe to it
      4. Post to the forum, checking mail immediately
      5. Fire cron if not running automatically
      6. Reply to the forum email you receive with a some response
      7. Fire cron
      8. Confirm the message did not post to the forum
      9. You should receive an email saying the message could not be verified
      10. Confirm it comes from the support user (probably admin)
      11. Hit reply
      12. Confirm the to address is a new unique email address for the inbound email account
      13. Send the reply
      14. Fire cron
      15. Confirm the original message posted to the forum
      Show
      First, you must have a site with inbound email configured and enabled for both forums and email verification Create a new teacher in a course with an email address like myemail+something@gmail.com This is so when you reply, the email will actually come from myemail@gmail.com, and not match the user email address Create a forum, and subscribe to it Post to the forum, checking mail immediately Fire cron if not running automatically Reply to the forum email you receive with a some response Fire cron Confirm the message did not post to the forum You should receive an email saying the message could not be verified Confirm it comes from the support user (probably admin) Hit reply Confirm the to address is a new unique email address for the inbound email account Send the reply Fire cron Confirm the original message posted to the forum
    • Affected Branches:
      MOODLE_28_STABLE, MOODLE_29_STABLE
    • Pull Master Branch:
      MDL-50745-master

      Description

      When Moodle receives an inbound message from the wrong email address, the Invalid recipient handler is supposed to hold the message and contact the user indicated by the unique Moodle address.

      The message text is:

      The message "(Subject)" could not be authenticated, since it was sent from a different email address than in your user profile. For the message to be authenticated, you need to reply to this message.

      If the user received it via email (based on their messaging settings), it comes from "Do not reply" with a bogus address. Now if you hit reply it will actually fill in the reply-to address and work, but it should probably appear to come from something like the base email address configured in the inbound message settings.

      If they choose to receive the messages via pop-up, it sends a Moodle message and a few things happen:

      1. They won't receive a pop-up
      2. The messages may not be accessible at all (because the userid it comes from is -10, Moodle ignores it)
      3. If you use trickery to get to the message page, you can't reply

        Attachments

          Activity

            People

            Assignee:
            emerrill Eric Merrill
            Reporter:
            emerrill Eric Merrill
            Peer reviewer:
            Andrew Nicols
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated: