X-Git-Url: https://git.exim.org/users/jgh/exim.git/blobdiff_plain/c11d665dab975691024f9231ad93c65bef7e5df4..67fff935faa625a5ee69087e7d34bce34ee03d77:/test/scripts/4000-scanning/4001 diff --git a/test/scripts/4000-scanning/4001 b/test/scripts/4000-scanning/4001 index a660f6805..060e4d148 100644 --- a/test/scripts/4000-scanning/4001 +++ b/test/scripts/4000-scanning/4001 @@ -1,38 +1,72 @@ -# ACL regex= test -# -# These tests are copies from testcase 4000; -# they should be removed from there but I don't -# run spamassassin so can't verify the change. -# -exim -odi -bs -ehlo test.ex -mail from:<> -rcpt to: -data -From: Test person -To: Me -Subject: A real test message -Date: Fri, 17 Dec 2004 16:13:04 +0100 -Message-ID: <41C2F849.3060203@projectile.test.ex> - -OK, this should look like a genuine message. +# 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 -**** -exim -odi -bs -ehlo test.ex -mail from:<> -rcpt to: -data -From: Test person -To: Me -Subject: A real test message -Date: Fri, 17 Dec 2004 16:13:04 +0100 -Message-ID: <41C2F849.3060203@projectile.test.ex> -FakeReject: test fakereject - -OK, this should look like a genuine message, but -it will trip on THIS gazornenplaz REGEX. +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-- + +. +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-- + +. +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 ****