[Mimedefang] remove disclaimer?

David F. Skoll dfs at roaringpenguin.com
Wed Apr 26 23:07:14 EDT 2006


Les Mikesell wrote:

> Even worse - it's a multipart/alternative with both text/plain
> and text/html versions.  And so is the message body...

OK.  Then you need to check in filter_multipart.  If it's a
multipart/alternative, then look at the sub-parts.  (man MIME::Entity).
If the first sub-part is text/html and looks like your disclaimer,
then you call action_drop from inside filter_multipart.  That drops
the whole multipart/alternative including the component parts.

Regards,

David.



More information about the MIMEDefang mailing list