PDA

View Full Version : spamassassin file size limit


johnww
5th March 2005, 07:07 AM
We are using SpamAssassin with server-wide settings only. I find that when large files are being processed, spamd takes up a large percent of CPU. Since large files are almost never spam, I would like to configure so that SpamAssassin is not invoked for file above file size X.

How can I implement such a file size limit?

hostcorp
20th March 2005, 10:19 PM
Edit the max file size in the file /usr/local/psa/bin/psa-spamc

The default max file size is 256kb