diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/confs/0023 | 4 | ||||
-rw-r--r-- | test/scripts/0000-Basic/0023 | 11 | ||||
-rw-r--r-- | test/stderr/0023 | 42 | ||||
-rw-r--r-- | test/stdout/0023 | 18 |
4 files changed, 75 insertions, 0 deletions
diff --git a/test/confs/0023 b/test/confs/0023 index 2e5e15cb2..43f140d65 100644 --- a/test/confs/0023 +++ b/test/confs/0023 @@ -98,6 +98,10 @@ acl_9_9_9: acl_V4NET_0_0: require verify = reverse_host_lookup accept +acl_V4NET_99_99: + accept local_parts = defer_ok + verify = reverse_host_lookup/defer_ok + accept verify = reverse_host_lookup acl_V4NET_11_12: deny message = host in DNS list $dnslist_domain: $dnslist_text diff --git a/test/scripts/0000-Basic/0023 b/test/scripts/0000-Basic/0023 index 51e7123d0..3c028a1f0 100644 --- a/test/scripts/0000-Basic/0023 +++ b/test/scripts/0000-Basic/0023 @@ -189,6 +189,17 @@ mail from:<> rcpt to:<x@y> quit **** +# This resolves to a name which will give `try again' when looked up +exim -bh V4NET.99.99.96 +mail from:<> +rcpt to:<x@y> +quit +**** +exim -bh V4NET.99.99.96 +mail from:<> +rcpt to:<defer_ok@y> +quit +**** exim -bh 29.29.29.29 mail from:<a@localhost> rcpt to:<x@y> diff --git a/test/stderr/0023 b/test/stderr/0023 index 89c1d3993..7da373917 100644 --- a/test/stderr/0023 +++ b/test/stderr/0023 @@ -1128,6 +1128,48 @@ LOG: H=[V4NET.0.0.97] F=<> rejected RCPT <x@y>: host lookup failed for reverse l >>> host in helo_verify_hosts? no (option unset) >>> host in helo_try_verify_hosts? no (option unset) >>> host in helo_accept_junk_hosts? no (option unset) +>>> using ACL "acl_V4NET_99_99" +>>> processing "accept" +>>> check local_parts = defer_ok +>>> x in "defer_ok"? no (end of list) +>>> accept: condition test failed in ACL "acl_V4NET_99_99" +>>> processing "accept" +>>> check verify = reverse_host_lookup +>>> looking up host name to force name/address consistency check +>>> looking up host name for V4NET.99.99.96 +>>> IP address lookup yielded "x.test.again.dns" +>>> x.test.again.dns in dns_again_means_nonexist? no (option unset) +>>> temporary error for host name lookup +>>> accept: condition test deferred in ACL "acl_V4NET_99_99" +LOG: H=[V4NET.99.99.96] F=<> temporarily rejected RCPT <x@y>: host lookup deferred for reverse lookup check +>>> host in hosts_connection_nolog? no (option unset) +>>> host in host_lookup? no (option unset) +>>> host in host_reject_connection? no (option unset) +>>> host in sender_unqualified_hosts? no (option unset) +>>> host in recipient_unqualified_hosts? no (option unset) +>>> host in helo_verify_hosts? no (option unset) +>>> host in helo_try_verify_hosts? no (option unset) +>>> host in helo_accept_junk_hosts? no (option unset) +>>> using ACL "acl_V4NET_99_99" +>>> processing "accept" +>>> check local_parts = defer_ok +>>> defer_ok in "defer_ok"? yes (matched "defer_ok") +>>> check verify = reverse_host_lookup/defer_ok +>>> looking up host name to force name/address consistency check +>>> looking up host name for V4NET.99.99.96 +>>> IP address lookup yielded "x.test.again.dns" +>>> x.test.again.dns in dns_again_means_nonexist? no (option unset) +>>> temporary error for host name lookup +>>> accept: condition test succeeded in ACL "acl_V4NET_99_99" +>>> end of ACL "acl_V4NET_99_99": ACCEPT +>>> host in hosts_connection_nolog? no (option unset) +>>> host in host_lookup? no (option unset) +>>> host in host_reject_connection? no (option unset) +>>> host in sender_unqualified_hosts? no (option unset) +>>> host in recipient_unqualified_hosts? no (option unset) +>>> host in helo_verify_hosts? no (option unset) +>>> host in helo_try_verify_hosts? no (option unset) +>>> host in helo_accept_junk_hosts? no (option unset) >>> using ACL "acl_29_29_29" >>> processing "deny" >>> check dnslists = test.ex/$sender_address_domain diff --git a/test/stdout/0023 b/test/stdout/0023 index b805f334b..a835f2a4e 100644 --- a/test/stdout/0023 +++ b/test/stdout/0023 @@ -302,6 +302,24 @@ 550 Administrative prohibition
221 myhost.test.ex closing connection
+**** SMTP testing session as if from host V4NET.99.99.96 +**** but without any ident (RFC 1413) callback. +**** This is not for real! + +220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
+250 OK
+451 Temporary local problem - please try later
+221 myhost.test.ex closing connection
+ +**** SMTP testing session as if from host V4NET.99.99.96 +**** but without any ident (RFC 1413) callback. +**** This is not for real! + +220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
+250 OK
+250 Accepted
+221 myhost.test.ex closing connection
+ **** SMTP testing session as if from host 29.29.29.29 **** but without any ident (RFC 1413) callback. **** This is not for real! |