On 18 Oct 2000 [EMAIL PROTECTED] wrote:
> 
> When I run:
> # tcprulescheck /etc/tcp.smtp2.cdb 127.0.0.1
> I get:
> rule :
> allow connection   
> 
> Same result for any of the specific IPs also.
> 
> According to what I have read, tcprulescheck should have spit out something
> indicating the use of rule 127. and an indication it is setting an environment
> variable. 
> What am I doing wrong? Sorry if this should go to another list.

You are not setting the IP address as an environment variable. Try
this instead:

TCPREMOTEIP=127.0.0.1 tcprulescheck /etc/tcp.smtp2.cdb
rule 127.:
set environment variable RELAYCLIENT=
allow connection

-- 
Regards
Peter
----------
Peter Samuel                            [EMAIL PROTECTED]
http://www.e-smith.org (development)    http://www.e-smith.com (corporate)
Phone: +1 613 368 4398                  Fax: +1 613 564 7739
e-smith, inc. 1500-150 Metcalfe St, Ottawa, ON K2P 1P1 Canada

"If you kill all your unhappy customers, you'll only have happy ones left"

Reply via email to