Linux wrote:
Does anybody have a patch that allows for a size check of the mailing coming
in?  I hate to add load to the server scanning a 3 meg file for spam.  I am
willing to bet that 90% of the worlds spam is under 200k in size.  I would
like to skip the Spamassassin subroutine if the message is larger than X.

man spamc:


-s max_size
Set the maximum message size which will be sent to spamd -- any bigger than this threshold and the message will be returned unprocessed. Note that the default size is 250k, so if spamc gets handed a message bigger than this, it won't be passed to spamd. The size is specified in bytes, and if you send it a negative number, things are quite likely to break very hard.




-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Qmail-scanner-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to