On Thu, Jul 13, 2000 at 03:00:21PM +0930, Andrew Hill wrote:
> Chris Johnson wrote:
> > Read http://cr.yp.to/ucspi-tcp/tcprulescheck.html
> 
> Thanks Chris,
> 
> I've read the above, (and your helpful page at
> http://www.palomine.net/qmail/selectiverelay.html) but it still doesn't
> tell me what I should expect to see when testing with tcprulescheck.
> 
> The only thing that I didn't try before was setting the $TCPREMOTEIP
> environment variable (I assume that's what the page you suggested
> means). However, setting that variable to 203.34.190.170 (an IP in the
> range I've set as to allow relaying), and I still get the same message
> with tcprulescheck, i.e.
> 
>   # echo $TCPREMOTEIP
>   203.34.190.170
>   # /usr/local/bin/tcprulescheck /etc/tcp.smtp.cdb 
>   default:
>   allow connection
> 
> So I'm still not sure if it's tcprules/tcpserver that's not working, or
> if there is some other reason that's fouling up relaying for me....

It looks like you might be using an older version of tcprulescheck. Try this
and see what happens:

tcprulescheck /etc/tcp.smtp.cdb 203.34.190.170

Chris

Reply via email to