git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Docs: subsections
[exim.git]
/
test
/
scripts
/
0000-Basic
/
0195
diff --git
a/test/scripts/0000-Basic/0195
b/test/scripts/0000-Basic/0195
index 3c487ded1188b5c037b7da22c70ed248c05ebba3..5ce0b3e9406088a20fc26c753beee92923290c13 100644
(file)
--- a/
test/scripts/0000-Basic/0195
+++ b/
test/scripts/0000-Basic/0195
@@
-1,21
+1,30
@@
# retry times on local addresses
# retry times on local addresses
+#
+# All three should be deferred
exim -odi userx usery userz
This is a test message.
****
exim -odi userx usery userz
This is a test message.
****
+# retry records should have been created
dump retry
sleep 1
dump retry
sleep 1
+# retry record should mean no delivery tried
exim -R usery
****
exim -R usery
****
+# should still be all three records
dump retry
sleep 1
dump retry
sleep 1
+# insert another message; should be deferred only on first delivery try
exim -odi usery
one-defer: set
second message
****
exim -odi usery
one-defer: set
second message
****
+# all three records should still be there
dump retry
sleep 1
dump retry
sleep 1
+# msg2 has had it's single-defer so should get delivered
exim -Mc $msg2
****
exim -Mc $msg2
****
+# the record for that localpart should have been removed as a result
dump retry
sleep 1
exim -q
dump retry
sleep 1
exim -q