Ruleset not accepted
MailScanner at ecs.soton.ac.uk
Wed Mar 11 20:22:19 GMT 2009
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/Config.pm 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
> # 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
> # 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?
I have changed the ConfigDefs.pl to reflect the correct situation.
You can fix this by moving the definition of MaxSpamCheckSize from
[Simple,Number] to [First,Number] in ConfigDefs.pl.
Julian Field MEng CITP CEng
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
PGP public key: http://www.jules.fm/julesfm.asc
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the MailScanner