X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=mail-setup;h=ee758faec98250d53e22f6740ec89ef581eecead;hb=a108e4b381c380c0bc6be19f31f4f1d6d7d7b118;hp=ae3aabbe9067365500861c500a77ae08c3f17a66;hpb=7b47d6a266340223e78317cfe0570868f45a4cad;p=distro-setup diff --git a/mail-setup b/mail-setup index ae3aabb..ee758fa 100755 --- a/mail-setup +++ b/mail-setup @@ -483,18 +483,28 @@ case $HOSTNAME in ;; esac -i /etc/systemd/system/wg-quick@wgmail.service.d/override.conf <>/etc/exim4/update-exim4.conf.conf <>/etc/exim4/update-exim4.conf.conf <>/etc/exim4/update-exim4.conf.conf <>/etc/exim4/conf.d/main/000_local-nn <<'EOF' -# spool_directory = /var/spool/myexim4 -# EOF + # cat >>/etc/exim4/conf.d/main/000_local-nn <<'EOF' + # spool_directory = /var/spool/myexim4 + # EOF cat >>/etc/myexim4/update-exim4.conf.conf <<'EOF' dc_eximconfig_configtype='smarthost' dc_smarthost='nn.b8.nz' @@ -2874,7 +2893,7 @@ sre exim4 case $HOSTNAME in $MAIL_HOST) m systemctl --now enable mailbindwatchdog - ;; + ;; *) soff mailbindwatchdog ;;