[ mailman-Patches-644797 ] Revised mailer exit status
Patches item #644797, was opened at 2002-11-27 10:56 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: Barry A. Warsaw (bwarsaw) Date: 2002-12-23 22: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 06: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 10: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
participants (1)
-
noreply@sourceforge.net