[Mailman-Users] Mails to list missing in clustered environment.

Mark Sapiro mark at msapiro.net
Fri Feb 5 19:27:01 CET 2010

Guy wrote:
>I've managed to set up Mailman now (thanks Igor and Mark for all the
>help) clustered and with the vhost patch. But I'm having an odd
>problem. I'm not seeing a pattern to this, but some messages go
>through Postfix and are delivered to mailman and then nothing. Nothing
>in the Mailman logs and the message just disappears.

What does the Postfix maillog entry say?

>Those that do go through are delivered to all members of the list and
>are archived. They are also logged as per normal.
>I was wondering whether the shared qfiles might have something to do with it?
>I've got the section below in my mm_cfg.py:
>        ('ArchRunner',     5,0,5), # messages for the archiver
>        ('BounceRunner',   5,0,5), # for processing the qfile/bounces directory
>        ('CommandRunner',  5,0,5), # commands and bounces from the outside world
>        ('IncomingRunner', 5,0,5), # posts from the outside world
>        ('NewsRunner',     5,0,5), # outgoing messages to the nntpd
>        ('OutgoingRunner', 5,0,5), # outgoing messages to the smtpd
>        ('VirginRunner',   5,0,5), # internally crafted (virgin birth) messages
>        ('RetryRunner',    5,0,5), # retry temporarily failed deliveries
>The other 2 servers I've installed so far (the 2 mail gateways) are
>5,3,5 and 5,4,5. The other 2 web servers don't have mailman installed
>Is that config correct for 5 servers?


I suspect the messages are in qfiles/in/ and not being processed by any

Assuming the method from
the entries in the QRUNNERS list are tuples of (name, count,
this_machine_number, number_of_machines)

name is the qrunner name; you're good there.

count is the total number of slices for that queue. This should be a
power of 2 multiple of number_of_machines,

this_machine_number is the number of this machine; a number from 0 to
number_of_machines - 1

number_of_machines is the number of machines on which mailmanctl and
qrunners are running

I'm not clear on what number_of_machines is in your case, but it
certainly isn't more than 3. If mailmanctl and qrunners are only
running on this one machine, its entries should be (name, 1,0,1). If
the mail gateways are also running qrunners, then this machine should
have entries (name, 3,0,3) and the others (name, 3,1,3) and (name,

With (name, 5,0,5) and the others (name, 5,3,5) and (name, 5,4,5), the
queues are partitioned into 5 slices and only slices 0, 3 and 4 are
being processed leaving 40% of the messages waiting in the in/ queue.

Mark Sapiro <mark at msapiro.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