Re: [Mailman-Developers] subscribers being ignored

[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 Meland wrote:
[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.
I didn't see anything like that there.
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.
Ok, I put that in there, and debugging shows up in other places, but not in that error log.
Anyway, I had changed one of the user's settings to digest, so he would at least get the list messages. Then when I was going to do the above test, I changed him back to regular to see what happened, when he showed up in the recipient list. I did the same for another user that was being ignored, (change to digest and back to regular) and now he is getting mail too. I don't know what was going on there, but it appeared to be reproducible. Earlier, I had removed and re-added them to the list, but that did nothing.
Thanks for the help, Harald. I don't think that was a solution, but I appreciate your efforts.
Jerry A.
participants (2)
-
Harald Meland
-
Jerry Adlersfluegel