If it is *ALWAYS* the same amount of time, I'd look at the Greeting Delay
(OR whatever it's called) in SpamDyke, or something similar.

If it varies, and increases during peak times, I'd suspect a resource
issue...Concurrent connections maxed out, SMTP connections maxed, etc...  If
you look at the MRTG graphs that are part of the QMT package, you can
usually easily see when you've got a connection limitation.  The graph will
peak up and flatline, then drop down again.

Mike

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Marcin Orlowski
Sent: Friday, September 02, 2011 11:34 AM
To: [email protected]
Subject: [spamdyke-users] Long delay on connection (before SMTP prompt
appear)

hi,

I got odd issue with one of my smtp box  and I got some problems
finding the culprit out. The problem is that it takes
ages for smptd prompt to appear:

# telnet localhost 25
Trying 127.0.0.1...
[... wait, wait, wait ...]
Connected to localhost.
Escape character is '^]'.
220 Welcome to mail delivery server ESMTP

The wait time vary but is often 60+ secs, so MUA with default 60 secs 
timeout complain.

All is started that way:

${TCPSERVER} -v -l ${HOSTNAME} -H -R -c 500 -u 1004 -g 1003 0 smtp 
${SPAMDYKE} ${SMTPD} ${MYNAME} ${CHECKPASSSMTP} /bin/true 2>&1 | cat 
/dev/null &

(Variables are fine), my name is `hostname` output and resolves both 
ways. Sometimes (frequently enough to not ignore it) I also see
max number of instances of app invoked by tcpserver (usually
503) but at the same time the log does not indicate such
increase of traffic (usually there are 30-40).  At the same time there's 
said delay, launching ./qmail-smtp by hand shows no delay, so I suspect 
tcpserver or spamdyke steps (or something they relay on). My first guess 
was dns, but there's caching dns running locally plus I disabled 
whatever I could to make tcpserver staying away from resolving anything. 
Spamdyke config holds dns-level=none for the same purpose. Any ideas?

Regards,
-- 
"Daddy, what "Formatting drive C:" means?"...

Marcin             http://wfmh.org.pl/carlos/
_______________________________________________
spamdyke-users mailing list
[email protected]
http://www.spamdyke.org/mailman/listinfo/spamdyke-users

_______________________________________________
spamdyke-users mailing list
[email protected]
http://www.spamdyke.org/mailman/listinfo/spamdyke-users

Reply via email to