Guys, I've followed the instruction in http://wiki.apache.org/spamassassin/FasterPerformance and run `sa-compile` (after installed re2c), but the problem still exists. Since some-one had said that it might be a DNS problem, I stopped using Mail::SpamAssassin::Plugin::DNSEval plugin (put a # character in the v320.pre file). Is there something that I can do to prevent spamd eat my CPU to 99.9%? FYI, below is how I configured spamassassin:
#!/bin/sh ./configure --enable-ripmime --enable-attach=y \ --enable-quarantinedir=y --enable-spam=y --enable-spam-hits=4 \ --enable-custom-smtp-reject=n --enable-clamdscan=/usr/bin/clamdscan \ --enable-dropmsg=n --enable-qmaildir=/var/qmail \ --enable-qmail-queue=/var/qmail/bin/qmail-queue \ --enable-clamavdb-path=/var/lib/clamav/db --enable-sigtool-path=/usr/bin/sigtool \ --enable-per-domain=y --enable-received=y --enable-spam-auth-user=y I believe restarting spamassassin each 5 minutes is not a clever solution - or is it(?). Thank-you for your help. Regards,