enable spamassassin cronjob

This commit is contained in:
Luke Smith 2023-03-02 10:07:04 -05:00
parent aa63926c4b
commit 4e7e873385
No known key found for this signature in database
GPG Key ID: 4C50B54A911F6252

View File

@ -307,6 +307,9 @@ enabled = true
[dovecot]
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
printf "Restarting %s..." "$x"
service "$x" restart && printf " ...done\\n"