CRM-3637 Opt-outs land in the INBOX but then get put into JUNK after runnning the imap2soap script

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.1
    • Fix Version/s: 2.1
    • Component/s: CiviMail
    • Labels:
      None

      Description

      my usual test accounts for seeing about opt-out no longer work
      For example
      Test Account Send Op-out
      Check the civimail box and notice the reply is in the INBOX
      run the imap2soap.conf
      and now check the Email box and it is moved to JUNK and the person is not Processed
      ??
      Do I need a new Imap2soap script?
      Here are the commands
      imap2soap.pl -q -w 1 -l 4 -L 1 /var/www/web42/user/web42_civimail/imap2soap.conf

        Attachments

          Activity

          [CRM-3637] Opt-outs land in the INBOX but then get put into JUNK after runnning the imap2soap script
          Alfred Nutile added a comment -

          I will go try it on the Sandbox but I do not think it really emails?

          Alfred Nutile added a comment -

          Since I am using imap2.soap and that is not an official solution this could be closed and I will post
          http://wiki.civicrm.org/confluence/display/CRMDOC/Alternative+configuration+with+imap2soap.pl+-+no+Amavis+or+root+access?showComments=true&showCommentArea=true
          Instead.
          Sorry about that.

          Donald A. Lobo added a comment -


          imap2soap is community supported

          Alfred Nutile added a comment -

          I did change the script to work.
          with the shortend reply emails from unsubscribe/optout to u/o the script just had to have 3 places changed
          Line 303
          unless ($to =~ m/^\s*<*"?(o|u|bounce|confirm|optout|reply|subscribe|unsubscribe|resubscribe)/i)

          Line 415
          elsif ($dest eq 'u') # or an unsubscription

          Line 490
          elsif ($dest eq 'o') # or an opt-out

          ---untested patch file below------------
          — imap2soapnew 2008-09-29 10:38:23.000000000 -0400
          +++ imap2soap.pl2.1 2008-09-29 11:00:24.000000000 -0400
          @@ -300,7 +300,7 @@
          junk($imap, $msg, "No To: header in message $n");
          next;
          }

          • unless ($to =~ m/^\s*<*"?(bounce|confirm|optout|reply|subscribe|unsubscribe|resubscribe)/i)
            + unless ($to =~ m/^\s*<*"?(o|u|bounce|confirm|optout|reply|subscribe|unsubscribe|resubscribe)/i) { junk($imap, $msg, "Not a CiviMail message $n -- To: $to"); next; @@ -412,7 +412,7 @@ or fatal "Could not move to Failed"; }

            }

          • elsif ($dest eq 'unsubscribe') # or an unsubscription
            + elsif ($dest eq 'u') # or an unsubscription
            Unknown macro: { while (1) { $result = @@ -487,7 +487,7 @@ or fatal "Could not move to Failed"; } }
          • elsif ($dest eq 'optOut') # or an opt-out
            + elsif ($dest eq 'o') # or an opt-out
            {
            while (1) {
            $result =
          Michał Mach added a comment -

          Mass closing "In verification" issues which have resolutions different than "Fixed/Resolved" - they don't show up in verification filters anyway.

            People

            • Assignee:
              Michał Mach
              Reporter:
              Alfred Nutile

              Dates

              • Created:
                Updated:
                Resolved: