Problem solved. Was reading through Adam McKenna's
qmail-howto http://www.flounder.net/qmail/qmail-howto.html
and saw this ...

127.0.0.1:allow,RELAYCLIENT=""
192.168.1.:allow,RELAYCLIENT=""
:allow

In a flash realized the problem and solution,
Cory Wright was correct.

I changed my qmail-smtpd startup script to
----------------------------
#!/bin/sh
# exec tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp < /etc/tcp.smtp
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
exec /usr/local/bin/softlimit -m 2000000 /usr/local/bin/tcpserver -H -R -v -p -x 
/etc/tcp.smtp.cdb \
-u $QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd 2>&1 | cyclog 
/var/log/smtpd &
----------------------------

Set /etc/tcp.smtp to ...
----------------------------
127.0.0.1:allow,RELAYCLIENT=""
202.56.144.85:allow,RELAYCLIENT=""
:allow
----------------------------

Ran ...
tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp < /etc/tcp.smtp

BTW putting this in the qmail-smtpd startup script didn't seem
to work, qmail-smtpd wouldn't start. Was hoping to just leave that
entry there to autoupdate my cdb but oh well.

Switched /etc/tmdarc back to...
OUTGOINGMAIL="smtp"
#SMTPHOST = "alamak.com.sg"
#OUTGOINGMAIL = "sendmail"
#SENDMAIL_PROGRAM = "/var/qmail/bin/sendmail"

And it worked!

As Dan says adding the interface IP also works if I set
SMTPHOST = "alamak.com.sg"

I always login as root then su to my user account(s), bad
habits die hard :)

Thanks to everyone for your answers.

John D. Saario
Alamak Internet
President and Technical Contact
http://www.alamak.com/
http://www.alamak.com.sg/
[EMAIL PROTECTED]

_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to