On Tue, 11 Sep 2012 12:33:53 -0600 Philip Prindeville <[email protected]> wrote:
> If $entity points to the mime section of the body that's being > scanned, how do I get back to the root entity? 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(). MIMEDefang guarantees that: filter_begin / filter / filter / ... / filter / filter_end all happen in sequence in the same process. Or, you could just open and read the file ./HEADERS Regards, 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

