--- On Tue, 9/11/12, Philip Prindeville <[email protected]> 
wrote:
> On 9/11/12 12:43 PM, David F. Skoll wrote:
> > You can't directly, but the root entity is passed as an argument to
> > filter_begin().  If you copy it to a variable visible to filter(),
> > you can reference it from filter().
> 
> Would it be worthwhile making it visible via a persistent
> global variable via filter_begin()?
> 
> Does that seem a reasonable addition?

Absolutely NOT.

You've already been told that the item you want is available in filter_begin() 
and that all 4 filter*() functions are called in the same context and can pass 
variables to each other.  If you need it, YOU save the value in your local 
filter processing script.

All MimeDefang does is provide a MINIMAL framework.  It's up to you to use it.  
Don't expect the rest of us to accept your pollution of minimality.
_______________________________________________
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