Subject: | Failed Header Verification When "h=" Is Missing |
Dear Jason Long,
Hi. This is imacat from Taiwan.
I found that DKIM verification may fail if
1. "h=" is not present in the DomainKeys-Signature: header.
2. The local mail filters adds their own headers.
As far as I know, several mail filters like ClamAV, MIMEDefang adds
their headers such as "X-Virus-Scanned:", "X-Virus-Status:",
"X-Scanned-By:". If a mail is fetched and forwarded with Fetchmail,
there may be "X-UIDL:", too. This caused many of my legitimate mails be
blocked (including yours).
In fact, in the current IETF draft,
draft-ietf-dkim-base-10, 3.5
http://www.ietf.org/internet-drafts/draft-ietf-dkim-base-10.txt
"h=" becomes REQUIRES comparing to the original Yahoo! draft:
draft-delany-domainkeys-base-01.txt, 3.3
http://antispam.yahoo.com/domainkeys/draft-delany-domainkeys-base-01.txt
I consider this as a bug in the Yahoo!'s original draft. Should
Mail::DKIM fixes this accordingly, by allowing missing "h=" results
"pass" or "none"? Thank you.