[Mimedefang] Can't stop mimedefang from stripping HTML!

Brad Tarver btarver at fpwk.com
Thu Jan 8 07:36:04 EST 2004


Set this in your mimedefang-filter file:

$Features{"HTMLCleaner"} = 0;


-----Original Message-----
From: mimedefang-bounces at lists.roaringpenguin.com
[mailto:mimedefang-bounces at lists.roaringpenguin.com] On Behalf Of
BEYZAIE Shamim
Sent: Thursday, January 08, 2004 01:54 AM
To: 'mimedefang at lists.roaringpenguin.com'
Subject: [Mimedefang] Can't stop mimedefang from stripping HTML!



Hi there,

I can't seem to be able to stop mimedefang from stripping away HTML code
in
an email. I have commented out the line in mimedefang-filter reading:

    remove_redundant_html_parts($entity);

And also the lines:

    if ($Features{"HTMLCleaner"}) {
	if ($type eq "text/html") {
	    return anomy_clean_html($entity);
	}
    }

in the hope that it will let all HTML pass through intact. I have
restarted
mimedefang, even sendmail it still doesn't work. I've been looking at
other
emails in this list and I can't see any other way of doing this.

Basically and HTML mail that passes through is stripped and all thats
left
is a plaintext email and web links from the original HTML code.

I'm running Redhat 9.0 with Mimedefang and Spamassassin, and am a newbie
to
mimedefang :)
Any help would be muchly appreciated,
Shamim :)


DISCLAIMER: This e-mail is confidential to the addressee. If you are not
the
addressee, please notify the Department by return e-mail and delete the
message from your system. You must not disclose or use the information
contained in this email in any way. Thank you.


_______________________________________________
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
MIMEDefang at lists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang


Important Confidentiality And Limited Liability Notice

This email and any attachments may be confidential and protected by law. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of the email or any attachment is prohibited. If you have received this email in error, please notify us immediately by replying to the sender and deleting this copy and the reply from your system. Please note that any views or opinions expressed in this email are solely those of the author and do not necessarily represent those of Forman Perry Watkins Krutz & Tardy LLP. (FPWK&T). The recipient should check this email and any attachments for the presence of viruses. FPWK&T accepts no liability for any damage caused by any virus transmitted by this email. Thank you for your cooperation.



More information about the MIMEDefang mailing list