bayes.lock files haunting me...

Julian Field MailScanner at ecs.soton.ac.uk
Fri Jun 3 21:54:04 IST 2005


    [ The following text is in the "ISO-8859-1" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

Why are you rebuilding the Bayes db from MailScanner and from cron? You 
should do either 1 or the other. I would recommend (of course) doing it 
from MailScanner.conf, so just comment out your crontab entry.

Kevin Miller wrote:

>I got the bayes.lock file blues again.  Read the MAQ, read the FAQ, read the
>book.  I must be slow.
>
>Sendmail
>Suse 9.3
>spamassassin 3.03
>MailScanner 4.41.3
>
>spam.assassin.prefs.conf
>	bayes_auto_expire 0
>
>MailScanner.conf
>	Rebuild Bayes Every = 86400
>	Wait During Bayes Build = yes
>	Lock Type = posix
>
>Root's crontab:
>	0  5 * * * /usr/bin/sa-learn --force-expire > /dev/null 2>&1
>
>I don't stop MailScanner to run the force-expire.
>
>I don't get any bayes_expiry files anymore, but every day I get a couple
>bayes.lock* files.  The timestamp is a couple minutes apart up to about 10
>minutes apart and they all fall w/in a half hour up to about an hour and a
>half.  I think around the same time of day that I last started MailScanner,
>which makes me suspect the rebuild process.  In this case the times range
>from 9:04 up to 9:48 am.  
>
>Should I set "Rebuild Bayes Every = 0" and the Wait back to no?  I would
>have thought that telling it to wait would have solved the problem.
>
>Thanks...
>
>...Kevin
>  
>

-- 
Julian Field
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store
Professional Support Services at www.MailScanner.biz
MailScanner thanks transtec Computers for their support

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki (http://wiki.mailscanner.info/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!




More information about the MailScanner mailing list