Page 1 of 1

Gamera not responding on port 25 and emails gets delayed

Posted: Thu Apr 24, 2008 5:10 am
by TheEniGMa
Hello.

I have been usign Gamera on two Centos 4 servers as a SPAM-gateway for several years and lately (last year perhaps) we have been notified by customers that a lot of emails seems to be delayed with anything from an hour up to several days. It also seems as port 25 times out most of the times when trying to telnet to it.

(We're not running greylisting, but the servers almost acts like it...)

The load usually varies between 0.5 - 1.2 and the queue do only contain 100-200 failure notices.

Has anyone had the same problem?

Thanks.

Posted: Thu Apr 24, 2008 7:57 am
by scott
Fire up a sniffer on port 25, and see what happens when you make your test connections to it.

Posted: Thu Apr 24, 2008 9:16 am
by TheEniGMa
Might sound stupid, but how do I do that and what are I looking for?

Posted: Fri May 09, 2008 4:19 am
by TheEniGMa
Seems like this was a combination of lack of CPU power, a lot of SPAM and to low settings in max# SMTP-connections.

I configured a new Quad Xeon 2,5Ghz with Gamera but I still got the same problem that SMTP times out. After some intensive searching at the forum I found that you recomended someone to lower the number of max SMTP connection in /service/smtpd/run... I did the opposite and raised that to 50+ (also configured spamd to start with max 50 children insted of 5 since I had a lot of "max-children reached... consider raising..." in the maillog).

Restarted smtpd and spamd and all works great. Got a lot of rules on the box but scanning only takes a few seconds per message and the SMTP port is showing as open even during really intense spammings.

Does it sound like it make sense?

Posted: Fri May 09, 2008 8:56 am
by scott
it does yes, the default is 20 concurrent connections. I had assumed that you werent getting any connections at all, rather than 20+ at once.