Details
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.
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