Harald Meland wrote:
[Michael Quigley]
----- The following addresses had permanent fatal errors ----- "|/d0/mailman/mail/wrapper post webmaster" (expanded from: webmaster@goingv.com)
----- Transcript of session follows ----- 554 "|/d0/mailman/mail/wrapper post webmaster"... unknown mailer error 1
This indicates that the "wrapper" binary or something exec()d by it, exit()ed with a status 1 (indicating that something failed).
The first thing to suspect is that "wrapper" is being run under the wrong gid. If that is the case, it tries logging this to syslog. The fix is either to reconfigure mailman with the "--with-mail-gid" option (and then rebuild and reinstall), or else configure your MTA to run the pipe under the correct gid.
This brings up an interesting idea: have the wrapper use different exit codes based on why it punted. That way, a simple examination of the maillog will tell you what happened.
Cheers, -g
-- Greg Stein, http://www.lyra.org/
"GS" == Greg Stein gstein@lyra.org writes:
GS> This brings up an interesting idea: have the wrapper use
GS> different exit codes based on why it punted. That way, a
GS> simple examination of the maillog will tell you what happened.
Good suggestion Greg.
#define GID_MISMATCH 2 #define SETREGID_FAILURE 3 #define EXECVE_FAILURE 4 #define MAIL_USAGE_ERROR 5 #define MAIL_ILLEGAL_COMMAND 6
-Barry
participants (2)
-
Barry A. Warsaw
-
Greg Stein