diff options
author | Luke Smith <luke@lukesmith.xyz> | 2023-03-02 10:07:04 -0500 |
---|---|---|
committer | Luke Smith <luke@lukesmith.xyz> | 2023-03-02 10:07:04 -0500 |
commit | 4e7e87338535d2a347bb2a1a753f003eebbdc911 (patch) | |
tree | b8ef35afcceeb81638a23c90003f67d6b36c27c1 /emailwiz.sh | |
parent | aa63926c4ba50c8ac4cedf8e18f873323116504b (diff) |
enable spamassassin cronjob
Diffstat (limited to 'emailwiz.sh')
-rw-r--r-- | emailwiz.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/emailwiz.sh b/emailwiz.sh index ef8d283..01257a6 100644 --- a/emailwiz.sh +++ b/emailwiz.sh @@ -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" |