[Mimedefang] spamassassin boilerplate issue

David F. Skoll dfs at roaringpenguin.com
Thu Feb 28 17:08:58 EST 2002


On Thu, 28 Feb 2002, Casey Woods wrote:

> Here's an idea for improving append_boilerplate.  Append the boilerplate to
> the first text/plain and the first text/html item that mimedefang
> encounters.  Perhaps even have a text and html version of the report
> template that would be used accordingly.

Appending things to HTML parts is hit-and-miss.  If the HTML part ends
with </HTML> and you append something after that, there's no guarantee
it will get displayed.  If (for some bizarre reason) the HTML part
ends with "<!--", then there's almost no chance it will get
displayed.

You really have to parse the HTML and insert your boilerplate in the
right spot.  If someone wants to implement that, I'd happily integrate
it into MIMEDefang :-)

HTML mail is evil.

Regards,

David.




More information about the MIMEDefang mailing list