On Fri, Jul 05, 2002 at 06:54:36PM -0400, Joseph Barillari wrote: > > I run spamassassin as a procmail filter. It's a fine program, except > when I have a bunch of messages waiting. In that case, here's what > happens. > > 1. I type `fetchmail'. Fetchmail starts downloading ~50 messages. [snip]
The first time I did this to myself (by connecting the network card of a machine I had accidentally stranded for a week while it ran daily cronjobs which bounced, notified the sender, postmaster, etc). Right after that I added a lockfile to my spamassassin rule to force them to serialize: :0fw:$PMDIR/spamassassin.lock | spamassassin -P -F 0 I use it as a filter, hence the f flag, but you can use a lockfile with a delivery rule as well. If you have multiple points where you can run spamassassin from your procmailrc, just use the same lockfile on each. -- Ben Jackson <[EMAIL PROTECTED]> http://www.ben.com/ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek We have stuff for geeks like you. http://thinkgeek.com/sf _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk