[Mimedefang] Are variables "persistant" or "by email" in mimedefang-filter

David F. Skoll dfs at roaringpenguin.com
Tue Jul 18 21:30:18 EDT 2006

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


More information about the MIMEDefang mailing list