Logging: add I= element to transport-defer lines. Bug 2675
[exim.git] / test / scripts / 0000-Basic / 0179
index 58d869b4d0227146726a731da53ef0d2b780631a..6a7b2253b7f12ce6f49fd7dfbcd99cf1545bd341 100644 (file)
@@ -1,4 +1,4 @@
-# -qqf 
+# -qqf (+outgoing_port +incoming_interface)
 need_ipv4
 #
 exim -odq userx@domain.com
@@ -33,3 +33,38 @@ QUIT
 ****
 exim -odi -qqf
 ****
+#
+# Defer from receiving host
+exim -odq userz@domain.com
+.
+****
+server PORT_S
+220 ESMTP
+EHLO
+250-OK
+250 HELP
+MAIL FROM:
+450 not right now, sorry
+QUIT
+250 OK
+****
+exim -odi -qqf
+****
+#
+# Deny from receiving host
+server PORT_S
+220 ESMTP
+EHLO
+250-OK
+250 HELP
+MAIL FROM:
+250 Sender OK
+RCPT TO:
+550 Recipient refused
+QUIT
+250 OK
+****
+exim -odi -qqf
+****
+#
+no_msglog_check