With your line in place, I can still recieve mail after the change (so the
extra "tcp-env" was breakign the deamon).
I added the line to my /etd/hosts.allow:
tcp-env: 10.1.4.10: setenv = RELAYCLIENT
When I try to send mail from 10.1.4.10, I get the message:
"An error occured while sending mail.
The mail server responded:
sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)
Please check the message recipients and try again."
Eric Cox wrote:
> John Stile wrote:
> >
> > I'm running linux, redhat6.2, with qmail pop3d and smtp
> > I can receive mail on the server and from a remote netscape client.
> > I can only send mail when logged into the server.
> >
> > Following FAQ 5.4 steps for relay rules, I was was unsuccessful, but
> > tcpd is not where the faq says it will be, so could that be the problem?
> >
> > I found that the only occurrence of tcpd is in /usr/sbin/tcpd, not
> > /usr/local/bin/tcpd.
> > Taking this into account, I added the single line to my /etc/inetd.conf:
> >
> > smtp stream tcp nowait qmaild /usr/sbin/tcpd /var/qmail/bin/tcp-env
> > tcp-env /var/qmail/bin/qmail-smtpd
>
> Mine is almost exactly the same, except there is only one tcp-env
> (all one line):
>
> smtp stream tcp nowait qmaild /usr/sbin/tcpd /var/qmail/bin/tcp-env
> /var/qmail/bin/qmail-smtpd
>
> What happens when you telnet to the POP server? Like this:
>
> eric@dream:~ > telnet localhost 110
> Trying 127.0.0.1...
> Connected to localhost.
> Escape character is '^]'.
> +OK <[EMAIL PROTECTED]>
>
> Eric