procmail
[Top] [All Lists]

Re: burst of emails and first-in first-out processing

2009-04-24 10:26:49
procmail does not process them in order: the processing is interleaved.
However, they do show up in the correct order in the mailbox. Why is
procmail interleaving the processing? Is there one procmail fork per email
message? How do I prevent that and force first-in first-out processing?

To force it at the MDA level or the LDA level, I can't answer; maybe someone else will.

To force it at the user level within procmail, use a global lockfile.

But as long as the messages show up correctly, why bother?

My procmail recipe launches commands to a queueing system and I want them to show up in the queueing system in the same order as the emails came in. Right now when there is a burst of email, they are not queued in the same order as the emails show up in the mailbox. I suspect procmail forks parallel processes and this is where the ordering is lost.

Martin
____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>