Skip to content
This repository has been archived by the owner on Jan 27, 2024. It is now read-only.

Commit

Permalink
Fix missing local.cf and mailscanner.cf
Browse files Browse the repository at this point in the history
  • Loading branch information
shawniverson committed May 18, 2015
1 parent aba46cf commit e9543b3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions update/versions/EFA-Version-Upgrade-3.0.0.8-beta
Original file line number Diff line number Diff line change
Expand Up @@ -350,10 +350,9 @@ function update-spamassassin(){
/usr/local/bin/sa-compile

# Restore original mailscanner.cf and local.cf
rm -f /etc/mail/spamassassin/mailscanner.cf
cp $BACKUPDIR/spamassassin-etc/mailscanner.cf /etc/mail/spamassassin/mailscanner.cf
sudo ln -s /etc/MailScanner/spam.assassin.prefs.conf /etc/mail/spamassassin/mailscanner.cf
rm -f /etc/mail/spamassassin/local.cf
cp $BACKUPDIR/spamassassin-etc/local.cf /etc/mail/spamassassin/local.cf
cp $BACKUPDIR/spamassassin-etc/spamassassin/local.cf /etc/mail/spamassassin/local.cf

# Restart mailscanner
service MailScanner start
Expand Down

0 comments on commit e9543b3

Please sign in to comment.