if ($ip=~ /x.x.x.x$/i){
                return('CONTINUE',"ok");
        }


should do it for you

or use
return('ACCEPT_AND_NO_MORE_FILTERING',"ok");
if you don't want to process any further


Cheers

Mack



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Rolf
Sent: Monday 05 September 2005 12:24
To: [email protected]
Subject: [Mimedefang] exiting the filter before any processing


hello

I've tried so many combinations and none work.  Feeling a bit silly.

Where can I put in mimedefang-filter a statement so that the filter 
exits before any processing happens based on $RelayAddr ??

I've tried a simple: return if ($RelayAddr eq "ip address");  in 
various parts of the filter but none make any difference. Do I need 
such a statement in each of the subroutines?

What am I missing and/or misunderstanding?

thanks

r.


_______________________________________________
Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list
[email protected]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

This Email Has Been Anti-Virus Scanned


_______________________________________________
Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list
[email protected]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to