Ruleset not accepted

Julian Field MailScanner at
Wed Mar 11 20:24:21 GMT 2009

I have just released 4.75.8-4 to account for this fix.

On 11/3/09 19:55, Denis Beauchemin wrote:
> Hello Julian,
> I am trying to use a ruleset for Max Spam Check Size and it gives this 
> error when I lint:
> Value of maxspamchecksize cannot be a ruleset, only a simple value at 
> /usr/lib/MailScanner/MailScanner/ line 2889
> but MailScanner.conf says:
> # Spammers do not have the power to send out huge messages to everyone as
> # it costs them too much (more smaller messages makes more profit than 
> less
> # very large messages). So if a message is bigger than a certain size, it
> # is highly unlikely to be spam. Limiting this saves a lot of time 
> checking
> # huge messages.
> # Disable this option by setting it to a huge value.
> # This is measured in bytes.
> # This can also be the filename of a ruleset.
> Max Spam Check Size = %rules-dir%/max.spam.check.size.rules
> If it cannot use a ruleset, please correct the comments in MS.conf... 
> OTOH, I would really like to use a ruleset there... Any chance you 
> could provide me with a diff for MS 4.74.16 to correct the situation?
> Thanks again!
> Denis


Julian Field MEng CITP CEng
Buy the MailScanner book at

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
PGP public key:

This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

More information about the MailScanner mailing list