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 <[EMAIL PROTECTED]>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

------------------------------------------------------
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&amp;file=faq01.027.htp

Reply via email to