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
exim-filter dynamic module
[exim.git]
/
test
/
scripts
/
5700-events
/
5703
diff --git
a/test/scripts/5700-events/5703
b/test/scripts/5700-events/5703
index 54fd48544b6c6850d1ce3fa52ecd1c947650c5bd..9cb9508fe83ba9fe9b0e8cf4a26fba1d526b6655 100644
(file)
--- a/
test/scripts/5700-events/5703
+++ b/
test/scripts/5700-events/5703
@@
-1,20
+1,62
@@
-# Raise msg:fail:delivery when an error of a failed bounce gets ignored.
+# event on dns lookup fail
+
+exim -bd -DSERVER=server -oX PORT_D
+****
#
#
-exim -odq userx@domain1
-Try to deliver this message to usery via a filter deliver "redirect".
-However that fails. Later the bounce also fails.
+# no A record
+client 127.0.0.1 PORT_D
+??? 220
+HELO nonexistent.test.ex
+??? 250
+MAIL FROM:<a@b>
+??? 250
+RCPT TO:<c@d>
+??? 550
+QUIT
+??? 221
+****
+# CNAME to no-A-record
+client 127.0.0.1 PORT_D
+??? 220
+HELO badcname.test.ex
+??? 250
+MAIL FROM:<a@b>
+??? 250
+RCPT TO:<c@d>
+??? 550
+QUIT
+??? 221
****
****
-server PORT_S 2
-220 ESMTP
-EHLO
-250-OK
-250 HELP
-MAIL
-250 OK
-RCPT
-550 Not that one
+# defer from dns lookup
+client 127.0.0.1 PORT_D
+??? 220
+HELO test.again.dns
+??? 250
+MAIL
FROM:<a@b>
+??? 250
+RCPT
TO:<c@d>
+??? 550
QUIT
QUIT
-220 OK
+??? 221
****
****
-exim -qqf
+# success in RCPT ACL; no-A in transport
+client 127.0.0.1 PORT_D
+??? 220
+HELO localhost
+??? 250
+MAIL FROM:<a@b>
+??? 250
+RCPT TO:<bad_A@nonexistent.test.ex>
+??? 250 Accepted
+DATA
+??? 354
+Subject: test
+.
+??? 250
+QUIT
+??? 221
****
****
+#
+sleep 1
+killdaemon
+no_msglog_check