X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/30079bc1d20c0473d012ef33654358cfadb0a2ff..9bf74b9c298f6968417fe88a68ccdf2179db1403:/test/scripts/5500-PRDR/5500?ds=inline diff --git a/test/scripts/5500-PRDR/5500 b/test/scripts/5500-PRDR/5500 index fec0701a2..73aaa977c 100644 --- a/test/scripts/5500-PRDR/5500 +++ b/test/scripts/5500-PRDR/5500 @@ -6,13 +6,14 @@ no_msglog_check # z rejected, all after data per PRDR spec exim -DSERVER=server -bd -oX PORT_D **** -client 127.0.0.1 PORT_D 127.0.0.1 +client 127.0.0.1 PORT_D ??? 220 ehlo rhu.barb ??? 250- ??? 250- ??? 250- ??? 250- +??? 250- ??? 250-PRDR ??? 250 mail from:<> PRDR @@ -35,17 +36,18 @@ Sender: sender@some.where quit ??? 221 **** -sleep 1 +millisleep 500 # # # 2: traditional data acl should be called, resulting in an overall reject -client 127.0.0.1 PORT_D 127.0.0.1 +client 127.0.0.1 PORT_D ??? 220 ehlo rhu.barb ??? 250- ??? 250- ??? 250- ??? 250- +??? 250- ??? 250-PRDR ??? 250 mail from:<> PRDR @@ -65,18 +67,19 @@ Sender: sender@some.where quit ??? 221 **** -sleep 1 +millisleep 500 # # # 3: PRDR should be avoided for a single-recipient message # even though the client showed support. -client 127.0.0.1 PORT_D 127.0.0.1 +client 127.0.0.1 PORT_D ??? 220 ehlo rhu.barb ??? 250- ??? 250- ??? 250- ??? 250- +??? 250- ??? 250-PRDR ??? 250 mail from:<> PRDR @@ -91,16 +94,17 @@ Sender: sender@some.where quit ??? 221 **** -sleep 1 +millisleep 500 # # 4: double temp-reject -client 127.0.0.1 PORT_D 127.0.0.1 +client 127.0.0.1 PORT_D ??? 220 ehlo rhu.barb ??? 250- ??? 250- ??? 250- ??? 250- +??? 250- ??? 250-PRDR ??? 250 mail from:<> PRDR @@ -120,16 +124,17 @@ Sender: sender@some.where quit ??? 221 **** -sleep 1 +millisleep 500 # # 5: double reject -client 127.0.0.1 PORT_D 127.0.0.1 +client 127.0.0.1 PORT_D ??? 220 ehlo rhu.barb ??? 250- ??? 250- ??? 250- ??? 250- +??? 250- ??? 250-PRDR ??? 250 mail from:<> PRDR @@ -149,7 +154,32 @@ Sender: sender@some.where quit ??? 221 **** -sleep 1 +millisleep 500 +# +# 6: no PRDR request +client 127.0.0.1 PORT_D +??? 220 +ehlo rhu.barb +??? 250- +??? 250- +??? 250- +??? 250- +??? 250- +??? 250-PRDR +??? 250 +mail from:<> +??? 250 +rcpt to: +??? 250 +data +??? 354 +Sender: sender@some.where +. +??? 250 +quit +??? 221 +**** +millisleep 500 # killdaemon #