enable spamassassin cronjob
This commit is contained in:
parent
aa63926c4b
commit
4e7e873385
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user