[Mailman-Users] Procmail Lockfiles before Mailman

DJ Art djart at linux.gr
Wed Jun 25 00:44:22 CEST 2003


I have set up Procmail, so that it fiters all the incoming mails, pipes 
them to spamassassin and then feeds them to the mailman wrapper.

Something like this (it's also described in the python.org FAQ):


mylist:     "/usr/bin/procmail -m MAILMAN=mylist /etc/procmailrc"


| /usr/bin/spamc -myoptions

* ^TO_.*@lists.mydomain
 |/var/lib/mailman/mail/wrapper post ${MAILMAN}

Now, check out these two:


In the first case, the procmailrc rule uses a lockfile, but in the 
second case, it doesn't.

I am 90% sure that the rule:

* ^TO_.*@lists.mydomain
 |/var/lib/mailman/mail/wrapper post ${MAILMAN}

doesn't need any procmail lockfile because wrapper knows what to do when 
two or more e-mails arrive simultaneously (at exactly the same time). 
Am I right ??

I am only 10% not sure because one of the FAQ examples uses a procmail 
lockfile. I think it's wrong.

Kyritsis Athanasios <djart at hellug.gr>
Studying Electrical & Computer Engineering
@ Univ. of Patras, Greece

More information about the Mailman-Users mailing list