iankelling.org
/
git
/
distro-setup
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
4bb0f3d
)
fix the case of duplicated sent archive recipients
author
Ian Kelling
<ian@iankelling.org>
Fri, 30 Sep 2022 20:54:02 +0000
(16:54 -0400)
committer
Ian Kelling
<ian@iankelling.org>
Fri, 30 Sep 2022 20:54:02 +0000
(16:54 -0400)
mail-setup
patch
|
blob
|
history
diff --git
a/mail-setup
b/mail-setup
index 0a885ca2500df744fe6a329608429f2a3fe25322..bbe0defeb3f803a1cedf759c9b1e62f6c77389a0 100755
(executable)
--- 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.
# 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 <<EOF
+$(printf "%s\n" ${test_tos[@]})
+vojdedIdNejyebni@b8.nz
+b@eximbackup.b8.nz
+EOF
cat >/usr/local/bin/send-test-forward <<'EOF'
#!/bin/bash
cat >/usr/local/bin/send-test-forward <<'EOF'
#!/bin/bash