[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: spamassassin lock file in procmail?



Monique Y. Herman said on Tue, Oct 28, 2003 at 10:45:02AM -0700:
> Procmail's documentation suggests that you only need a lockfile if the
> rule delivers directly into a file, because applications should take
> care of file locking on their own.  (Read this last night; can't recall
> where.)
> 
> Spamassassin's INSTALL doc
> http://www.spamassassin.org/full/2.6x/dist/INSTALL
> suggests the following rule:
> 
> :0fw: spamassassin.lock
> | /home/user/sausr/bin/spamassassin
> 
> Anyone have opinions on whether the lock file is necessary?

Well, if you're going to run spamassassin instead of spamd, then it's probably
a good idea; it will prevent more than one copy of SA running at a time, which
will keep it from crushing your mailserver.

SA is _really_ slow and resource intensive when run standalone; I'd highly
recommend setting up spamd and spamc instead, and then not worry about the
lock.

M

Attachment: pgpI2M6pwKn0I.pgp
Description: PGP signature


Reply to: