Rajesh M wrote:
hi

is there a way to set the maximum size for spamassassin scanning

for example i want only those emails that are less than 50 kb to be
scanned for spam.

thanks
rajesh

---------------------------------------------------------------------------------

Yes, but it's not trivial, and it apparently can only be done system wide.

There is an argument to spamc (-s) which controls this. Since simscan invokes spamc, simscan needs to give this parameter to spamc. This is done by configuring simscan (at build time) with the --enable-spamc-args="-s 51200" option. In order to do this, you need to edit the simscan-toaster.spec file appropriately, rebuild the binary rpm using the modified .spec file, then reinstall simscan-toaster.

You might contact the simscan developers and request that they add this as an option that can be included in the simcontrol file. ;)

--
-Eric 'shubes'


---------------------------------------------------------------------------------
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
     If you need professional help with your setup, contact them today!
---------------------------------------------------------------------------------
    Please visit qmailtoaster.com for the latest news, updates, and packages.
To unsubscribe, e-mail: [email protected]
    For additional commands, e-mail: [email protected]


Reply via email to