Jobst Schmalenbach wrote:

> I want to check in "filter_relay()" whether its coming from pur domain,
> ie whether its SEND OUT and then somehow set a variable to remember this
> when I get to  "filter()".

It won't work.

I can't think of a plausible example where you *need* to remember
stuff from filter_{relay,sender,recipient} in filter.  After all,
all of the information in the earlier functions is available to the
content-filtering functions.  In your case, just do your check in filter_begin
and use $RelayAddress.

For more info, see the mimedefang-filter man page.  See
GLOBAL VARIABLE LIFETIME.

--
David.
_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID.  You may ignore it.

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