diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2018-01-01 13:14:41 +0000 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2018-01-01 17:10:23 +0000 |
commit | c11d665dab975691024f9231ad93c65bef7e5df4 (patch) | |
tree | ac2a5701c6511c08266c4fb122e71a481a73bfc2 /test/scripts/4012_scan_fprotd | |
parent | adf73d3717be93cdbbb38c7e2e4bb0531d1cca27 (diff) |
Feature macros, show-supported and build-time selection for malware interfaces
Diffstat (limited to 'test/scripts/4012_scan_fprotd')
-rw-r--r-- | test/scripts/4012_scan_fprotd/4012 | 95 | ||||
-rw-r--r-- | test/scripts/4012_scan_fprotd/REQUIRES | 2 |
2 files changed, 97 insertions, 0 deletions
diff --git a/test/scripts/4012_scan_fprotd/4012 b/test/scripts/4012_scan_fprotd/4012 new file mode 100644 index 000000000..6f746307e --- /dev/null +++ b/test/scripts/4012_scan_fprotd/4012 @@ -0,0 +1,95 @@ +# content scan interface: f-protd +need_ipv4 +munge loopback +# +server PORT_S +<GET +< +><summary code="11"> +>*eof +**** +# +# +# +exim -odi -bs -DOPT= +ehlo test.ex +mail from:<> +rcpt to:<userx@test.ex> +data +Date: Fri, 17 Dec 2004 14:35:01 +0100 +Subject: message should be accepted + +. +quit +**** +# +# +# +server PORT_S +<GET +< +> +> +> +><detected type="foo"> +><name>wibble</name> +><summary code="11"> +>*eof +**** +# +# +# +exim -odi -bs -DOPT= +ehlo test.ex +mail from:<> +rcpt to:<userx@test.ex> +data +Date: Fri, 17 Dec 2004 14:35:01 +0100 +Subject: message should be rejected + +due to the server response (above) +. +quit +**** +# +# +# +server PORT_S +<GET +*sleep 3 +**** +# +# +# +exim -odi -bs -DOPT="/tmo=2s" +ehlo test.ex +mail from:<> +rcpt to:<userx@test.ex> +data +Date: Fri, 17 Dec 2004 14:35:01 +0100 +Subject: message should be deferred due to timeout + +. +quit +**** +# +# +# +server PORT_S +<GET +*sleep 3 +**** +# +# +# +exim -odi -bs -DOPT="/tmo=2s/defer_ok" +ehlo test.ex +mail from:<> +rcpt to:<userx@test.ex> +data +Date: Fri, 17 Dec 2004 14:35:01 +0100 +Subject: message should be accepted despite timeout + +. +quit +**** diff --git a/test/scripts/4012_scan_fprotd/REQUIRES b/test/scripts/4012_scan_fprotd/REQUIRES new file mode 100644 index 000000000..819b11337 --- /dev/null +++ b/test/scripts/4012_scan_fprotd/REQUIRES @@ -0,0 +1,2 @@ +support Content_Scanning +malware f-protd |