X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/6bacc7090a4d219a48899c5b5b08b33f4811dc7f..baaa69d91ad081a6920f2e29e800a30c8de0255c:/test/scripts/0000-Basic/0612 diff --git a/test/scripts/0000-Basic/0612 b/test/scripts/0000-Basic/0612 index 69a53c691..f9f283dcb 100644 --- a/test/scripts/0000-Basic/0612 +++ b/test/scripts/0000-Basic/0612 @@ -8,6 +8,7 @@ client 127.0.0.1 PORT_D EHLO testclient ??? 250- ??? 250-SIZE +??? 250-LIMITS ??? 250 HELP **** killdaemon @@ -23,6 +24,7 @@ client HOSTIPV4 PORT_D EHLO testclient ??? 250- ??? 250-SIZE +??? 250-LIMITS ??? 250-DSN ??? 250 HELP MAIL FROM: @@ -50,6 +52,7 @@ client HOSTIPV4 PORT_D EHLO testclient ??? 250- ??? 250-SIZE +??? 250-LIMITS ??? 250-DSN ??? 250 HELP MAIL FROM: @@ -74,6 +77,42 @@ exim -q exim -q **** # +# Client requests delivery notification; the MSA & MDA supports DSN +# but MDA fake-rejects msg. +# The MDA should not send a delivery notification for this case. +exim -z fakereject/success +**** +client HOSTIPV4 PORT_D +??? 220 +EHLO testclient +??? 250- +??? 250-SIZE +??? 250-LIMITS +??? 250-DSN +??? 250 HELP +MAIL FROM: +??? 250 +RCPT TO: NOTIFY=success +??? 250 +DATA +??? 354 +Subject: test +. +??? 250 +QUIT +??? 221 +**** +# MSA (try to) send msg to MDA; should see a reject +exim -q +**** +# due to fake, should be a msg to deliver at MDA +# no DSN should be generated +exim -q +**** +# should be no notification to deliver from MDA +exim -q +**** +# # Client requests notification of deferral. First time of trying, we get # a defer but queue-time probably has not hit the 1st retry time yet, so no DSN # will be sent and the message remains queued. Then, claiming time has elapsed, @@ -86,6 +125,7 @@ client HOSTIPV4 PORT_D EHLO testclient ??? 250- ??? 250-SIZE +??? 250-LIMITS ??? 250-DSN ??? 250 HELP MAIL FROM: @@ -111,6 +151,7 @@ client HOSTIPV4 PORT_D EHLO testclient ??? 250- ??? 250-SIZE +??? 250-LIMITS ??? 250-DSN ??? 250 HELP MAIL FROM: @@ -151,6 +192,7 @@ client HOSTIPV4 PORT_D EHLO testclient ??? 250- ??? 250-SIZE +??? 250-LIMITS ??? 250-DSN ??? 250 HELP MAIL FROM: