From: Ian Kelling Date: Fri, 11 Nov 2022 22:36:44 +0000 (-0500) Subject: mail backups were getting in a loop, i think this fixes X-Git-Url: https://iankelling.org/git/?a=commitdiff_plain;h=3a198460eadab9293e774b26e54d14563cb5f407;p=distro-setup mail backups were getting in a loop, i think this fixes --- diff --git a/mail-setup b/mail-setup index 4619b2e..85bd17b 100755 --- a/mail-setup +++ b/mail-setup @@ -1355,7 +1355,9 @@ EOF # old file -rm -fv /etc/exim4/conf.d/router/8{8,9}0_backup_copy /etc/exim4/conf.d/router/865_backup_redir +rm -fv /etc/exim4/conf.d/router/8{8,9}0_backup_copy \ + /etc/exim4/conf.d/router/865_backup_redir \ + /etc/exim4/conf.d/router/870_backup_local # It is important for this to exist everywhere except in MAIL_HOST # non-nn config. Previously, just had it in the nn-config on MAIL_HOST, @@ -2813,7 +2815,7 @@ case $HOSTNAME in # ** $MAIL_HOST|bk|je) $MAIL_HOST|bk|je) - echo|i /etc/exim4/conf.d/router/870_backup_local + echo|i /etc/exim4/conf.d/router/165_backup_local cat >>/etc/exim4/update-exim4.conf.conf <