Fixes #79 and spamassassin default configuration

This commit is contained in:
Thomas VIAL 2016-02-17 22:51:57 +01:00
parent f77e2e9ffa
commit 24e3b1286e

View file

@ -182,10 +182,9 @@ echo "Creating /etc/mailname"
echo $(hostname -d) > /etc/mailname
echo "Configuring Spamassassin"
echo "required_hits 5.0" >> /etc/mail/spamassassin/local.cf
echo "report_safe 0" >> /etc/mail/spamassassin/local.cf
echo "required_score 5" >> /etc/mail/spamassassin/local.cf
echo "rewrite_header Subject ***SPAM***" >> /etc/mail/spamassassin/local.cf
echo "required_score 5" >> /etc/spamassassin/local.cf
echo "report_safe 0" >> /etc/spamassassin/local.cf
echo "rewrite_header Subject ***SPAM***" >> /etc/spamassassin/local.cf
cp /tmp/spamassassin/rules.cf /etc/spamassassin/