Hi,

I've found that on occasion tcpserver/qmail-smtpd takes
10 seconds to give an "ok" to an smtpd connection attempt.
Typically, the time I've seen will running my server has been 0 sec
(i.e. the log entries for the "pid" and "ok" have the same time stamp)

At the time of the occurrences, the server is more or less idle and
there are no simultaneous smptd connections.

It happens with local nodes as well as nodes on the internet.

Is this expected behavior or is something wrong with my configuration?

Thanks for the help.

James

(I am trying to build a business case for my boss that  qmail (on
Linux/PC) is _better_ than sendmail (on HP/PA) and I would like to have
every possible eveidence to back it up.)

------>

the syslog looks like:

Jan 10 11:39:50 mail smtpd: 915986390.262398 tcpserver: status: 1/100
Jan 10 11:39:50 mail smtpd: 915986390.263295 tcpserver: pid 10311 from
129.173.1.10
Jan 10 11:39:55 mail tcplogd: smtp connection attempt from
Snoopy.UCIS.Dal.Ca
Jan 10 11:40:00 mail smtpd: 915986400.280748 tcpserver: ok 10311
mail.madeup.fake:10.1.0.6:25 snoopy.ucis.dal.ca:129.173.1.10::47392
Jan 10 11:40:07 mail smtpd: 915986407.533115 tcpserver: end 10311 status
0
Jan 10 11:40:07 mail smtpd: 915986407.533605 tcpserver: status: 0/100

The relevant info for the mail server:

OS: Linux
Kernel: 2.0.36 #1
CPU: PII-400
Mem: 128 M
qmail: 1.03
tcpserver: ucspi-tcp-0.84

I start up tcpserver/qmail-smtpd with the following:

tcpserver -R -x/etc/tcp.smtp.cdb -c100 -v -u 92 -g 90 0 smtp
/var/qmail/bin/qmail-smtpd 2>&1 | /var/qmail/bin/splogger smtpd 3 &

I use a .cdb to control connection to the smtpd. The text used to
generate it looks like:

10.1.0-255.:allow,RELAYCLIENT=""
127.:allow,RELAYCLIENT=""
:allow

Reply via email to