[TriLUG] more spamassassin, procmail, sendmail

Tanner Lovelace lovelace at wayfarer.org
Wed Apr 16 17:11:59 EDT 2003


On Wed, 2003-04-16 at 16:53, Jeremy Portzer wrote:

> Yeah, spamassassin is not instantaneous. It runs a LOT of tests on the
> email.  It is known for using lots of RAM; 192 MB is not a huge amount,
> especially if you're running X, so your kernel might have to start
> swapping when running SA.  Swapping of course slows things down
> tremendously.

That's a good reason not to call spamassassin directly but to use
spamd and spamc.  The folks who created spamassassin realized
they use a lot of memory so they created a daemon program called
spamd (spam daemon).  This starts up at system startup and runs
continuously.  Then, instead of calling spamassassin from procmail, you
instead call spamc (spam client), which is a lightweight process
that starts up quickly and doesn't use a lot of memory.  It connects
to the spamd process to do it's scoring.  That way, you only have 
one spamassassin process in memory at a time.

Cheers,
Tanner
-- 
Tanner Lovelace | lovelace(at)wayfarer.org | http://wtl.wayfarer.org/
--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--
GPG Fingerprint = A66C 8660 924F 5F8C 71DA  BDD0 CE09 4F8E DE76 39D4
GPG Key can be found at http://wtl.wayfarer.org/lovelace.gpg.asc
--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--
<refrain>
1. Creativity and innovation always builds on the past.
2. The past always tries to control the creativity that builds upon it.
3. Free societies enable the future by limiting this power of the past.
4. Ours is less and less a free society.
</refrain>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://www.trilug.org/pipermail/trilug/attachments/20030416/a0fa4421/attachment.pgp>


More information about the TriLUG mailing list