Hi there, are there rules to check the size of a message?
Or can these be easily constructed? We're using SpamAssassin as a library from within MailScanner. This is called for every message passing thru a mail server, so, for heavy used servers, there was an option to not call SA when the message was larger than a configured size. After a while, this mechanism changed and now the messages are truncated to that size before invoking SA. The problem is that, usually, large messages are MIME multipart and, when you truncate a MIME multipart message, you will almost surely hit MIME_MISSING_BOUNDARY since you cut off at least one closing MIME boundary. Now, I don't want to lower the score for this rule since there's a lot of spam whose MIME is mangled and this rule is quite good. What I'd like to do is to have a 'nice' rule to compensate this rule on messages above a configured size. If this is not readily possible, I'd like to know where's the correct place to add custom eval test. You just edit EvalTest.pm? TIA -- Mariano Absatz El Baby ---------------------------------------------------------- A flashlight is a case for holding dead batteries.
