Dan Kelley (no relation) wrote:
> here's my tcp.smtp file:
>
> 209.3.117.:allow,RELAYCLIENT=""
> 127.:allow,RELAYCLIENT=""
> 64.209.222.:allow,RELAYCLIENT=""
> 63.113.119.:allow,RELAYCLIENT=""
> :allow
>
> tcpruleschceck /etc/tcp.smtp.cdb 209.3.117.1
>
> yields:
>
> [dkelley@mx1 /etc]# tcprulescheck /etc/tcp.smtp.cdb 209.3.117.1
> rule :
> allow connection
> [dkelley@mx1 /etc]#
>
> it doesn't appear to be setting RELAYCLIENT.
http://cr.yp.to/ucspi-tcp/tcprulescheck.html
You're calling tcprulescheck wrong. Try:
env TCPREMOTEIP=209.3.117.1 tcprulescheck /etc/tcp.smtp.cdb
---Kris Kelley