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 [EMAIL PROTECTED] -----

Subject: Bounce action notification
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
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:     [EMAIL PROTECTED]
    Action:     Subscription disabled.
    Reason:     Excessive or fatal bounces.
    


The triggering bounce notice is attached below.

Questions? Contact the Mailman site administrator at
[EMAIL PROTECTED]

Date: Sat, 17 Apr 2004 16:36:49 -0400 (EDT)
From: [EMAIL PROTECTED] (Mail Delivery System)
Subject: Delayed Mail (still being retried)
To: [EMAIL PROTECTED]

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

<[EMAIL PROTECTED]>: 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; [EMAIL PROTECTED]
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 <[EMAIL PROTECTED]> http://xcski.com/blogs/pt/
I call these twits pseudo-literate.  That is, they can read but won't.
              -- Joe Zeff

------------------------------------------------------
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

Reply via email to