Hi,

I received a legitimate marketting email from a service I signed up to. A family member works for that company and asked me to take a look at the content of the email as he's had problems delivering mail recently and because I'm an email admin.

It has two parts, a plain text and an XHTML part. The XHTML parts starts:

========================================================================
Content-Type: text/html; charset = "utf-8"
Content-Transfer-Encoding: 8bit

<html xml:lang="en">
  <head/>
  <body>
========================================================================

One of the things spamassassin reported as a problem was:

========================================================================
1.3 HTML_TAG_BALANCE_HEAD  BODY: HTML has unbalanced "head" tags
========================================================================

That isn't really correct. <head/> is equivalent to <head></head> and is properly balanced. The XHTML is being automatically generated using XSLT and a third party script. There are several obvious short term workarounds for this case such as:

1.) Output as HTML4 rather than XHTML
2.) Put some tags inside the <head>

However, I still think this should be sorted within SpamAssassin its self. Opinions?

--
Mike Cardwell
(https://secure.grepular.com/) (http://perlcv.com/)

Reply via email to