diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2020-03-01 14:05:43 +0000 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2020-03-01 15:10:32 +0000 |
commit | b273058b341903372bdebe67d2960e4f8d2d8689 (patch) | |
tree | 1140121e22e294bc5b118ab0fd76df6c6c0dcbb1 /test/scripts/4000-scanning/4004 | |
parent | 84a655513611641b55a8f46c13ee0e3cb141477f (diff) |
Fix $mime_part_count for non-mime message on multi-message connection. Bug 2537
Diffstat (limited to 'test/scripts/4000-scanning/4004')
-rw-r--r-- | test/scripts/4000-scanning/4004 | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/test/scripts/4000-scanning/4004 b/test/scripts/4000-scanning/4004 new file mode 100644 index 000000000..e5a7c9492 --- /dev/null +++ b/test/scripts/4000-scanning/4004 @@ -0,0 +1,51 @@ +# content scan interface: rspamd +# +# The spooled file for scanning includes the test-runner's user name +# hence size varies. Munge that. +munge scanfile_size +# +server 11333 +<CHECK RSPAMC/1.3 +<Content-length: +<Queue-Id: +<From: +<Recipient-Number: 1 +<Rcpt: +<Helo: +<User: +< +<From +<X-Envelope-From +<X-Envelope-To +<Received: +< by +< (envelope +< id +< for +<From: +<Content-type: text/plain +<Message-Id: +<Sender: +<Date: +< +<test +>RSPAMD/1.3 0 EX_OK +>Metric: default; True; 15.00 / 15.00 / 0.0 +>Action: reject +>Symbol: FAKE_SYMBOL_A(15.00) +>Symbol: FAKE_SYMBOL_B(0.00) +>Message-ID: undef +*eof +**** +exim -odi -bs +ehlo test.ex +mail from:<> +rcpt to:<userx@test.ex> +data +From: MAILER_DAEMON <> +Content-type: text/plain + +test +. +quit +**** |