SA Bugzilla – Attachment #967: suggested patch, adds a 0700 parameter for bug #1905
my $spam_conf_dir = $dir . '/.spamassassin'; #needed for AWL, Bayes, etc.
if ( ! -d $spam_conf_dir )
{
if ( mkdir $spam_conf_dir )
if ( mkdir $spam_conf_dir, 0700 )
logmsg "info: created $spam_conf_dir for $username.";
}