[Mailman-Developers] Fwd: Fwd: How To change queue process method
mark at msapiro.net
Tue Jun 10 06:52:25 CEST 2008
Maickel Pandie wrote:
>My MTA is postfix
>Mark Sapiro wrote: "You could also just stop Mailman, deliver a lot of
>mail and then start
>Thanks I will try that
Also, in the Mailman distribution there is tests/fblast.py which
delivers lots of mail to Mailman.
>1. am I right that all of new email who comes to the server are queued
>in incoming queue by incomingrunner and the step is like this?
>"new email"----->Incoming queue----->Outgoing queue----> MTA queue
> ^ ^ ^
> Incomingrunner Outgoingrunner ?
No. New mail is piped by the MTA to the mail/mailman wrapper which
invokes one of the scripts in the scripts directory to put the message
in the appropriate queue. Mail to the list posting address invokes the
scripts/post script which queues the mail in the 'in' queue.
IncomingRunner processes the 'in' queue and in the normal case will
queue a message to be archived in the 'archive' queue and a message to
be delivered in the 'out' queue. ArchRunner processes the 'archive'
queue and adds messages to the archive. OutgoingRunner processes the
'out' queue and delivers messages via SMTP to the MTA.
>2. in what queue to most posibility a long email queue will happen if
>I do what Mark Sapiro suggested?
Messages will be queued in the 'in' queue and will remain there until
you start IncomingRunner.
>3. can I maintain what email is thrown first between Incoming queue to
It is strictly FIFO.
>4. what runner should I edit if I want to make number 3 happen?
As mentioned before in this thread
you would not edit a qrunner. You would edit the Switchboard.files()
method in module Mailman/Queue/Switchboard.py to return the files in
the order you want.
>5. am I right that switchboard.py is always use when there are email
>moving from one queue to another queue to maintain FIFO in all of
>queue in mailman so if I want to change the FIFO I just have to edit
Yes. The Switchboard class does all queueing and dequeueing and it is
the files() method which returns a list of files in a queue in the
order that they will be processed.
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-Developers