Good day!
Does anybody use exim+dspam?
I am using
centos 6.2 x86_64
exim-4.72
mysql-5.1.61
dovecot 2.0.9 (lmtp)
dspam --version
DSPAM Anti-Spam Suite 3.10.2 (agent/library)
Configuration parameters: '--host=x86_64-unknown-linux-gnu' '--build=x86_64-unknown-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--enable-long-usernames' '--enable-syslog' '--enable-large-scale' '--enable-clamav' '--disable-domain-scale' '--disable-homedir' '--enable-virtual-users' '--enable-preferences-extension' '--with-mysql-includes=/usr/include/mysql' '--with-mysql-libraries=/usr/lib64/mysql' '--with-pgsql-includes=/usr/include/pgsql' '--with-pgsql-libraries=/usr/lib64' '--enable-daemon' '--enable-debug' '--enable-external-lookup' '--with-storage-driver=hash_drv,mysql_drv,pgsql_drv,sqlite3_drv' '--with-dspam-home=/var/lib/dspam' '--with-dspam-owner=dspam' '--with-dspam-group=mail' '--with-dspam-home-group=mail' '--with-dspam-mode=2511' '--with-logdir=/var/log/dspam' '--sysconfdir=/etc' 'build_alias=x86_64-unknown-linux-gnu' 'host_alias=x86_64-unknown-linux-gnu' 'CFLAGS=-O2 -g'
flow of mail is like that:
MTA->DSPAM->MTA->Dovecot(LTMP)->mailbox
I'm trying to squeeze max perfomance from all of the components, so i use exim without any limitations.
Configs are:
dspam:
http://pastebin.com/jCcizPZu
exim:
http://pastebin.com/sGGxtvUi
the only problem so far is:
I send a lots of letters (about 15000) from my other host through smtp to this host and when amount of letters in exim queue is > 1000
I got this errors in
/var/log/exim/main.log
2012-05-29 17:31:28 1SZFxo-0004rG-3r == test3@??? R=dspam_router T=dspam_spamcheck_socket defer (104): Connection reset by peer: NULL: Connection reset by peer
2012-05-29 17:31:28 1SZFxo-0004rG-82 == test2@??? R=dspam_router T=dspam_spamcheck_socket defer (104): Connection reset by peer: NULL: Connection reset by peer
2012-05-29 17:31:28 1SZFxo-0004ru-Nh == croc@??? R=dspam_router T=dspam_spamcheck_socket defer (104): Connection reset by peer: NULL: Connection reset by peer
domain[1-3].ru - is my local domains
in /var/log/dspam/dspam.debug I can't see any errors or warnings - the proccessing continues like that
http://pastebin.com/uhy26yzL
so in /var/log/maillog I keep getting
May 29 17:35:52 mail-01 dspam[9035]: innocent message from 2.184.250.140
At first I thought about limitations by /etc/security/limits.conf, so I added
dspam soft nofile 384022
dspam hard nofile 384022
dovecot soft nofile 384022
dovecot hard nofile 384022
exim soft nofile 384022
exim hard nofile 384022
vmail soft nofile 384022
vmail hard nofile 384022
root soft nofile 384022
root hard nofile 384022
dspam soft nproc 55000
dspam hard nproc 55000
exim soft nproc 55000
exim hard nproc 55000
clamav soft nproc 55000
clamav hard nproc 55000
dovecot soft nproc 55000
dovecot hard nproc 55000
root soft nproc 55000
root hard nproc 55000
But it doesn't helped - I've monitored through lsof - none of the above values is ever reached (not even closely).
Any help?
thanks in advance!