make Postfix bounce detection work with newer postfix

Bug #558021 reported by jhenstridge
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNU Mailman
Fix Released
Undecided
Unassigned

Bug Description

Mailman does not recognise bounce messages from newer
versions of Postfix. The content-type header on bounce
messages looks like this:

Content-Type: multipart/report;
report-type=delivery-status;
        boundary="2892E4C0CF.1042189077/quoll.daa.com.au"

Mailman only looks for bounce messages with type
multipart/mixed, so skips them.

The simple solution is to check for both content types
(which should allow mailman to continue to work with
old postfixes.

The attached patch is against 2.0.x (haven't upgraded
to MM2.1 yet), but the code is almost identical for 2.1
so the patch should be easy to apply.

Revision history for this message
jhenstridge (jhenstridge) wrote :

Logged In: YES
user_id=146903

Hmm. It seems to have lost the attachment

Revision history for this message
jhenstridge (jhenstridge) wrote :

The file postfix-bouncer.patch was added: fix bounce detection

Revision history for this message
jhenstridge (jhenstridge) wrote :

Logged In: YES
user_id=146903

Not sure if this code is applicable to MM2.1. I guess the
generic DSN bounce detection handles it.

If there is another MM2.0.x bug fix release, it may be nice
to apply.

Revision history for this message
tkikuchi (tkikuchi-users) wrote :

Logged In: YES
user_id=67709

fixed in the CVS (Postfix.py 2.6.2.2)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.