On Sunday 29 Feb 2004 19:40, Ricardo Castanho de Oliveira Freitas wrote:
> Hi!
>
> I've been using spamassassin for a while, but.... I must have missed some
> detail on the config process!
>
> It's configured system wide. And as I use procmail and kmail, the
> spamassassin insist on putting the lock file at ~/Mail/ (kmail directory).
>
> How can I change this? I have set two directories for spamassassin....
> ~/.spamassassin (with the dot) and ~/spamassassin (no dot).
>
> The user_prefs is read correct as well as my sa-learm --spam/--ham and
> white_list.
>
> Any help?
>
> []s Ricardo Castanho


It is not spamassassin setting the lock file. it is procmail

Any procmail recipe that starts with 
:0

will not create a lock file. You do not need a lock file when piping your 
mails through spamassassin. The lock file is there simply to stop procmail 
and kmail trying to use a mail spool file at the same time. You only need to 
set it when actually writing to a mail spool file.

A procmail recipe starting with 
:0 :
will use the default lockfile.
The default lockfile name will be the same as the mail folder used with a 
leading '.'

A procmail recipe in the form
:0 : lockfilename
will use the named lock file.

Hope that is clearer

derek

-- 
www.jennings.homelinux.net
http://twiki.mdklinuxfaq.org

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to