Bug in "Max Spamassassin Size" parameter parsing - MailScanner
4. 56.7-2
Julian Field
MailScanner at ecs.soton.ac.uk
Fri Oct 6 21:21:43 IST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I have added this to Sendmail. I will add it to other MTA's once someone
has tested it for me.
I aim to produce another beta this weekend, so please test this and I
will then write it for the other MTAs but not before!
Randal, Phil wrote:
> I'd set
>
> Max Spamassassin Size = 40k
>
> and spamassassin was only scoring on headers, and hitting my
> L_MISSING_BODY rule.
>
> # must use 'rawbody' as 'body' also includes Subject: header text
> # see if message rawbody contains at least -one- non-blank character
> rawbody __MSG_RAW_EXISTS /\S/
> # Nope, declare the message to be missing the body
> meta L_MISSING_BODY ! __MSG_RAW_EXISTS
> describe L_MISSING_BODY Message body empty
> score L_MISSING_BODY 0.5
>
> Changing it to
>
> Max Spamassassin Size = 40000
>
> fixes the problem.
>
> Cheers,
>
> Phil
>
> --
> Phil Randal
> Network Engineer
> Herefordshire Council
> Hereford, UK
>
Jules
- --
Julian Field
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store
MailScanner customisation, or any advanced system administration help?
Contact me at Jules at Jules.FM
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
For all your IT requirements visit www.transtec.co.uk
-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 9.5.0 (Build 1112)
Comment: Fetch my public key foot-print from www.mailscanner.info
Charset: ISO-8859-1
wj8DBQFFJrrYEfZZRxQVtlQRAl+xAKDG+RSf/Q0TVFZrUt/YDJDGBdDNnACfR18I
VAjyQO6MHaS8ercyAc8x7F8=
=SYi9
-----END PGP SIGNATURE-----
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
For all your IT requirements visit www.transtec.co.uk
More information about the MailScanner
mailing list