A message I received failed BADHEADERS with a code of c00402e.

This is explained as:

Code: c004020e. The E-mail failed the BADHEADERS and SPAMHEADERS tests.

This E-mail has a bogus Message-ID: header.

It is possible that there are other problems, too -- if you fix the problem,
and there are other problems, you can come back with the new code.

Scott, as I am not versed in proper header formats, can you explain what it
wrong?
Yes, I can.  :)

Is there a clear explanation somewhere of what the proper headers should be?
"Clear", no. However, RFC 822 covers the format of the Message-ID: header in terms that are easy to understand if you know BNF backwards and forwards (which people who develop mail software should).

>Received: from 63.113.162.42 [63.113.162.42] by mail.reliance.net
>(SMTPD32-7.13) id AF3B6B70082; Thu, 07 Nov 2002 13:46:35 -0800
Message-Id: <[EMAIL PROTECTED]>
The problem here is a mixed problem, kind of like the "which came first, the chicken or the egg?" paradox.

The first problem is actually that the remote mailserver is broken, and claims to be a host called "63.113.162.42", but there is no such host (it should claim to be "[63.113.163.42]" if it is just claiming to be an IP). That's not valid. The second problem is that the E-mail was sent without a Message-ID: header, which is bad but technically legal (it's legal if there is a good reason for it).

The problem with the Message-ID: header is that IMail tried to make some sense of this mess. It saw that there was no Message-ID: header, so it added one. However, it trusted that the remote mailserver gave a valid hostname, which it did not -- and since it did not, it ended up breaking the Message-ID: header.

-Scott
---
Declude: Anti-virus, Anti-spam and Anti-hijacking solutions for IMail. http://www.declude.com

---
[This E-mail was scanned for viruses by Declude Virus (http://www.declude.com)]

---
This E-mail came from the Declude.JunkMail mailing list. To
unsubscribe, just send an E-mail to [EMAIL PROTECTED], and
type "unsubscribe Declude.JunkMail". The archives can be found
at http://www.mail-archive.com.

Reply via email to