Commit 56591abb authored by Joshua Tauberer's avatar Joshua Tauberer

merge #766 - Configure bayes_file_mode in spamassassin/local.cf

parents 083e3cf7 313a86d0
...@@ -4,6 +4,10 @@ CHANGELOG ...@@ -4,6 +4,10 @@ CHANGELOG
In Development In Development
-------------- --------------
Mail:
* Fixed a long-standing issue with training the spam filter not working (because of a file permissions issue).
Control panel: Control panel:
* Munin system monitoring graphs are now zoomable. * Munin system monitoring graphs are now zoomable.
......
...@@ -78,9 +78,13 @@ tools/editconf.py /etc/spamassassin/local.cf -s \ ...@@ -78,9 +78,13 @@ tools/editconf.py /etc/spamassassin/local.cf -s \
# * Writable by the debian-spamd user, which runs /etc/cron.daily/spamassassin. # * Writable by the debian-spamd user, which runs /etc/cron.daily/spamassassin.
# #
# We'll have these files owned by spampd and grant access to the other two processes. # We'll have these files owned by spampd and grant access to the other two processes.
#
# Spamassassin will change the access rights back to the defaults, so we must also configure
# the filemode in the config file.
tools/editconf.py /etc/spamassassin/local.cf -s \ tools/editconf.py /etc/spamassassin/local.cf -s \
bayes_path=$STORAGE_ROOT/mail/spamassassin/bayes bayes_path=$STORAGE_ROOT/mail/spamassassin/bayes \
bayes_file_mode=0660
mkdir -p $STORAGE_ROOT/mail/spamassassin mkdir -p $STORAGE_ROOT/mail/spamassassin
chown -R spampd:spampd $STORAGE_ROOT/mail/spamassassin chown -R spampd:spampd $STORAGE_ROOT/mail/spamassassin
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment