Scott Zielsdorf <[EMAIL PROTECTED]> wrote:
>
> I did notice in my search of the Web that people were reporting detailed
> output from running tcprulescheck /etc/tcp.smtp.cdb.
> Here's the contents of my tcp.smtp file (cut and pasted):
>
> 127.:allow,RELAYCLIENT=""
> 192.168.10.:allow,RELAYCLIENT=""
Which implies :allow .
> Yet, when I run tcprulescheck, I get this:
>
> [root@cilinux /etc]# tcprulescheck /etc/tcp.smtp.cdb
> default:
> allow connection
> [root@cilinux /etc]#
>
> If I run tcprulescheck /etc/tcp.smtp.cdb 192.168.10. I get the same output
> as above.
How are you calling tcprulescheck? It needs the environment variable.
Try the following:
TCPREMOTEIP=192.168.10.4 tcprulescheck /etc/tcp.smtp.cdb
Charles
--
-----------------------------------------------------------------------
Charles Cazabon <[EMAIL PROTECTED]>
GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/
-----------------------------------------------------------------------