From 24e3b1286ec7e83d5deb9c72747ec4ba7a52ed50 Mon Sep 17 00:00:00 2001 From: Thomas VIAL Date: Wed, 17 Feb 2016 22:51:57 +0100 Subject: [PATCH] Fixes #79 and spamassassin default configuration --- start-mailserver.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/start-mailserver.sh b/start-mailserver.sh index f52cd5cb..359ef8b5 100644 --- a/start-mailserver.sh +++ b/start-mailserver.sh @@ -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/