Commit db096744 authored by Joshua Tauberer's avatar Joshua Tauberer

remove unnecessary sudos

parent 2ff5038c
...@@ -31,7 +31,7 @@ apt_install nsd ldnsutils openssh-client ...@@ -31,7 +31,7 @@ apt_install nsd ldnsutils openssh-client
# Prepare nsd's configuration. # Prepare nsd's configuration.
sudo mkdir -p /var/run/nsd mkdir -p /var/run/nsd
# Create DNSSEC signing keys. # Create DNSSEC signing keys.
......
...@@ -30,7 +30,7 @@ tools/editconf.py /etc/default/spampd DESTPORT=10026 ...@@ -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 # 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.) # 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 # When mail is moved in or out of the Dovecot Spam folder, re-train using this script
# that sends the mail to spamassassin. # that sends the mail to spamassassin.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment