[solved] SA bayes not working / autolearn inactive?

Daniel Maher daniel.maher at ubisoft.com
Thu Aug 24 19:08:08 IST 2006


> -----Original Message-----
> From: mailscanner-bounces at lists.mailscanner.info [mailto:mailscanner-
> bounces at lists.mailscanner.info] On Behalf Of Martin
> Sent: August 24, 2006 7:26 AM
> To: mailscanner at lists.mailscanner.info
> Subject: Re: [solved] SA bayes not working / autolearn inactive?
> 
> Daniel,
> 
> Since i ran over this topic, i want to make sure i have the correct
> permissions aswell. I have loads of .expire files that won't disappear.
> Made some changes yesterday to disable the auto-expiring within SA.
> 
> Can you tell me the correct permissions for the bayes directory? 0770?
> 
> Sample output from my directory:
> 
> # ls -al /var/spool/MailScanner/spamassassin/
> 
> total 776400
> drwxrwx--- 2 postfix postfix   12288 2006-08-24 13:15 .
> drwxr-xr-x 6 postfix postfix    4096 2006-04-24 17:07 ..
> -rwxrwx--- 1 postfix postfix  671744 2006-08-24 13:14 auto-whitelist
> -rwxrwx--- 1 postfix postfix  163840 2006-08-24 13:14 bayes_seen
> -rwxrwx--- 1 postfix postfix 2613248 2006-08-24 13:15 bayes_toks
> -rwxrwx--- 1 postfix postfix 2514944 2006-07-21 13:56
> bayes_toks.expire10000
> -rwxrwx--- 1 postfix postfix 2658304 2006-07-25 18:17
> bayes_toks.expire1004
> -rwxrwx--- 1 postfix postfix 2560000 2006-07-21 14:03
> bayes_toks.expire10186
> * snip *
> 
> Thank you
> 
> / Martin


Hi,

This is what I have:

-rw-------    1 postfix  postfix        30 Aug 24 18:04 bayes.mutex
-rw-------    1 postfix  postfix  137818112 Aug 24 18:04 bayes_seen
-rw-r-----    1 postfix  postfix  12267520 Aug 24 18:02 bayes_toks

The critical thing isn't the file perms themselves, but the perms on the directory that they're located in.  I have that directory as 0770.

As for those expire files - I just have a cron job that rm's them twice a day. :P

--
  _
 °v°  Daniel Maher
/(_)\ Administrateur Système Unix
 ^ ^  Unix System Administrator
 
Sentio aliquos togatos contra me conspirare.


More information about the MailScanner mailing list