8 Feb
1999
8 Feb
'99
8:14 a.m.
[Jerry Adlersfluegel]
How can I see exactly who a message is being (or was) sent to by mailman?
Sendmail should be logging this, I think. Have a look in your syslog.
Barring that, I guess you could instrument Mailman like this:
Open ~mailman/Mailman/Utils.py in your favorite editor. Look for this piece of code, in the TrySMTPDelivery() function:
try:
conn = smtplib.SMTP(mm_cfg.SMTPHOST)
# Do the EHLO/HELO manually so we can check for DSN support
Just under the "conn = ..." line, insert
conn.set_debuglevel(1)
to enable debugging. Save the file, and send a message to the problematic list. Debugging output (i.e. a transcript of the entire SMTP dialogue) should now be in ~mailman/logs/error. Remember to remove the debugging line again afterwards.
Harald