I think your etc/tcprules.d/qmail-smtpd  is plain text file,  it should be in cdb format.
Try this to make it cdb format...
 
tcprules /etc/tcprules.d/qmail-smtpd.cdb   /etc/tcprules.d/qmail-smtpd.tmp < /etc/tcprules.d/qmail-smtpd
 
Your start up file should be look like this..
 
tcpserver -v -c 400 -x/etc/tcprules.d/qmail-smtpd.cdb  -u 81 -g 80 0 smtp /var/qmail/bin/qmail-smtpd \
 2>&1 | /var/qmail/bin/splogger smtpd 3 &
 
 
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 11, 2000 6:04 PM
To: [EMAIL PROTECTED]
Subject: qmail-smtp problem

I am running redhat6.1, qmail1.03. I am unable to telnet to 25 port. When I try to telnet to 25 port I am getting the following error:

---------------------------------------------------------
smtpd: 958034910.901821 tcpserver: warning: dropping
connection, unable to read /etc/tcprules.d/qmail-smtpd: input/output error
----------------------------------------------------------
I am starting my smtpd as follows:
tcpserver -v -c 400 -x/etc/tcprules.d/qmail-smtpd -u 81 -g 80 0 smtp /var/qmail/bin/qmail-smtpd \
 2>&1 | /var/qmail/bin/splogger smtpd 3 &

My contents of /etc/tcprules.d/qmail-smtpd are :
127.0.0.1:allow,RELAYCLIENT=""
211.33.44.5:allow,RELAYCLIENT=""
211.33.44.6:allow,RELAYCLIENT=""
:allow

Please help.
 

-- 
Kapil Sharma
Acube-software
[EMAIL PROTECTED]
http://www.acubesoftware.com
 

Reply via email to