[Mimedefang] SpamAssassin via mimedefang is slow

Joseph Brennan brennan at columbia.edu
Fri Nov 7 10:43:11 EST 2008



--On Friday, November 7, 2008 9:48 -0500 "Kevin A. McGrail" 
<kmcgrail at pccc.com> wrote:

>> Humm, well I replaced spam_assassin_check() with my own sa_check() and
>> now  it's smoking fast, it matches the speed I get from running it
>> manually.
>
> You should run spamassassin with -D and compare the two outputs.  I would
> guess on one you are running network tests, Bayes, AWL, etc. and on the
> other, you are not.


I compared for about 5 minutes and find sa_check to be about 4 times
faster.  It's not because of network tests.

I did this before seeing David's note about memory leaks, so that's
not taken into account yet.

Joe Brennan






More information about the MIMEDefang mailing list