[Mailman-Users] Warning being treated like a bounce

Paul Tomblin ptomblin at xcski.com
Tue Apr 20 15:31:13 CEST 2004


I have a user on several of my lists whose ISP (echonyc.com) gets its
email from panix.com, and frequently refuses email from panix.com for
hours at a time, which causes Panix to send me these uselss "could not
send email for 4 hours" warnings, which Mailman treats like a bounce.
When this happens several days in a row, like it often does, she gets
removed from the lists, and she doesn't like that, and neither do I.
Panix refuses to stop sending these warnings, echonyc.com refuses to fix
whatever is broken in their mail servers, and she refuses to change to an
ISP that has a clue.  So I was hoping somebody who knows Python could give
me a hint on how to make the bounce processor not treat these warnings as
bounces.

So far I've figured that the place to make the fix is probably in
Mailman/Bouncers/Postfix.py, and I probably want to key off that "THIS IS
A WARNING ONLY" banner or the Will-Retry-Until header, but I don't know
exactly what to do.  Here's a bounce action notification:

----- Forwarded message from mailman at xcski.com -----

Subject: Bounce action notification
From: mailman at xcski.com
To: XXXXXXX-owner at xcski.com
Date: Sat, 17 Apr 2004 16:36:23 -0400
X-Spam-Status: No, hits=-4.5 required=6.0 tests=AWL,BAYES_00,NO_REAL_NAME 
	autolearn=no version=2.63

This is a Mailman mailing list bounce action notice:

    List:       XXXXXXX
    Member:     XXXXXXX at echonyc.com
    Action:     Subscription disabled.
    Reason:     Excessive or fatal bounces.
    


The triggering bounce notice is attached below.

Questions? Contact the Mailman site administrator at
mailman at xcski.com.

Date: Sat, 17 Apr 2004 16:36:49 -0400 (EDT)
From: MAILER-DAEMON at panix.com (Mail Delivery System)
Subject: Delayed Mail (still being retried)
To: XXXXXXX-bounces at xcski.com

Content-Description: Notification
This is the Postfix program at host l2mail1.panix.com.

####################################################################
# THIS IS A WARNING ONLY.  YOU DO NOT NEED TO RESEND YOUR MESSAGE. #
####################################################################

Your message could not be delivered for 4.0 hours.
It will be retried until it is 5.0 days old.

For further assistance, please send mail to <postmaster>

			The Postfix program

<XXXXXXX at echonyc.com>: connect to echonyc.com[198.67.15.2]: Connection refused

Content-Description: Delivery error report
Reporting-MTA: dns; l2mail1.panix.com
Arrival-Date: Sat, 17 Apr 2004 10:05:49 -0400 (EDT)

Final-Recipient: rfc822; XXXXXXX at echonyc.com
Action: delayed
Status: 4.0.0
Diagnostic-Code: X-Postfix; connect to echonyc.com[198.67.15.2]: Connection
    refused
Will-Retry-Until: Thu, 22 Apr 2004 10:05:49 -0400 (EDT)

[snip]
----- End forwarded message -----

-- 
Paul Tomblin <ptomblin at xcski.com> http://xcski.com/blogs/pt/
I call these twits pseudo-literate.  That is, they can read but won't.
              -- Joe Zeff




More information about the Mailman-Users mailing list