It can take a lot of work to filter spam.
However even under a very slow box I was still hitting <30 seconds.
(slow: Epia Via 500MHz 512MB RAM)
I would first review your database performance.
On Dec 31, 2006, at 8:09 AM, Dave Shariff Yadallee - System
Administrator a.k.a. The Root of the Problem wrote:
Using Sendmail 8.13.8 and my set up configuration is:
CC=/usr/bin/gcc CXX=/usr/bin/g++ CFLAGS="-g -DDEBUG -O9 -Wall -
march=i686" \
CXXFLAGS=-Wno-deprecated CPPFLAGS=-Wno-deprecated \
CPPFLAGS="-I/usr/X11/include -I/usr/include -I/usr/contrib/include" \
LDFLAGS="-L/usr/lib -L/usr/contrib/lib -L/usr/X11R6/lib" \
M4=/usr/contrib/bin/m4 \
./configure \
--prefix=/usr/contrib \
--localstatedir=/var \
--infodir=/usr/share/info \
--mandir=/usr/share/man \
--enable-dependency-tracking \
--enable-shared=yes \
--enable-static=yes \
--enable-fast-install=yes \
--disable-ldap \
--enable-clamav \
--enable-debug \
--enable-syslog \
--enable-bnr-debug \
--disable-homedir \
--disable-mysql4-initialization \
--disable-preferences-extension \
--disable-long-usernames \
--enable-domain-scale \
--enable-warnings=yes,proto \
--disable-profiling \
--with-dspam-home=/var/spam \
--with-dspam-home-mode=2770 \
--with-dspam-home-owner=root \
--with-dspam-home-group=smmsp \
--with-logfile=/var/log/dspam.log \
--with-dspam-mode=2555 \
--with-dspam-owner=root \
--with-dspam-group=smmsp \
--with-delivery-agent=/usr/bin/procmail \
--with-logdir=/var/dspam/log \
--with-storage-driver=hash_drv
Without dspam, mail get through in less than one minute, and with
dspam
as per instructions, mail can take 2+ minutes if lucky.
Can anyone tell me why this overhead is present?
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.