Re: [exim] spamd connection timing out

Góra strony
Delete this message
Reply to this message
Autor: Sujit Acharyya-Choudhury
Data:  
Dla: exim-users
Temat: Re: [exim] spamd connection timing out
Just to clarify the exim spamd config is as follows in the data section:





    warn        condition = ${if and{\


                {!eq {${substr_0_6:$sender_host_address}}{161.74}}\


                {< {$message_size}{20K}}\


                }\


                {1}{0}}




        spam = exim


        message         = X-New-Subject: **SPAM** $h_Subject:


        log_message     = found spam score over threshold ($spam_score
($spam_ba


r)) Sender=\'$sender_address\' Subject=$h_Subject





accept



# End of ACL section



From: Sujit Acharyya-Choudhury
Sent: 04 March 2009 10:56
To: 'exim-users@???'
Subject: spamd connection timing out



We are running exim with spamassassin on our gateways and on exim
paniclog I am seeing this message:



spam acl condition: error reading from spamd socket: Connection timed
out on a regular basis (may be once every 10 - 15 mins).



We have the following setting for spamd:



/usr/bin/spamd -d -x -m 30 --max-conn-per-child=150 --timeout-tcp=30
--timeout-child=200 --socketpath=/var/run/spamd_socket -u exim -r
/var/run/spamd.pid



On /var/log/mail, I get the following:

spamd[11077]: prefork: child states: BBBB

spamd[11077]: prefork: child states: BBBBI

spamd[11077]: prefork: child states: BBBII



Still a long way off 30 children



For exim we have:



local_scan_timeout = 10m

receive_timeout = 0s

rfc1413_query_timeout = 0s

smtp_receive_timeout = 12m



I have seen that other people had this problem as well.



Any idea of what to do?





Regards





Sujit





--
The University of Westminster is a charity and a company limited by
guarantee. Registration number: 977818 England. Registered Office:
309 Regent Street, London W1B 2UW, UK.