Attn Julian - broken bayes_file_mode defaults in spam.assassin.prefs.conf

Julian Field MailScanner at ecs.soton.ac.uk
Thu Aug 4 09:07:44 IST 2005


I have just corrected this setting, so it will be in the next release.
Why was it apparently working okay on everyone's systems?

On 4 Aug 2005, at 00:07, Matt Kettler wrote:

> Julian, I noticed recently that your spam.assassin.prefs.conf sets
>
> bayes_file_mode    0660
>
> That's broken. You need 0770 as sometimes the mode is used in  
> creating temp
> directories. (This is also why SA defaults to 0700, so check for  
> yourself)
>
> The normal files won't end up with execute bits from this, as the  
> above mode is
> really a mask. SA will mask maximum sensible permissions, 0666 for  
> file or 777
> for directory, against the bayes_file mode. Thus, for bayes_toks SA  
> will mask
> 666 against 770 and end up with 660.
>
> Can you fix that? Or has it already been fixed in a newer version  
> than I'm running?
>
> ------------------------ 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!
>

-- 
Julian Field
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store
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