I'm still having trouble seeing it--apologies.  Spent most of an hour going 
through the presentation deck Saturday while writing the body regex scanner and 
did not find anything that addresses it.  Just looked again searching the 
document for "body," "open," "text," "match" "regex," "regular," "expression," 
"getline" and "match" with no luck.

Seems perhaps an area where anyone solving the problem in the past never posted 
about it.  At this point I cannot picture a simpler correct solution than the 
one posted at the top of this thread.

Reading MIME-tools documentation was helpful but an (admittedly minor) gap 
exists between the class package documentation and the way that mimedefang 
presents the $entity MIME object.  This lead to my hackfest where I figured it 
out through trial-and-error (more error than trial I suppose).

On the bright side search-engines should lead others to this thread if they 
require something similar.

Regards



At 15:42 4/18/2016 -0400, you wrote:
>On Mon, 18 Apr 2016 15:32:37 -0400
>[email protected] wrote:
>
>> Hmm, I don't see how that works.  The filter()
>> method is described as being called for each part
>> where I want to examine just the body, explicitly
>> disregard subsequent parts and attachments.  Also
>> I don't see any simplified message body access in
>> the parameters to filter() and haven't come across
>> an example.  Would appreciate a pointer to one.
>
>We have a tutorial slide deck... slightly out of date,
>but mostly still accurate.
>
>http://www.mimedefang.org/static/mimedefang-lisa04.pdf
>
>Regards,
>
>Dianne.

_______________________________________________
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