[Mailman-Users] (re-post) smtp failures, please help
Ricardo Kleemann
ricardo at americasnet.com
Thu Jun 2 05:29:38 CEST 2005
Awesome, this below is exactly what I was looking for; I'll add that code to
try and get more debug from the smtp transaction.
Thanks
Ricardo
>
> If you look in Mailman/Handlers/SMTPDirect.py within the definition of
> bulkdeliver() you'll see
>
> except smtplib.SMTPResponseException, e:
> syslog('smtp-failure', 'SMTP session failure: %s, %s, msgid:
> %s',
> e.smtp_code, e.smtp_error, msgid)
>
>
> You could add following that something like
>
> syslog('smtp-failure', 'Args\n envsender->%s
> \n recips->%s\n msgtext->%s', envsender, recips, msgtext)
>
>
> to try to see what is actually being given to the sendmail method that
> fails.
>
> --
> Mark Sapiro <msapiro at value.net> The highway is for gamblers,
> San Francisco Bay Area, California better use your sense - B. Dylan
>
More information about the Mailman-Users
mailing list