Dan Jacobson <[EMAIL PROTECTED]> writes: > How does one add more points according to message size? > Maybe I must check for a Lines: header, then what? > Anyway, say I want to add 2 points per 100 KB. > i.e. $message_size/50000
You'd have to write an eval rule. You could use Lines: and estimate the number of characters per line based on the past average (use long messages for your estimate so it'll be more accurate). Note that it would not be a very good rule. I'd advise against it. Longer messages tend to be viruses (which can be filtered using more precise means) or ham. Spam tends to be somewhat shorter. For my corpus which includes no viruses: ham: average = 8093 bytes (including header), std deviation = 123857 bytes spam: average = 6173 bytes (including header), std deviation = 9567 bytes Daniel -- Daniel Quinlan anti-spam (SpamAssassin), Linux, and open http://www.pathname.com/~quinlan/ source consulting (looking for new work) ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk