Gamera not responding on port 25 and emails gets delayed

Forum for getting help with Project Gamera, Spamassassin, Clamav, qmail-scanner and other anti-spam tools.
TheEniGMa
Forum User
Forum User
Posts: 50
Joined: Wed Nov 23, 2005 8:49 am

Gamera not responding on port 25 and emails gets delayed

Unread post 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.
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

Fire up a sniffer on port 25, and see what happens when you make your test connections to it.
TheEniGMa
Forum User
Forum User
Posts: 50
Joined: Wed Nov 23, 2005 8:49 am

Unread post by TheEniGMa »

Might sound stupid, but how do I do that and what are I looking for?
TheEniGMa
Forum User
Forum User
Posts: 50
Joined: Wed Nov 23, 2005 8:49 am

Unread post 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?
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post 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.
Post Reply