On Sun, 5 Sep 1999, Martin Paulucci wrote:
> Hi!!
>
> I'm having some trouble with tcpserver. I'm trying to use relaying,
> and I already have a process running with the following parameters:
>
> qmaild 3464 238 0 23:33:43 ? 0:00 tcpserver -H -R -v -
> x/etc/tcp.smtp.cdb -u101 -g100 0 25 rblsmtpd /var/qmail/bin
>
> and also a file, which I compiled with tcprules in /etc/tcp.smtp and
> tcp.smtp.db with this contents:
> # cat /etc/tcp.smtp
> 200.20.10.:allow,RELAYCLIENT=""
> 200.43.4.:allow,RELAYCLIENT=""
> :allow
>
> Where 200.20.10.X is a local private network and 200.43.4.X is my
> C class of internet.
> The problem I'm having is that telnetting from the same mail server
> to port 25 it says it can't relay :
> 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)
That's because 127.0.0.1 is not specified as an IP address that is allowed
to relay. If you're telnetting to localhost, you're coming from the
127.0.0.0/8 network.