> > Q) With spamassassin (and all the above info) you need 
> about 20 to 30 
> > seconds per email message and LOTS of RAM and CPU:
> >     a) TRUE
> >     b) FALSE
> My answer is b), False.
> I have a mailserver here that has a 1Ghz CPU and 512MB RAM 
> and SA on that server usually takes 2 or 3 seconds per message.
> Like already posted, some of your rulesets are unnecessary 
> because they are included in SA (standard rulesets or SURBL).
> Did you check 'cat messages | spamassassin -D' to see what 
> part takes most time? DNS time-outs can take a lot of time 
> for example (also checkable with tcpdump port 53).
> Also your SMTP-server (xmail?) takes a lot of cpu. I've never 
> used Xmail but I use postfix (and amavisd-new) and I think 
> it's quite memory and CPU efficient.


For a 2.4GHz Celeron with 1GB RAM, SA + Postfix hooked to a mysql DB I
second that!
However on slow boxes I've seen SA doing 15seconds tests but CPU never
climbed to 20-30%.
The tests took so long because of a mixture of rulesets for SA < v3.x
and SA >= v3.x. After cleaning up the mess perfomance gain was here
immediately.
If there are problems with dns, you are advised to use a DNS cache
right on the SA box or at least one that's physically in the same
network / subnet.

Philipp

Reply via email to