I've installed qmail-1.03 with vpopmail-4.8.9 and ucspi-tcp-0.88. All
seems to working well - mail for lessonlink.com is received and
delivered to the appropriate mailboxes. However, users internal to our
network are not able to send mail through the qmail machine.
We are running a private LAN (192.168.x.x) internally, with our qmail
machine (RedHat 6.2) acting as a firewall/mail handler/local web server.
I attempted to follow the advice in the second part of FAQ 5.4 - I've
got a /home/vpopmail/etc/tcp.smtp file containing:
127.0.0.:allow,RELAYCLIENT=""
192.168.:allow,RELAYCLIENT=""
4.19.67.: allow,RELAYCLIENT=""
where 4.19.67 is the net part of our external subnet.
I ran "tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp
< /home/vpopmail/etc/tcp.smtp" and my inetd.conf contains a line with
smtp stream tcp nowait qmaild /var/qmail/bin/tcp-env tcp-env
/var/qmail/bin/qmail-smtpd -s /etc/tcp.smtp.cdb
Just to be sure, I sent a "kill -HUP" to qmail-smtpd.
Now I can telnet into port 25 of the qmail machine (mx.lessonlink.com),
and my session goes something like this:
220 lessonlink.com ESMTP
helo me
250 lessonlink.com
mail from: [EMAIL PROTECTED]
250 ok
rcpt to: [EMAIL PROTECTED]
553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)
The IP address of my machine is 192.168.0.5. My understanding of the
FAQ is that I should be able to send this message. What have I likely
overlooked?
Dan Mahoney
[EMAIL PROTECTED]