[Mailman-Users] Recipients missing on list post

Stefan Förster cite+mailman-users at incertum.net
Sat Jun 21 13:42:17 CEST 2008


* Mark Sapiro <mark at msapiro.net> wrote:
> Stefan Förster wrote:
>> 
>> Now, 22+26+19+158 equals 225 and not 226 - no rejected mails, no
>> NOQUEUE entries. Either Postfix or Mailman is lying. How can I find
>> out which one it is, aside from running ngrep/tcpdump?
> 
> 
> I'm not sure if this is better, but if your Python is 2.4 or later, see
> <http://wiki.list.org/x/-IA9> for a patch that can be applied to
> Mailman/Handlers/SMTPDirect.py to produce copious debugging output
> from Python's smtplib to Mailman's error log

I put thos in place, thank you. Furthermore, I've written a small
script to parse Mailman and Postfix logs once a day - the next time a
recipient is omitted I will be notified. Now I have to wait...

>> Which additional configuration data do I have to provide to aid in
>> remote debugging this?
> 
> 
> Just for curiosity, try the following:
> 
> bin/list_members listname >file1
> sort -f file1 >file2
> sort -f -u file1 >file3
> diff file2 file3

No output.

> You could also patch Mailman/Handlers/SMTPDirect.py to add
> 
>     syslog.write('smtp', 'recips this chunk = %d', len(recips))

Listing the number of recipients that the SMTP handler gets is a good
idea, I've added that one, too.

I will report my findings the next time I run into this issue.


Ciao
Stefan
-- 
Stefan Förster     http://www.incertum.net/     Public Key: 0xBBE2A9E9


More information about the Mailman-Users mailing list