|
@@ -307,6 +307,9 @@ enabled = true |
|
|
[dovecot] |
|
|
[dovecot] |
|
|
enabled = true" > /etc/fail2ban/jail.d/emailwiz.local |
|
|
enabled = true" > /etc/fail2ban/jail.d/emailwiz.local |
|
|
|
|
|
|
|
|
|
|
|
# Enable SpamAssassin update cronjob. |
|
|
|
|
|
sed -i "s|^CRON=0|CRON=1|" /etc/default/spamassassin |
|
|
|
|
|
|
|
|
for x in spamassassin opendkim dovecot postfix fail2ban; do |
|
|
for x in spamassassin opendkim dovecot postfix fail2ban; do |
|
|
printf "Restarting %s..." "$x" |
|
|
printf "Restarting %s..." "$x" |
|
|
service "$x" restart && printf " ...done\\n" |
|
|
service "$x" restart && printf " ...done\\n" |
|
|