summaryrefslogtreecommitdiff
path: root/test/scripts/5500-PRDR
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2015-11-03 14:40:56 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2015-11-03 14:41:15 +0000
commit858e91c21a3a14da760299b6d54676ac18526418 (patch)
tree245fc169929e56d9a3d3130606524b09d4fb3323 /test/scripts/5500-PRDR
parent27d9366447c75ae8c2263ac49f6bd7327ed15ebe (diff)
PRDR: Introduce $prdr_requested flag variable. Bug 1712
Diffstat (limited to 'test/scripts/5500-PRDR')
-rw-r--r--test/scripts/5500-PRDR/550034
1 files changed, 29 insertions, 5 deletions
diff --git a/test/scripts/5500-PRDR/5500 b/test/scripts/5500-PRDR/5500
index 567b00085..1c6c344fe 100644
--- a/test/scripts/5500-PRDR/5500
+++ b/test/scripts/5500-PRDR/5500
@@ -35,7 +35,7 @@ Sender: sender@some.where
quit
??? 221
****
-sleep 1
+millisleep 500
#
#
# 2: traditional data acl should be called, resulting in an overall reject
@@ -65,7 +65,7 @@ Sender: sender@some.where
quit
??? 221
****
-sleep 1
+millisleep 500
#
#
# 3: PRDR should be avoided for a single-recipient message
@@ -91,7 +91,7 @@ Sender: sender@some.where
quit
??? 221
****
-sleep 1
+millisleep 500
#
# 4: double temp-reject
client 127.0.0.1 PORT_D
@@ -120,7 +120,7 @@ Sender: sender@some.where
quit
??? 221
****
-sleep 1
+millisleep 500
#
# 5: double reject
client 127.0.0.1 PORT_D
@@ -149,7 +149,31 @@ 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-PRDR
+??? 250
+mail from:<>
+??? 250
+rcpt to:<userx@test.ex>
+??? 250
+data
+??? 354
+Sender: sender@some.where
+.
+??? 250
+quit
+??? 221
+****
+millisleep 500
#
killdaemon
#