Dear Tristan Rhodes,

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!

We're looking at Spamcopuri, an interface to SURBL, a spam checking mechanism based on domain names found in mail body. But, this could prove to be slow, if you receive a lot of HTML mails with a lot of links in it.


Other SURBL implementations are SpamBouncer, j-chkmail etc. But, once the no.of mails increase to 100000s per day, the network latency becomes a bottleneck, so a local cache of the SURBL list using periodic rsync is the only solution. Also, DNS is used to RBL check the domains, which means extra firewall configuration stuff...

Eager to hear any suggestions on this from everybody.

cheers,
Karthikeyan, S.
--
S.Karthikeyan | Ph: +91 (0) 44 52166646 Fax: +91 (0) 44 52079957
Opencomputing Technologies | http://opencompt.com
Server Side E-Mail Protection.


------------------------------------------------------- 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