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/4013_scan_fprot6d/4013 | |
parent | adf73d3717be93cdbbb38c7e2e4bb0531d1cca27 (diff) |
Feature macros, show-supported and build-time selection for malware interfaces
Diffstat (limited to 'test/scripts/4013_scan_fprot6d/4013')
-rw-r--r-- | test/scripts/4013_scan_fprot6d/4013 | 88 |
1 files changed, 88 insertions, 0 deletions
diff --git a/test/scripts/4013_scan_fprot6d/4013 b/test/scripts/4013_scan_fprot6d/4013 new file mode 100644 index 000000000..20e6ab2b8 --- /dev/null +++ b/test/scripts/4013_scan_fprot6d/4013 @@ -0,0 +1,88 @@ +# content scan interface: f-prot6d +need_ipv4 +munge loopback +# +server PORT_S +<SCAN FILE +>0 <clean> +>*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 +<SCAN FILE +>0 <infected: EICAR_Test_File> DIR/spool/scan/1clxBT-0003I9-8y/1clxBT-0003I9-8y.eml +>*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 +<SCAN FILE +*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 +<SCAN FILE +*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 +**** |