mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
Fixes #79 and spamassassin default configuration
This commit is contained in:
parent
f77e2e9ffa
commit
24e3b1286e
|
@ -182,10 +182,9 @@ echo "Creating /etc/mailname"
|
||||||
echo $(hostname -d) > /etc/mailname
|
echo $(hostname -d) > /etc/mailname
|
||||||
|
|
||||||
echo "Configuring Spamassassin"
|
echo "Configuring Spamassassin"
|
||||||
echo "required_hits 5.0" >> /etc/mail/spamassassin/local.cf
|
echo "required_score 5" >> /etc/spamassassin/local.cf
|
||||||
echo "report_safe 0" >> /etc/mail/spamassassin/local.cf
|
echo "report_safe 0" >> /etc/spamassassin/local.cf
|
||||||
echo "required_score 5" >> /etc/mail/spamassassin/local.cf
|
echo "rewrite_header Subject ***SPAM***" >> /etc/spamassassin/local.cf
|
||||||
echo "rewrite_header Subject ***SPAM***" >> /etc/mail/spamassassin/local.cf
|
|
||||||
cp /tmp/spamassassin/rules.cf /etc/spamassassin/
|
cp /tmp/spamassassin/rules.cf /etc/spamassassin/
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue