Rolf wrote:
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?

Rolf,

 I think you want to put something like this in filter_relay:

if ($RelayAddr eq 'ip address') {
        return('ACCEPT_AND_NO_MORE_FILTERING', 'ok');
}


and you'll also need to make sure you're calling mimedefang with relay checking turned on.

You should check the man pages for how to do this specifically as I don't remember off the top of my head.

HTH

alan
_______________________________________________
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