Yes, I believe it is the custom Spamassassin rulesets that are using more memory. One change that has been discussed on the MailScanner mailing list is to stop using the BigEvil ruleset and replace it with Mail::SpamAssassin::SpamCopURI .

http://sourceforge.net/projects/spamcopuri/

BigEvil has been getting really large, so when I deleted the BigEvil ruleset it saved 30 MB per processes (MailScanner defaults to 5 processes) so that saved me 150 MB of memory usage. It probably processes a lot faster now too.

The Spamcopuri program does RBL lookups on the content of an email (links, pictures, etc.). It doesn't take much memory, but it is useful to have a caching-DNS server.

To delete only the BigEvil ruleset, delete the "bigevil.cf" file. Then edit the file "my_rules_du_jour" and remove the word "BIGEVIL" from the line that looks like this...

Before:
TRUSTED_RULESETS="TRIPWIRE ANTIDRUG EVILNUMBERS RANDOMVAL BOGUSVIRUS BIGEVIL"

After:
TRUSTED_RULESETS="TRIPWIRE ANTIDRUG EVILNUMBERS RANDOMVAL BOGUSVIRUS"

Then restart OpenProtect.

P.S.
I want to discuss with S. Karthikeyan the default rulesets included with Openprotect.  
Thanks!

Tristan Rhodes


S Karthikeyan wrote:
Dear Matt Bullock,

Running redhat 9, version 5.0.1.5,

Ran openprotect-uninstall, then installed 5.0.1.7.  It started fine, but
once I made any changes to Mailscanner.conf and restarted openprotect, I
started getting messages that spamassassin was timing out.  Mail
wouldn't process any further, and it would just sit in the queue.  I
tried reinstalling, then uninstalling and reinstalling.  Same problem as
before - as soon as I restarted openprotect spamassassin would time out.


I noticed after I installed 5.0.1.7, almost all physical memory was in
use, and about 256 meg of swap was in use. Does the new version require
more memory than I have?


You should probably set this in /etc/MailScanner/MailScanner.conf:

SpamAssassin Local Rules Dir =

instead of the default

SpamAssassin Local Rules Dir = /etc/MailScanner/SA/RulesDuJour

This set of rulesets should've caused the extra delay in SpamAssassin processing.


cheers, Karthikeyan, S.

-- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support.



-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Opencomputing-openprotect mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opencomputing-openprotect

Reply via email to