diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2016-08-02 00:24:00 +0100 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2016-08-02 16:46:32 +0100 |
commit | 0b20855c02c44cb79a33824596e3ad8dc906131f (patch) | |
tree | 71631e8bf79ed6e25bbcda35ce4ce5d08c6fff35 /test/scripts | |
parent | e7621e8371917cc06d0abce0929c3166e29007fb (diff) |
testcases for PRDR
Diffstat (limited to 'test/scripts')
-rw-r--r-- | test/scripts/5500-PRDR/5590 | 40 | ||||
-rw-r--r-- | test/scripts/5500-PRDR/5591 | 32 | ||||
-rw-r--r-- | test/scripts/5500-PRDR/REQUIRES | 1 |
3 files changed, 73 insertions, 0 deletions
diff --git a/test/scripts/5500-PRDR/5590 b/test/scripts/5500-PRDR/5590 new file mode 100644 index 000000000..a9722ff81 --- /dev/null +++ b/test/scripts/5500-PRDR/5590 @@ -0,0 +1,40 @@ +# PRDR and CHUNKING reception +exim -DALLOW=prdr_enable -DSERVER=server -bd -oX PORT_D +**** +# +client 127.0.0.1 PORT_D +??? 220 +EHLO tester +??? 250- +??? 250-SIZE +??? 250-8BITMIME +??? 250-PIPELINING +??? 250-CHUNKING +??? 250-PRDR +??? 250 +MAIL FROM:<someone@some.domain> PRDR +??? 250 +RCPT TO:<bad1@test.ex> +??? 250 +RCPT TO:<good@test.ex> +??? 250 +RCPT TO:<bad2@test.ex> +??? 250 +BDAT 100 last +To: Susan@random.com +From: Sam@random.com +Subject: This is a bodyfull test message + +1234567890 +??? 353 +??? 550 +??? 250 +??? 550 +??? 250 +QUIT +??? 221 +**** +# +# +killdaemon +no_msglog_check diff --git a/test/scripts/5500-PRDR/5591 b/test/scripts/5500-PRDR/5591 new file mode 100644 index 000000000..67b9de298 --- /dev/null +++ b/test/scripts/5500-PRDR/5591 @@ -0,0 +1,32 @@ +# PRDR and CHUNKING transmission +need_ipv4 +no_msglog_check +# +# Two recipients, accepted by full PRDR response sequence +server PORT_S +220 Server ready +EHLO +250-hiya matey +250-PRDR +250-CHUNKING +250 OK +MAIL FROM:<> PRDR +250 OK +RCPT TO +250 OK +RCPT TO +250 OK +BDAT 317 LAST +*data 317 +353 prdr responses coming up +250 first rcpt was good +250 second rcpt was good +250 OK, overall +QUIT +250 OK +**** +exim -odi -f sender_gets_replaced usery userz +Some message text. +**** +# +# diff --git a/test/scripts/5500-PRDR/REQUIRES b/test/scripts/5500-PRDR/REQUIRES index e69de29bb..bca921eaf 100644 --- a/test/scripts/5500-PRDR/REQUIRES +++ b/test/scripts/5500-PRDR/REQUIRES @@ -0,0 +1 @@ +support PRDR |