1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2024-12-22 07:17:05 +00:00

remove unnecessary sudos

This commit is contained in:
Joshua Tauberer 2014-10-04 14:06:08 -04:00
parent 2ff5038c84
commit db0967446b
2 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ apt_install nsd ldnsutils openssh-client
# Prepare nsd's configuration.
sudo mkdir -p /var/run/nsd
mkdir -p /var/run/nsd
# Create DNSSEC signing keys.

View File

@ -30,7 +30,7 @@ tools/editconf.py /etc/default/spampd DESTPORT=10026
# Enable the Dovecot antispam plugin to detect when a message moves between folders so we can
# pass it to sa-learn for training. (Be careful if we use multiple plugins later.)
sudo sed -i "s/#mail_plugins = .*/mail_plugins = \$mail_plugins antispam/" /etc/dovecot/conf.d/20-imap.conf
sed -i "s/#mail_plugins = .*/mail_plugins = \$mail_plugins antispam/" /etc/dovecot/conf.d/20-imap.conf
# When mail is moved in or out of the Dovecot Spam folder, re-train using this script
# that sends the mail to spamassassin.