From: Jeremy Harris Date: Sun, 21 Dec 2014 21:32:13 +0000 (+0000) Subject: Testsuite: cases for malware= interfaces to f-protd, aveserver, fsecure, soophie... X-Git-Tag: exim-4_85_RC4~6 X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=a60f6c07eea74e79b88828295a191e79595d8960;p=exim.git Testsuite: cases for malware= interfaces to f-protd, aveserver, fsecure, soophie & clamav There are running against scripts not the rea thing so only useful for spotting gross breakage. --- diff --git a/test/confs/4001 b/test/confs/4001 new file mode 100644 index 000000000..39e770545 --- /dev/null +++ b/test/confs/4001 @@ -0,0 +1,33 @@ +# Exim test configuration 4001 +# Content-scan: f-protd interface + +exim_path = EXIM_PATH +host_lookup_order = bydns +primary_hostname = myhost.test.ex +spool_directory = DIR/spool +log_file_path = DIR/spool/log/%slog +gecos_pattern = "" +gecos_name = CALLER_NAME + +av_scanner = f-protd : localhost PORT_S + +# ----- Main settings ----- + +acl_smtp_rcpt = accept +acl_smtp_data = c_data + +begin acl + +c_data: + accept !malware = * + deny logwrite = malware_name $malware_name + +# ----- Routers ----- + +begin routers + +r: + driver = redirect + data = :blackhole: + +# End diff --git a/test/confs/4002 b/test/confs/4002 new file mode 100644 index 000000000..5ebb937a6 --- /dev/null +++ b/test/confs/4002 @@ -0,0 +1,33 @@ +# Exim test configuration 4002 +# Content-scan: aveserver interface + +exim_path = EXIM_PATH +host_lookup_order = bydns +primary_hostname = myhost.test.ex +spool_directory = DIR/spool +log_file_path = DIR/spool/log/%slog +gecos_pattern = "" +gecos_name = CALLER_NAME + +av_scanner = aveserver : DIR/eximdir/aveserver_sock + +# ----- Main settings ----- + +acl_smtp_rcpt = accept +acl_smtp_data = c_data + +begin acl + +c_data: + accept !malware = * + deny logwrite = malware_name $malware_name + +# ----- Routers ----- + +begin routers + +r: + driver = redirect + data = :blackhole: + +# End diff --git a/test/confs/4003 b/test/confs/4003 new file mode 100644 index 000000000..e2d65baa1 --- /dev/null +++ b/test/confs/4003 @@ -0,0 +1,33 @@ +# Exim test configuration 4002 +# Content-scan: fsecure interface + +exim_path = EXIM_PATH +host_lookup_order = bydns +primary_hostname = myhost.test.ex +spool_directory = DIR/spool +log_file_path = DIR/spool/log/%slog +gecos_pattern = "" +gecos_name = CALLER_NAME + +av_scanner = fsecure : DIR/eximdir/fsec_sock + +# ----- Main settings ----- + +acl_smtp_rcpt = accept +acl_smtp_data = c_data + +begin acl + +c_data: + accept !malware = * + deny logwrite = malware_name $malware_name + +# ----- Routers ----- + +begin routers + +r: + driver = redirect + data = :blackhole: + +# End diff --git a/test/confs/4004 b/test/confs/4004 new file mode 100644 index 000000000..22cbbd0f4 --- /dev/null +++ b/test/confs/4004 @@ -0,0 +1,33 @@ +# Exim test configuration 4002 +# Content-scan: sophie interface + +exim_path = EXIM_PATH +host_lookup_order = bydns +primary_hostname = myhost.test.ex +spool_directory = DIR/spool +log_file_path = DIR/spool/log/%slog +gecos_pattern = "" +gecos_name = CALLER_NAME + +av_scanner = sophie : DIR/eximdir/sophie_sock + +# ----- Main settings ----- + +acl_smtp_rcpt = accept +acl_smtp_data = c_data + +begin acl + +c_data: + accept !malware = * + deny logwrite = malware_name $malware_name + +# ----- Routers ----- + +begin routers + +r: + driver = redirect + data = :blackhole: + +# End diff --git a/test/confs/4005 b/test/confs/4005 new file mode 100644 index 000000000..6d0b797b9 --- /dev/null +++ b/test/confs/4005 @@ -0,0 +1,33 @@ +# Exim test configuration 4002 +# Content-scan: clamav interface + +exim_path = EXIM_PATH +host_lookup_order = bydns +primary_hostname = myhost.test.ex +spool_directory = DIR/spool +log_file_path = DIR/spool/log/%slog +gecos_pattern = "" +gecos_name = CALLER_NAME + +av_scanner = clamd : DIR/eximdir/clam_sock + +# ----- Main settings ----- + +acl_smtp_rcpt = accept +acl_smtp_data = c_data + +begin acl + +c_data: + accept !malware = * + deny logwrite = malware_name $malware_name + +# ----- Routers ----- + +begin routers + +r: + driver = redirect + data = :blackhole: + +# End diff --git a/test/log/4001 b/test/log/4001 new file mode 100644 index 000000000..f478b2723 --- /dev/null +++ b/test/log/4001 @@ -0,0 +1,5 @@ +1999-03-02 09:44:33 10HmaY-0005vi-00 <= CALLER@myhost.test.ex U=CALLER P=local-esmtp S=sss +1999-03-02 09:44:33 10HmaY-0005vi-00 => :blackhole: R=r +1999-03-02 09:44:33 10HmaY-0005vi-00 Completed +1999-03-02 09:44:33 10HmaX-0005vi-00 malware_name wibble +1999-03-02 09:44:33 10HmaX-0005vi-00 U=CALLER F= rejected after DATA diff --git a/test/log/4002 b/test/log/4002 new file mode 100644 index 000000000..5ea545def --- /dev/null +++ b/test/log/4002 @@ -0,0 +1,7 @@ +1999-03-02 09:44:33 10HmaZ-0005vi-00 <= CALLER@myhost.test.ex U=CALLER P=local-esmtp S=sss +1999-03-02 09:44:33 10HmaZ-0005vi-00 => :blackhole: R=r +1999-03-02 09:44:33 10HmaZ-0005vi-00 Completed +1999-03-02 09:44:33 10HmaX-0005vi-00 malware acl condition: aveserver: unable to scan file TESTSUITE/spool/scan/10HmaX-0005vi-00/10HmaX-0005vi-00.eml (Responded: 5xx defer). +1999-03-02 09:44:33 10HmaX-0005vi-00 U=CALLER F= temporarily rejected after DATA +1999-03-02 09:44:33 10HmaY-0005vi-00 malware_name VNAME +1999-03-02 09:44:33 10HmaY-0005vi-00 U=CALLER F= rejected after DATA diff --git a/test/log/4003 b/test/log/4003 new file mode 100644 index 000000000..1425f521e --- /dev/null +++ b/test/log/4003 @@ -0,0 +1,5 @@ +1999-03-02 09:44:33 10HmaY-0005vi-00 <= CALLER@myhost.test.ex U=CALLER P=local-esmtp S=sss +1999-03-02 09:44:33 10HmaY-0005vi-00 => :blackhole: R=r +1999-03-02 09:44:33 10HmaY-0005vi-00 Completed +1999-03-02 09:44:33 10HmaX-0005vi-00 malware_name VNAME +1999-03-02 09:44:33 10HmaX-0005vi-00 U=CALLER F= rejected after DATA diff --git a/test/log/4004 b/test/log/4004 new file mode 100644 index 000000000..624fb3232 --- /dev/null +++ b/test/log/4004 @@ -0,0 +1,7 @@ +1999-03-02 09:44:33 10HmaZ-0005vi-00 <= CALLER@myhost.test.ex U=CALLER P=local-esmtp S=sss +1999-03-02 09:44:33 10HmaZ-0005vi-00 => :blackhole: R=r +1999-03-02 09:44:33 10HmaZ-0005vi-00 Completed +1999-03-02 09:44:33 10HmaX-0005vi-00 malware acl condition: sophie: scanner reported error +1999-03-02 09:44:33 10HmaX-0005vi-00 U=CALLER F= temporarily rejected after DATA +1999-03-02 09:44:33 10HmaY-0005vi-00 malware_name VNAME +1999-03-02 09:44:33 10HmaY-0005vi-00 U=CALLER F= rejected after DATA diff --git a/test/log/4005 b/test/log/4005 new file mode 100644 index 000000000..7e2dac20e --- /dev/null +++ b/test/log/4005 @@ -0,0 +1,7 @@ +1999-03-02 09:44:33 10HmaZ-0005vi-00 <= CALLER@myhost.test.ex U=CALLER P=local-esmtp S=sss +1999-03-02 09:44:33 10HmaZ-0005vi-00 => :blackhole: R=r +1999-03-02 09:44:33 10HmaZ-0005vi-00 Completed +1999-03-02 09:44:33 10HmaX-0005vi-00 malware acl condition: clamd: ClamAV returned: scanned_file_name: 666 ERROR +1999-03-02 09:44:33 10HmaX-0005vi-00 U=CALLER F= temporarily rejected after DATA +1999-03-02 09:44:33 10HmaY-0005vi-00 malware_name VNAME +1999-03-02 09:44:33 10HmaY-0005vi-00 U=CALLER F= rejected after DATA diff --git a/test/paniclog/4002 b/test/paniclog/4002 new file mode 100644 index 000000000..0fd411cb6 --- /dev/null +++ b/test/paniclog/4002 @@ -0,0 +1 @@ +1999-03-02 09:44:33 10HmaX-0005vi-00 malware acl condition: aveserver: unable to scan file TESTSUITE/spool/scan/10HmaX-0005vi-00/10HmaX-0005vi-00.eml (Responded: 5xx defer). diff --git a/test/paniclog/4004 b/test/paniclog/4004 new file mode 100644 index 000000000..1b8d84454 --- /dev/null +++ b/test/paniclog/4004 @@ -0,0 +1 @@ +1999-03-02 09:44:33 10HmaX-0005vi-00 malware acl condition: sophie: scanner reported error diff --git a/test/paniclog/4005 b/test/paniclog/4005 new file mode 100644 index 000000000..12b19bc57 --- /dev/null +++ b/test/paniclog/4005 @@ -0,0 +1 @@ +1999-03-02 09:44:33 10HmaX-0005vi-00 malware acl condition: clamd: ClamAV returned: scanned_file_name: 666 ERROR diff --git a/test/rejectlog/4001 b/test/rejectlog/4001 new file mode 100644 index 000000000..bd26ac2a4 --- /dev/null +++ b/test/rejectlog/4001 @@ -0,0 +1,12 @@ +1999-03-02 09:44:33 10HmaX-0005vi-00 U=CALLER F= rejected after DATA +Envelope-from: +Envelope-to: +P Received: from CALLER (helo=test.ex) + by myhost.test.ex with local-esmtp (Exim x.yz) + (envelope-from ) + id 10HmaX-0005vi-00 + for userx@test.ex; Tue, 2 Mar 1999 09:44:33 +0000 + Date: Tue, 2 Mar 1999 09:44:33 +0000 + Subject: message should be rejected +I Message-Id: +F From: CALLER_NAME diff --git a/test/rejectlog/4002 b/test/rejectlog/4002 new file mode 100644 index 000000000..2054abdb0 --- /dev/null +++ b/test/rejectlog/4002 @@ -0,0 +1,24 @@ +1999-03-02 09:44:33 10HmaX-0005vi-00 U=CALLER F= temporarily rejected after DATA +Envelope-from: +Envelope-to: +P Received: from CALLER (helo=test.ex) + by myhost.test.ex with local-esmtp (Exim x.yz) + (envelope-from ) + id 10HmaX-0005vi-00 + for userx@test.ex; Tue, 2 Mar 1999 09:44:33 +0000 + Date: Tue, 2 Mar 1999 09:44:33 +0000 + Subject: defer this one +I Message-Id: +F From: CALLER_NAME +1999-03-02 09:44:33 10HmaY-0005vi-00 U=CALLER F= rejected after DATA +Envelope-from: +Envelope-to: +P Received: from CALLER (helo=test.ex) + by myhost.test.ex with local-esmtp (Exim x.yz) + (envelope-from ) + id 10HmaY-0005vi-00 + for userx@test.ex; Tue, 2 Mar 1999 09:44:33 +0000 + Date: Tue, 2 Mar 1999 09:44:33 +0000 + Subject: message should be rejected +I Message-Id: +F From: CALLER_NAME diff --git a/test/rejectlog/4003 b/test/rejectlog/4003 new file mode 100644 index 000000000..bd26ac2a4 --- /dev/null +++ b/test/rejectlog/4003 @@ -0,0 +1,12 @@ +1999-03-02 09:44:33 10HmaX-0005vi-00 U=CALLER F= rejected after DATA +Envelope-from: +Envelope-to: +P Received: from CALLER (helo=test.ex) + by myhost.test.ex with local-esmtp (Exim x.yz) + (envelope-from ) + id 10HmaX-0005vi-00 + for userx@test.ex; Tue, 2 Mar 1999 09:44:33 +0000 + Date: Tue, 2 Mar 1999 09:44:33 +0000 + Subject: message should be rejected +I Message-Id: +F From: CALLER_NAME diff --git a/test/rejectlog/4004 b/test/rejectlog/4004 new file mode 100644 index 000000000..2054abdb0 --- /dev/null +++ b/test/rejectlog/4004 @@ -0,0 +1,24 @@ +1999-03-02 09:44:33 10HmaX-0005vi-00 U=CALLER F= temporarily rejected after DATA +Envelope-from: +Envelope-to: +P Received: from CALLER (helo=test.ex) + by myhost.test.ex with local-esmtp (Exim x.yz) + (envelope-from ) + id 10HmaX-0005vi-00 + for userx@test.ex; Tue, 2 Mar 1999 09:44:33 +0000 + Date: Tue, 2 Mar 1999 09:44:33 +0000 + Subject: defer this one +I Message-Id: +F From: CALLER_NAME +1999-03-02 09:44:33 10HmaY-0005vi-00 U=CALLER F= rejected after DATA +Envelope-from: +Envelope-to: +P Received: from CALLER (helo=test.ex) + by myhost.test.ex with local-esmtp (Exim x.yz) + (envelope-from ) + id 10HmaY-0005vi-00 + for userx@test.ex; Tue, 2 Mar 1999 09:44:33 +0000 + Date: Tue, 2 Mar 1999 09:44:33 +0000 + Subject: message should be rejected +I Message-Id: +F From: CALLER_NAME diff --git a/test/rejectlog/4005 b/test/rejectlog/4005 new file mode 100644 index 000000000..2054abdb0 --- /dev/null +++ b/test/rejectlog/4005 @@ -0,0 +1,24 @@ +1999-03-02 09:44:33 10HmaX-0005vi-00 U=CALLER F= temporarily rejected after DATA +Envelope-from: +Envelope-to: +P Received: from CALLER (helo=test.ex) + by myhost.test.ex with local-esmtp (Exim x.yz) + (envelope-from ) + id 10HmaX-0005vi-00 + for userx@test.ex; Tue, 2 Mar 1999 09:44:33 +0000 + Date: Tue, 2 Mar 1999 09:44:33 +0000 + Subject: defer this one +I Message-Id: +F From: CALLER_NAME +1999-03-02 09:44:33 10HmaY-0005vi-00 U=CALLER F= rejected after DATA +Envelope-from: +Envelope-to: +P Received: from CALLER (helo=test.ex) + by myhost.test.ex with local-esmtp (Exim x.yz) + (envelope-from ) + id 10HmaY-0005vi-00 + for userx@test.ex; Tue, 2 Mar 1999 09:44:33 +0000 + Date: Tue, 2 Mar 1999 09:44:33 +0000 + Subject: message should be rejected +I Message-Id: +F From: CALLER_NAME diff --git a/test/scripts/4000-scanning/4001 b/test/scripts/4000-scanning/4001 new file mode 100644 index 000000000..0234a3d5d --- /dev/null +++ b/test/scripts/4000-scanning/4001 @@ -0,0 +1,50 @@ +# content scan interface: f-protd +# +server PORT_S + +>*eof +**** +# +# +# +exim -odi -bs +ehlo test.ex +mail from:<> +rcpt to: +data +Date: Fri, 17 Dec 2004 14:35:01 +0100 +Subject: message should be accepted + +. +quit +**** +# +# +# +server PORT_S + +> +> +> +>wibble +> +>*eof +**** +# +# +# +exim -odi -bs +ehlo test.ex +mail from:<> +rcpt to: +data +Date: Fri, 17 Dec 2004 14:35:01 +0100 +Subject: message should be rejected + +. +quit +**** diff --git a/test/scripts/4000-scanning/4002 b/test/scripts/4000-scanning/4002 new file mode 100644 index 000000000..201fdf197 --- /dev/null +++ b/test/scripts/4000-scanning/4002 @@ -0,0 +1,75 @@ +# content scan interface: aveserver +# +server DIR/eximdir/aveserver_sock +>200 ready +200 done +200 ready +*eof +**** +# +# +# +exim -odi -bs +ehlo test.ex +mail from:<> +rcpt to: +data +Date: Fri, 17 Dec 2004 14:35:01 +0100 +Subject: message should be accepted + +. +quit +**** +# +# +# +server DIR/eximdir/aveserver_sock +>2xx ready +5xx defer +2xx ready +*eof +**** +# +# +# +exim -odi -bs +ehlo test.ex +mail from:<> +rcpt to: +data +Date: Fri, 17 Dec 2004 14:35:01 +0100 +Subject: defer this one + +. +quit +**** +# +# +# +server DIR/eximdir/aveserver_sock +>2xx ready +322 VNAME found +>2xx ready +2xx ready +*eof +**** +# +# +# +exim -odi -bs +ehlo test.ex +mail from:<> +rcpt to: +data +Date: Fri, 17 Dec 2004 14:35:01 +0100 +Subject: message should be rejected + +. +quit +**** diff --git a/test/scripts/4000-scanning/4003 b/test/scripts/4000-scanning/4003 new file mode 100644 index 000000000..0bfa14e9e --- /dev/null +++ b/test/scripts/4000-scanning/4003 @@ -0,0 +1,62 @@ +# content scan interface: fsecure +# +server DIR/eximdir/fsec_sock +ignored_response +ignored_response +ignored_response +ignored_response +LF>random ignored line +>LF>random ignored line 2 +>LF>OK Scan ok. +*eof +**** +# +# +# +exim -odi -bs +ehlo test.ex +mail from:<> +rcpt to: +data +Date: Fri, 17 Dec 2004 14:35:01 +0100 +Subject: message should be accepted + +. +quit +**** +# +# +# +server DIR/eximdir/fsec_sock +ignored_response +ignored_response +ignored_response +ignored_response +LF>xxxINFECTED blah VNAME blah +>LF>OK Scan ok. +*eof +**** +# +# +# +exim -odi -bs +ehlo test.ex +mail from:<> +rcpt to: +data +Date: Fri, 17 Dec 2004 14:35:01 +0100 +Subject: message should be rejected + +. +quit +**** diff --git a/test/scripts/4000-scanning/4004 b/test/scripts/4000-scanning/4004 new file mode 100644 index 000000000..e6a142930 --- /dev/null +++ b/test/scripts/4000-scanning/4004 @@ -0,0 +1,65 @@ +# content scan interface: sophie +# +server DIR/eximdir/sophie_sock +0 no problems mate +*eof +**** +# +# +# +exim -odi -bs +ehlo test.ex +mail from:<> +rcpt to: +data +Date: Fri, 17 Dec 2004 14:35:01 +0100 +Subject: message should be accepted + +. +quit +**** +# +# +# +server DIR/eximdir/sophie_sock +-1 oops, internal error in scanner +*eof +**** +# +# +# +exim -odi -bs +ehlo test.ex +mail from:<> +rcpt to: +data +Date: Fri, 17 Dec 2004 14:35:01 +0100 +Subject: defer this one + +. +quit +**** +# +# +# +server DIR/eximdir/sophie_sock +LF>1 VNAME +*eof +**** +# +# +# +exim -odi -bs +ehlo test.ex +mail from:<> +rcpt to: +data +Date: Fri, 17 Dec 2004 14:35:01 +0100 +Subject: message should be rejected + +. +quit +**** diff --git a/test/scripts/4000-scanning/4005 b/test/scripts/4000-scanning/4005 new file mode 100644 index 000000000..32a281b03 --- /dev/null +++ b/test/scripts/4000-scanning/4005 @@ -0,0 +1,67 @@ +# content scan interface: clamav +# +# SCAN command interface, on a unix socket, only. No ExtendedDetectionInfo. +# +server DIR/eximdir/clam_sock +LF>scanned_file_name: OK +<*eof +**** +# +# +# +exim -odi -bs +ehlo test.ex +mail from:<> +rcpt to: +data +Date: Fri, 17 Dec 2004 14:35:01 +0100 +Subject: message should be accepted + +. +quit +**** +# +# +# +server DIR/eximdir/clam_sock +LF>scanned_file_name: 666 ERROR +<*eof +**** +# +# +# +exim -odi -bs +ehlo test.ex +mail from:<> +rcpt to: +data +Date: Fri, 17 Dec 2004 14:35:01 +0100 +Subject: defer this one + +. +quit +**** +# +# +# +server DIR/eximdir/clam_sock +LF>scanned_file_name: VNAME FOUND +<*eof +**** +# +# +# +exim -odi -bs +ehlo test.ex +mail from:<> +rcpt to: +data +Date: Fri, 17 Dec 2004 14:35:01 +0100 +Subject: message should be rejected + +. +quit +**** diff --git a/test/stderr/4002 b/test/stderr/4002 new file mode 100644 index 000000000..0fd411cb6 --- /dev/null +++ b/test/stderr/4002 @@ -0,0 +1 @@ +1999-03-02 09:44:33 10HmaX-0005vi-00 malware acl condition: aveserver: unable to scan file TESTSUITE/spool/scan/10HmaX-0005vi-00/10HmaX-0005vi-00.eml (Responded: 5xx defer). diff --git a/test/stderr/4004 b/test/stderr/4004 new file mode 100644 index 000000000..1b8d84454 --- /dev/null +++ b/test/stderr/4004 @@ -0,0 +1 @@ +1999-03-02 09:44:33 10HmaX-0005vi-00 malware acl condition: sophie: scanner reported error diff --git a/test/stderr/4005 b/test/stderr/4005 new file mode 100644 index 000000000..12b19bc57 --- /dev/null +++ b/test/stderr/4005 @@ -0,0 +1 @@ +1999-03-02 09:44:33 10HmaX-0005vi-00 malware acl condition: clamd: ClamAV returned: scanned_file_name: 666 ERROR diff --git a/test/stdout/4001 b/test/stdout/4001 new file mode 100644 index 000000000..2e84f9860 --- /dev/null +++ b/test/stdout/4001 @@ -0,0 +1,43 @@ +220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 +250-myhost.test.ex Hello CALLER at test.ex +250-SIZE 52428800 +250-8BITMIME +250-PIPELINING +250 HELP +250 OK +250 Accepted +354 Enter message, ending with "." on a line by itself +250 OK id=10HmaY-0005vi-00 +221 myhost.test.ex closing connection +220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 +250-myhost.test.ex Hello CALLER at test.ex +250-SIZE 52428800 +250-8BITMIME +250-PIPELINING +250 HELP +250 OK +250 Accepted +354 Enter message, ending with "." on a line by itself +550 Administrative prohibition +221 myhost.test.ex closing connection + +******** SERVER ******** +Listening on port 1224 ... +Connection request from [127.0.0.1] + +>*eof +End of script +Listening on port 1224 ... +Connection request from [127.0.0.1] + +> +> +> +>wibble +> +>*eof +End of script diff --git a/test/stdout/4002 b/test/stdout/4002 new file mode 100644 index 000000000..1987803c7 --- /dev/null +++ b/test/stdout/4002 @@ -0,0 +1,63 @@ +220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 +250-myhost.test.ex Hello CALLER at test.ex +250-SIZE 52428800 +250-8BITMIME +250-PIPELINING +250 HELP +250 OK +250 Accepted +354 Enter message, ending with "." on a line by itself +250 OK id=10HmaZ-0005vi-00 +221 myhost.test.ex closing connection +220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 +250-myhost.test.ex Hello CALLER at test.ex +250-SIZE 52428800 +250-8BITMIME +250-PIPELINING +250 HELP +250 OK +250 Accepted +354 Enter message, ending with "." on a line by itself +451 Temporary local problem - please try later +221 myhost.test.ex closing connection +220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 +250-myhost.test.ex Hello CALLER at test.ex +250-SIZE 52428800 +250-8BITMIME +250-PIPELINING +250 HELP +250 OK +250 Accepted +354 Enter message, ending with "." on a line by itself +550 Administrative prohibition +221 myhost.test.ex closing connection + +******** SERVER ******** +Listening on TESTSUITE/eximdir/aveserver_sock ... +Connection request +>200 ready +200 done +200 ready +Expected EOF read from client +End of script +Listening on TESTSUITE/eximdir/aveserver_sock ... +Connection request +>2xx ready +5xx defer +2xx ready +Expected EOF read from client +End of script +Listening on TESTSUITE/eximdir/aveserver_sock ... +Connection request +>2xx ready +322 VNAME found +>2xx ready +2xx ready +Expected EOF read from client +End of script diff --git a/test/stdout/4003 b/test/stdout/4003 new file mode 100644 index 000000000..e0241c121 --- /dev/null +++ b/test/stdout/4003 @@ -0,0 +1,55 @@ +220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 +250-myhost.test.ex Hello CALLER at test.ex +250-SIZE 52428800 +250-8BITMIME +250-PIPELINING +250 HELP +250 OK +250 Accepted +354 Enter message, ending with "." on a line by itself +250 OK id=10HmaY-0005vi-00 +221 myhost.test.ex closing connection +220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 +250-myhost.test.ex Hello CALLER at test.ex +250-SIZE 52428800 +250-8BITMIME +250-PIPELINING +250 HELP +250 OK +250 Accepted +354 Enter message, ending with "." on a line by itself +550 Administrative prohibition +221 myhost.test.ex closing connection + +******** SERVER ******** +Listening on TESTSUITE/eximdir/fsec_sock ... +Connection request +ignored_response +ignored_response +ignored_response +ignored_response +LF>random ignored line +>LF>random ignored line 2 +>LF>OK Scan ok. +Expected EOF read from client +End of script +Listening on TESTSUITE/eximdir/fsec_sock ... +Connection request +ignored_response +ignored_response +ignored_response +ignored_response +LF>xxxINFECTED blah VNAME blah +>LF>OK Scan ok. +Expected EOF read from client +End of script diff --git a/test/stdout/4004 b/test/stdout/4004 new file mode 100644 index 000000000..ceeb9e2a2 --- /dev/null +++ b/test/stdout/4004 @@ -0,0 +1,53 @@ +220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 +250-myhost.test.ex Hello CALLER at test.ex +250-SIZE 52428800 +250-8BITMIME +250-PIPELINING +250 HELP +250 OK +250 Accepted +354 Enter message, ending with "." on a line by itself +250 OK id=10HmaZ-0005vi-00 +221 myhost.test.ex closing connection +220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 +250-myhost.test.ex Hello CALLER at test.ex +250-SIZE 52428800 +250-8BITMIME +250-PIPELINING +250 HELP +250 OK +250 Accepted +354 Enter message, ending with "." on a line by itself +451 Temporary local problem - please try later +221 myhost.test.ex closing connection +220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 +250-myhost.test.ex Hello CALLER at test.ex +250-SIZE 52428800 +250-8BITMIME +250-PIPELINING +250 HELP +250 OK +250 Accepted +354 Enter message, ending with "." on a line by itself +550 Administrative prohibition +221 myhost.test.ex closing connection + +******** SERVER ******** +Listening on TESTSUITE/eximdir/sophie_sock ... +Connection request +0 no problems mate +Expected EOF read from client +End of script +Listening on TESTSUITE/eximdir/sophie_sock ... +Connection request +-1 oops, internal error in scanner +Expected EOF read from client +End of script +Listening on TESTSUITE/eximdir/sophie_sock ... +Connection request +LF>1 VNAME +Expected EOF read from client +End of script diff --git a/test/stdout/4005 b/test/stdout/4005 new file mode 100644 index 000000000..7b7dbdcb6 --- /dev/null +++ b/test/stdout/4005 @@ -0,0 +1,53 @@ +220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 +250-myhost.test.ex Hello CALLER at test.ex +250-SIZE 52428800 +250-8BITMIME +250-PIPELINING +250 HELP +250 OK +250 Accepted +354 Enter message, ending with "." on a line by itself +250 OK id=10HmaZ-0005vi-00 +221 myhost.test.ex closing connection +220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 +250-myhost.test.ex Hello CALLER at test.ex +250-SIZE 52428800 +250-8BITMIME +250-PIPELINING +250 HELP +250 OK +250 Accepted +354 Enter message, ending with "." on a line by itself +451 Temporary local problem - please try later +221 myhost.test.ex closing connection +220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 +250-myhost.test.ex Hello CALLER at test.ex +250-SIZE 52428800 +250-8BITMIME +250-PIPELINING +250 HELP +250 OK +250 Accepted +354 Enter message, ending with "." on a line by itself +550 Administrative prohibition +221 myhost.test.ex closing connection + +******** SERVER ******** +Listening on TESTSUITE/eximdir/clam_sock ... +Connection request +LF>scanned_file_name: OK +Unexpected EOF read from client +End of script +Listening on TESTSUITE/eximdir/clam_sock ... +Connection request +LF>scanned_file_name: 666 ERROR +Unexpected EOF read from client +End of script +Listening on TESTSUITE/eximdir/clam_sock ... +Connection request +LF>scanned_file_name: VNAME FOUND +Unexpected EOF read from client +End of script