[ mailman-Patches-644797 ] Revised mailer exit status

SourceForge.net noreply at sourceforge.net
Tue Sep 30 16:39:34 EDT 2003


Patches item #644797, was opened at 2002-11-27 15:56
Message generated for change (Comment added) made by ppsys
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=300103&aid=644797&group_id=103

Category: mail delivery
Group: Mailman 2.2 / 3.0
Status: Open
Resolution: None
Priority: 5
Submitted By: Richard Barrett (ppsys)
Assigned to: Nobody/Anonymous (nobody)
Summary: Revised mailer exit status

Initial Comment:
This patch modifies the Python scripts in $prefix/scripts/ 

that are used by the MTA to deliver incoming mail to 

Mailman.



The exit statuses now returned are drawn from the mail 

related values defined in /usr/include/sysexits.h



This allows the MTA to return more meaningful 

responses to the sender when rejecting mail. It also 

allows a more sympathetic treatment of mail in the event 

that the Python script suffers an unexpected exception 

when handling incoming email.



Such exceptions are now logged to MM's 

$prefix/logs/erro in all but the most extreme error cases 

and the internal information about the Python exception 

is not passed into the response to the sender.



There are two patch versions; one for MM 2.0.13 and the 

other for MM 2.1b5



in the MM build directory say:



patch -p1 < patch-filename

----------------------------------------------------------------------

>Comment By: Richard Barrett (ppsys)
Date: 2003-09-30 20:39

Message:
Logged In: YES 
user_id=75166

exitstatus-2.1.3-0.1.patch is a MM 2.1.3 compatible version of the 

patch

----------------------------------------------------------------------

Comment By: Richard Barrett (ppsys)
Date: 2003-04-28 14:40

Message:
Logged In: YES 
user_id=75166

exitstatus-2.1.2-0.1.patch is a revision of the patch for MM 

2.1.2 compatibility

----------------------------------------------------------------------

Comment By: Richard Barrett (ppsys)
Date: 2003-02-10 11:42

Message:
Logged In: YES 
user_id=75166

exitstatus-2.1-0.1.patch is alos applicable to MM release 

2.1.1



----------------------------------------------------------------------

Comment By: Richard Barrett (ppsys)
Date: 2003-01-02 16:30

Message:
Logged In: YES 
user_id=75166

exitstatus-2.1-0.1.patch is a revision of the patch for MM 2.1 

compatibility

----------------------------------------------------------------------

Comment By: Barry A. Warsaw (bwarsaw)
Date: 2002-12-24 03:29

Message:
Logged In: YES 
user_id=12800

Sorry Richard, I have to defer this one.  It's too much for

me to think about for MM2.1.

----------------------------------------------------------------------

Comment By: Richard Barrett (ppsys)
Date: 2002-12-11 11:58

Message:
Logged In: YES 
user_id=75166

exitstatus-2.1b6-0.1.patch is a revision of the patch for MM 

2.1b6 compatibility

----------------------------------------------------------------------

Comment By: Richard Barrett (ppsys)
Date: 2002-11-27 15:58

Message:
Logged In: YES 
user_id=75166

version for MM 2.1b5

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=300103&aid=644797&group_id=103



More information about the Mailman-coders mailing list