CRM-9855 CiviMail sets X-header "X-CiviMail-Bounce" on outbound bulk email, but does not use it to identify an inbound bounce

    Details

    • Type: Improvement
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.1.0, 4.1.1
    • Fix Version/s: 4.4.0
    • Component/s: CiviMail
    • Labels:

      Description

      Given my particular email system, inbound bounces are not identified as such by EmailProcessor.php. When outbound bulk email is sent from Mailing.php, an X-header (X-CiviMail-Bounce) is already added to each message. This patch enhances EmailProcessor.php to look for this X-header to identify inbound bounces.

        Attachments

          Activity

          [CRM-9855] CiviMail sets X-header "X-CiviMail-Bounce" on outbound bulk email, but does not use it to identify an inbound bounce
          xavier dutoit added a comment -

          The first regex has a different aim and we should keep both (the Return path one aims at finding it in softbouces, that tend to take out the X-header).

          IMO, it should test both regexes.

          @Michael,

          Could you amend your patch so it doesn't miss some soft bounces?

          does your mail server supports + notation or are you using a catchall?

          And do you have already some results on production? how many bounces does it catch/miss?

          I added the X- header following what we did on phplist, and it worked ok, but not as well as VERP if I recall

            People

            • Assignee:
              Donald A. Lobo
              Reporter:
              Michael Labriola

              Dates

              • Created:
                Updated:
                Resolved: