[Mimedefang] Want to modify "read-receipt" img tags in mail

Kevin A. McGrail kmcgrail at pccc.com
Thu May 20 13:15:53 EDT 2004


> Possibly, convert img src tags so they have to be clicked on
> instead of opening inline.  It could raise some "what was that
> in your mail" questions that deserve to be asked.

I believe this is the correct course of action for non embedded images per
the other post ideas.  My pseudocode therefore is:

search for
 <img src=(http|https)(.*)>

replace with

  <a href=$1$2><img
src=http://mydomain.com/image_describing_click_here_to_view_possibly_unsafe_
image></a>

perform this action on BOTH text/plain and text/html parts using
HTML::Parser for the html and perl for the text/plain.

Any comments on this course of action?

KAM




More information about the MIMEDefang mailing list