X-Git-Url: https://git.exim.org/users/jgh/exim.git/blobdiff_plain/0e42da1b15894b66e3726d8ce0e41e25bdc21149..3f0f8e6c10e1beb36d335c02692466c8911e4942:/test/scripts/4000-scanning/4001 diff --git a/test/scripts/4000-scanning/4001 b/test/scripts/4000-scanning/4001 index 25a676e04..060e4d148 100644 --- a/test/scripts/4000-scanning/4001 +++ b/test/scripts/4000-scanning/4001 @@ -1,93 +1,72 @@ -# content scan interface: f-protd -# -server PORT_S - ->*eof -**** -# -# -# -exim -odi -bs -DOPT= -ehlo test.ex -mail from:<> -rcpt to: -data -Date: Fri, 17 Dec 2004 14:35:01 +0100 -Subject: message should be accepted +# multiple messages in connection + +exim -bh 127.0.0.1 +EHLO mailserver.test +MAIL FROM: +RCPT TO: +DATA +From: sender@test.ex +To: heiko@test.ex +Subject: test no attachment + +This is a test mailing . -quit -**** -# -# -# -server PORT_S - -> -> -> ->wibble -> ->*eof -**** -# -# -# -exim -odi -bs -DOPT= -ehlo test.ex -mail from:<> -rcpt to: -data -Date: Fri, 17 Dec 2004 14:35:01 +0100 -Subject: message should be rejected +MAIL FROM: +RCPT TO: +DATA +From: sender@test.ex +To: heiko@test.ex +Subject: test with attachment +MIME-Version: 1.0 +Content-Type: multipart/mixed; boundary="----=_MIME_BOUNDARY_000_431036" + +------=_MIME_BOUNDARY_000_431036 +Content-Type: text/plain + +This is a test mailing +------=_MIME_BOUNDARY_000_431036 +Content-Type: application/octet-stream +Content-Disposition: attachment +Content-Transfer-Encoding: BASE64 + +U2F0IEZlYiAyOSAxNDo1ODowMyBDRVQgMjAyMAo= + +------=_MIME_BOUNDARY_000_431036-- -due to the server response (above) . -quit -**** -# -# -# -server PORT_S - -rcpt to: -data -Date: Fri, 17 Dec 2004 14:35:01 +0100 -Subject: message should be deferred due to timeout +MAIL FROM: +RCPT TO: +DATA +From: sender@test.ex +To: heiko@test.ex +Subject: test with attachment +MIME-Version: 1.0 +Content-Type: multipart/mixed; boundary="----=_MIME_BOUNDARY_000_431036" + +------=_MIME_BOUNDARY_000_431036 +Content-Type: text/plain + +This is a test mailing +------=_MIME_BOUNDARY_000_431036 +Content-Type: application/octet-stream +Content-Disposition: attachment +Content-Transfer-Encoding: BASE64 + +U2F0IEZlYiAyOSAxNDo1ODowMyBDRVQgMjAyMAo= + +------=_MIME_BOUNDARY_000_431036-- . -quit -**** -# -# -# -server PORT_S - -rcpt to: -data -Date: Fri, 17 Dec 2004 14:35:01 +0100 -Subject: message should be accepted despite timeout +MAIL FROM: +RCPT TO: +DATA +From: sender@test.ex +To: heiko@test.ex +Subject: test no attachment + +This is a test mailing ($(date "+%F %T")) . -quit +QUIT ****