X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/ea97267cea0f7e6054806504b3616f2bf9723bce..bec360ab3e1060187724480d109884e56f912b0a:/test/scripts/0000-Basic/0618?ds=sidebyside diff --git a/test/scripts/0000-Basic/0618 b/test/scripts/0000-Basic/0618 index c09322844..d43d13ca6 100644 --- a/test/scripts/0000-Basic/0618 +++ b/test/scripts/0000-Basic/0618 @@ -1,112 +1,57 @@ -# DSN ESMTP extension RCPT options +# free of local_part_data, domain_data, sender_data # -# Server does not advertise by default -exim -DSERVER=server -bd -oX PORT_D -**** -client 127.0.0.1 PORT_D -??? 220 -EHLO testclient -??? 250- -??? 250-SIZE -??? 250 HELP +exim -bh 99.99.99.99 +HELO tester +MAIL FROM: +RCPT TO: +DATA +. +RSET +MAIL FROM: +RCPT TO: +DATA +. +QUIT **** -killdaemon # # -# Server does advertise when told. Client requests no bounces, and this one gets a reject. -exim -DSERVER=server -DOPT=y -bd -oX PORT_D +exim -bd -DSERVER=server -oX PORT_D **** -client HOSTIPV4 PORT_D +client 127.0.0.1 PORT_D ??? 220 -EHLO testclient -??? 250- -??? 250-SIZE -??? 250-DSN -??? 250 HELP -MAIL FROM: -??? 250 -RCPT TO: NOTIFY=foo -??? 501 -RCPT TO: NOTIFY=never +HELO tester ??? 250 -DATA -??? 354 -Subject: test -. +MAIL FROM: ??? 250 -QUIT -??? 221 -**** -# Client requests delivery notification; the server supports DSN to takes responsibility -client HOSTIPV4 PORT_D -??? 220 -EHLO testclient -??? 250- -??? 250-SIZE -??? 250-DSN -??? 250 HELP -MAIL FROM: -??? 250 -RCPT TO: NOTIFY=success +RCPT TO: ??? 250 DATA ??? 354 -Subject: test . ??? 250 -QUIT -??? 221 -**** -# Client requests notification of deferral. First time of trying, the -# queue-time probably has not hit the 1st retry time yet, so no DSN will -# be sent and the message remains queued. -client HOSTIPV4 PORT_D -??? 220 -EHLO testclient -??? 250- -??? 250-SIZE -??? 250-DSN -??? 250 HELP -MAIL FROM: +RSET ??? 250 -RCPT TO: NOTIFY=delay +MAIL FROM: +??? 250 +RCPT TO: ??? 250 DATA ??? 354 -Subject: test . ??? 250 QUIT -??? 221 **** -# Clients requests no DSNs, and this one gets deferred -client HOSTIPV4 PORT_D -??? 220 -EHLO testclient -??? 250- -??? 250-SIZE -??? 250-DSN -??? 250 HELP -MAIL FROM: -??? 250 -RCPT TO: NOTIFY=never -??? 250 +killdaemon +# +# +exim -bs +HELO tester +MAIL FROM: +RCPT TO: DATA -??? 354 -Subject: test . -??? 250 QUIT -??? 221 -**** -# This attemmpt the set of all the above, for the first time. -exim -q **** -sleep 3 -# Second time, for the queued deferrals. Final delivery for the acceptance. -exim -q -**** -killdaemon # # no_msglog_check