Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 02 Mar 2009 10:58:20 -0300
From:      Mikhail Goriachev <mikhailg@webanoide.org>
To:        Andrew Moran <sneepre@me.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: SpamAssassin/Perl eating enormous amounts of memory?
Message-ID:  <49ABE5FC.40009@webanoide.org>
In-Reply-To: <8806A36E-A839-481A-8E59-9F79DEB6B51A@me.com>
References:  <8806A36E-A839-481A-8E59-9F79DEB6B51A@me.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Andrew Moran wrote:

[...]

> Has anyone heard of this?   Or any pointers on what I can do to figure  
> out what is causing it?
> 
> Your advice is much appreciated.

As an alternative:

You could try mail/mimedefang. It calls spamassassin to evaluate an
e-mail but without having it running all the time. This can solve your
problem of running out of memory.

For instance, sendmail could be the first line of defence with its own
rules (rDNS, noMX, RBLs and what not). Then mimedefang with a set of
rules to further reject dodgy e-mails (helo/ehlo, spoofings, SPF and so
on). After that, spamassassin comes into play (controlled by
mimedefang), but only at the end as a last line of defence. By the time
it gets to the end, a lion's share has already been rejected and that
means less work for spamassassin.


I hope this helps.


Regards,
Mikhail.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49ABE5FC.40009>