[Mailman-Users] (re-post) smtp failures, please help
Mark Sapiro
msapiro at value.net
Thu Jun 2 05:49:27 CEST 2005
Ricardo Kleemann wrote:
>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.
<snip>
>>
>> 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.
Ooops... can't break a single quoted string across lines. Make that
syslog('smtp-failure', 'Args\n envsender->%s\n recips->%s\n
msgtext->%s',
envsender, recips, msgtext)
(and watch out for the wrapped line, and be sure the syslog is intented
to the same level as the preceding one.)
--
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