summaryrefslogtreecommitdiff
path: root/test/stderr/0026
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2015-01-20 20:57:15 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2015-01-20 21:03:34 +0000
commitcf02e6b2e7178276ea5b4b99448f73a1cdfe0c9e (patch)
treea25c752fbf1ea69cb1d2ed88bac39d64ac1cc263 /test/stderr/0026
parent5032d1cf500b102849d9a47867fbb7b34d871683 (diff)
Testsuite: add testcase for <>-mismatch in To:/From: headers
Diffstat (limited to 'test/stderr/0026')
-rw-r--r--test/stderr/00269
1 files changed, 7 insertions, 2 deletions
diff --git a/test/stderr/0026 b/test/stderr/0026
index 26c27365d..5e99669f7 100644
--- a/test/stderr/0026
+++ b/test/stderr/0026
@@ -16,11 +16,16 @@
>>> check condition = ${if match{$message_body}{trigger}{yes}{no}}
>>> = no
>>> deny: condition test failed in ACL "acl_data"
+>>> processing "warn"
+>>> check logwrite = \$h_from: '$h_from:'
+>>> = $h_from: '@'
+LOG: 10HmbI-0005vi-00 $h_from: '@'
+>>> warn: condition test succeeded in ACL "acl_data"
>>> processing "require"
>>> check verify = header_syntax
>>> require: condition test failed in ACL "acl_data"
>>> end of ACL "acl_data": not OK
-LOG: 10HmbH-0005vi-00 H=[10.0.0.0] F=<x@y> rejected after DATA: domain missing or malformed: failing address in "From:" header is: @
+LOG: 10HmbI-0005vi-00 H=[10.0.0.0] F=<x@y> rejected after DATA: domain missing or malformed: failing address in "From:" header is: @
>>> host in hosts_connection_nolog? no (option unset)
>>> host in host_lookup? no (option unset)
>>> host in host_reject_connection? no (option unset)
@@ -40,4 +45,4 @@ LOG: 10HmbH-0005vi-00 H=[10.0.0.0] F=<x@y> rejected after DATA: domain missing o
>>> = yes
>>> deny: condition test succeeded in ACL "acl_data"
>>> end of ACL "acl_data": DENY
-LOG: 10HmbI-0005vi-00 H=[10.0.0.0] F=<x@y> rejected after DATA: body contains trigger
+LOG: 10HmbJ-0005vi-00 H=[10.0.0.0] F=<x@y> rejected after DATA: body contains trigger