procmail
[Top] [All Lists]

Re: Spamassassin CPU Time

2004-02-12 22:20:30
More searching has turned up that if I modify the following recipe as
shown then my CPU usage is barely noticable on large mail fetches. This
will be end of thread.

#Spamassassin
#pipe the email through SpamAssassin
#:0fw: spamassassin.lock        #Lock file tries to prevent spamassassin
from using too much memory as procmail will start multiple instances 
:0fw:                           #Lock file not needed with spamc
* < 256000                              #process email messages smaller
than 250 kB
| /usr/bin/spamc
#| /usr/bin/spamassassin
---
On Fri, 2004-02-13 at 13:09, Marvin Pierce wrote:
I'm replying to a post that Gary Funck sent to me direct (at bottom of
this transmittal). 

I've been searching the web to find out info but alas, there is little
in the way of a good howto on spamassassin.

I'm using:
razor        2.361-3        spam-catcher using a collaborative filtering
spamassassin   2.63-1         Perl-based spam filter using text analysis
spamc        2.63-1         Client for perl-based spam filtering daemon

Out of what I have found, I need to limit the number of processes that
spamd uses with the option -m 7 (-m7) as my machine has 512Kb ram with
1.3Mhz CPU and I'm using several other I/O intensive programs. 

I have not found a way to enabled this by default. 

Question is, can anyone tell me how I enable this. I don't think spamd
is running as a daemon by default. 

Marvin 
---
On Thu, 2004-02-12 at 03:54, Gary Funck wrote:
 

Is there a way to speed up spamassassin, i.e., running everything thru
spamc as the daemon is already running?

Yup. You definitely want to run spamc/spamd. Also, read over some of the
various material on the spamassassin.org Wiki on tuning spamd, so that
it doesn't spawn too many processes. Also, make sure and use the latest
Spamassassin (2.63).




_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail




_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>