OK first let me highlight some things:

/etc/inetd.conf:
> #smtp stream tcp nowait qmaild /var/qmail/bin/tcp-env tcp-env
> /var/qmail/bin/qmail-smtpd
/var/qmail/rc:
> exec env - PATH="/var/qmail/bin:$PATH" \
> qmail-start ./Maildir/ splogger qmail
/etc/tcp.smtp
> 127.0.0.:allow,RELAYCLIENT=""
> 202.43.85.10:allow,RELAYCLIENT=""
> 202.43.85.167:allow,RELAYCLIENT=""

OK you have commented out the smtp line in inetd.conf. This is the usual
when you move over to using tcpserver as the spawning daemon for
qmail-smtpd. However nowhere in your rc files do I see a line to start
tcpserver (which uses the tcp.smtp file, compiled into tcp.smtp.cdb) for
smtpd, only for pop3d and imapd. Since it appears as if you have used a few
different sources for your setup, try the following:

1. Add this line to the /etc/rc.d/init.d/qmail file, either before or after
the other lines, it doesn't matter as long as it starts:
tcpserver -x /etc/tcp.smtp.cdb -u UID# -g GID#  0 smtp
/var/qmail/bin/qmail-smtpd
2. Compile /etc/tcp.smtp to /etc/smtp.cdb via (at the command line):
tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp </etc/tcp.smtp
3. Restart the qmail processes ('/etc/rc.d/init.d/qmail stop', then
'/etc/rc.d/init.d/qmail start' since you have modified the rc file).

/BR

Manager
InterPlanetary Solutions
http://ipsware.com/

Reply via email to