From 3a198460eadab9293e774b26e54d14563cb5f407 Mon Sep 17 00:00:00 2001 From: Ian Kelling Date: Fri, 11 Nov 2022 17:36:44 -0500 Subject: [PATCH] mail backups were getting in a loop, i think this fixes --- mail-setup | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) 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 <