[Mimedefang] remove disclaimer?

David F. Skoll dfs at roaringpenguin.com
Wed Apr 26 22:06:54 EDT 2006


Les Mikesell wrote:

> I don't see much except the content to
> distinguish them.

Is the disclaimer actually attached as a separate text/plain or
text/html part?

If so, then inside filter, you can do something like this:

if($entity->effective_type eq 'text/html') {
    # Open the body and read the first couple of lines
    # If they look like your disclaimer, then call:
    action_drop();
}

Regards,

David.




More information about the MIMEDefang mailing list