X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/4f05f0f1dbdcfa60930e7a8182ae7756cede4314..aff5e0c480dd4ac2ccd15906c250c18c93ac7f12:/test/scripts/5700-events/5703 diff --git a/test/scripts/5700-events/5703 b/test/scripts/5700-events/5703 index 54fd48544..9cb9508fe 100644 --- 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: +??? 250 +RCPT TO: +??? 550 +QUIT +??? 221 +**** +# CNAME to no-A-record +client 127.0.0.1 PORT_D +??? 220 +HELO badcname.test.ex +??? 250 +MAIL FROM: +??? 250 +RCPT TO: +??? 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: +??? 250 +RCPT TO: +??? 550 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: +??? 250 +RCPT TO: +??? 250 Accepted +DATA +??? 354 +Subject: test +. +??? 250 +QUIT +??? 221 **** +# +sleep 1 +killdaemon +no_msglog_check