Ruleset not accepted
Denis Beauchemin
Denis.Beauchemin at USherbrooke.ca
Wed Mar 11 20:27:45 GMT 2009
Thanks again, Julian! :)
Denis
Julian Field a écrit :
>
>
> 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 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?
> 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.
>
> Jules
>
--
_
°v° Denis Beauchemin, analyste
/(_)\ Université de Sherbrooke, S.T.I.
^ ^ T: 819.821.8000x62252 F: 819.821.8045
More information about the MailScanner
mailing list