Changes for version 0.33 - 2026-11-14
- A From field value longer than 2048 octets (not counting the line breaks of folding or the white space round it) is not read for a mailbox: from_mailbox gives 'none', so the Verifier's result is "matching From is not authentic" and the Signer does not sign. $Mail::DKIM2::Address::MAX_FROM_LENGTH holds the limit. Every implementation in the interop repository now has it; one of them took tens of seconds to parse a hostile 100 KB From.
- The Verifier waits no longer than 20 seconds in all for one message's DNS lookups ($Mail::DKIM2::Verifier::LOOKUP_BUDGET): after that the lookups not yet made fail at once, and the result is temperror, as for any DNS failure. A message can name 8 keys per signature and 32 signatures, each lookup worth the resolver's whole timeout. Lookups made by a PubkeyCallback or a PolicyCallback are not counted.
Documentation
Standalone DKIM2 milter for Postfix
Modules
DKIM2 signing and verification for email
Envelope paths, domains and the From header field for DKIM2
the body hash of a message, streamed
every Message-Instance's body hash in one pass
Header canonicalization and the signing input for DKIM2
The Message-Instance and DKIM2-Signature fields of a message, numbered
Constants, chain numbering and the any/all groups shared by the DKIM2 modules
DKIM2-signed Delivery Status Notifications
SHA-2 over message content, by OpenSSL where it can
Fold a DKIM2 header field where its grammar allows
decide whether a front end may sign a message
Streaming message parser base for Signer and Verifier
every Message-Instance's header hash without undo
What a hop adds to a message's Message-Instance fields before it signs
Keys, key records, Domain Policy Records and signing algorithms for DKIM2
Compute, verify and undo Message-Instance headers
Keep message snapshots keyed by Message-Instance
The base64 JSON of a Message-Instance r= tag
verify-and-reflect DKIM2 demonstration logic for dkim2.com
One DKIM2-Signature header, parsed or under construction
Sign a message with a DKIM2-Signature header
Bcc-safe recipient grouping before DKIM2 signing
The tag=value list a DKIM2 header is made of
Small helpers shared by the Mail::DKIM2 modules
structured per-level DKIM2 and Message-Instance report
Verify the DKIM2-Signature chain on a message
wrap a single-part message in a one-part multipart/mixed
Handler class for DKIM2 signing
Handler class for DKIM2 signature verification
Provides
in lib/Mail/DKIM2/Chain.pm