[Mailman-Users] Procmail Lockfiles before Mailman
DJ Art
djart at linux.gr
Wed Jun 25 00:44:22 CEST 2003
Hello,
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):
/etc/mail/aliases:
mylist: "/usr/bin/procmail -m MAILMAN=mylist /etc/procmailrc"
/etc/procmailrc:
:0fw
| /usr/bin/spamc -myoptions
:0
* ^TO_.*@lists.mydomain
|/var/lib/mailman/mail/wrapper post ${MAILMAN}
Now, check out these two:
http://www.python.org/cgi-bin/faqw-mm.py?req=all#4.23
http://www.python.org/cgi-bin/faqw-mm.py?req=all#4.15
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:
:0
* ^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