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

Aaron K. Moore amoore at DEKALBMEMORIAL.COM
Thu Aug 4 14:22:26 IST 2005

Maybe Matt isn't running MailScanner as root.

Aaron Kent Moore
Information Technology Services
DeKalb Memorial Hospital, Inc.
Auburn, IN
E-mail:  amoore at

Julian Field wrote:
> 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 with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki ( and
the archives (

Support MailScanner development - buy the book off the website!

More information about the MailScanner mailing list