X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=mail-setup;h=0514ea55998b10e1048e44de542a548b72ac9b19;hb=c5ef5441cb9193cbc9e27466945bf5daf72fce34;hp=86464f1aaf3ca337bb9ef2ede0d7e94f32826550;hpb=12cab163424e3a7b0815646d1d4407f9b5839bcb;p=distro-setup diff --git a/mail-setup b/mail-setup index 86464f1..0514ea5 100755 --- a/mail-setup +++ b/mail-setup @@ -369,7 +369,7 @@ fi bhost_t=false case $HOSTNAME in $MAIL_HOST) : ;; - kd|frodo|x2|x3|kw|sy) + kd|frodo|x2|x3|kw|sy|bo) bhost_t=true ;; esac @@ -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' @@ -2875,7 +2893,7 @@ sre exim4 case $HOSTNAME in $MAIL_HOST) m systemctl --now enable mailbindwatchdog - ;; + ;; *) soff mailbindwatchdog ;;