From a38cfd0b1342ebe6ed9fcdb4514f88f24d098a12 Mon Sep 17 00:00:00 2001 From: Ian Kelling Date: Fri, 30 Sep 2022 16:54:02 -0400 Subject: [PATCH] fix the case of duplicated sent archive recipients --- mail-setup | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/mail-setup b/mail-setup index 0a885ca..bbe0def 100755 --- a/mail-setup +++ b/mail-setup @@ -3556,10 +3556,12 @@ EOF # Dont put these test messages into the sent folder or else it will # overwhelm it, plus i dont want to save a copy at all. - rm -f /etc/exim4/ignore-sent - for t in ${test_tos[@]}; do - echo $t >> /etc/exim4/ignore-sent - done + # Plus addresses we generally want to ignore. + i /etc/exim4/ignore-sent </usr/local/bin/send-test-forward <<'EOF' #!/bin/bash -- 2.30.2