Hi.

I'm having a problem sending mail through my qmail server to outside 
servers. I think I've set up qmail to allow relaying just as described. 
Let's say my IP is 1.2.3.4 for the mail server and the client is 1.2.3.5. 
The mailhost's name is my.mailhost.com.

$ grep tcp-env hosts.allow
tcp-env: 127.0.0., 1.2.3. : setenv RELAYCLIENT

$ telnet my.mailhost.com
Connected to my.mailhost.com.
Escape character is '^]'.
220 my.mailhost.com ESMTP
EHLO
250-my.mailhost.com
250-PIPELINING
250 8BITMIME
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)

$ cat /var/qmail/control/rcpthosts
localhost
my.mailhost.com

$ grep smtp inetd.conf
smtp stream tcp nowait qmaild /usr/sbin/tcpd /var/qmail/bin/tcp-env 
/var/qmail/bin/qmail-smtpd

Is the something that I have missed? Some additional info: Slackware 7.1, 
qmail 1.03, uses inetd. Since there is only < 10 users on the system I 
don't see any reason running tcpserver.

Reply via email to