UPD.
In dspam.conf I posted, mysql storage driver was mistakenly commented out
instead of hash.
But it doesn't make any difference - I still got the errors I mentioned at the
the same conditions.
From: Костырев Александр Алексеевич [mailto:a.kosty...@serverc.ru]
Sent: Tuesday, May 29, 2012 5:53 PM
To: dspam-user@lists.sourceforge.net
Subject: [Dspam-user] Connection reset by peer
Good day!
Can somebody help with this error?
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/4Jaa0ZY0
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 == te...@domain1.ru 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 == te...@domain2.ru 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 == c...@domain3.ru 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
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
But it doesn't helped.
Any help?
thanks in advance!
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Dspam-user mailing list
Dspam-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-user