Topic · Authentication

DKIM l tag

The DKIM l= tag is an optional body-length limit that lets a signature cover only an initial part of a message body.

Email Security Glossary·Practical guidance
Share this definition LinkedIn X WhatsApp Email
01 / How it works

How it works

Content appended beyond the signed portion may not invalidate the DKIM body hash.

02 / What can go wrong

What can go wrong

Misuse can allow unsigned content to be appended to an otherwise validly signed message.

03 / What to check or do

What to check or do

Prefer full-body signing and investigate any signer configuration that intentionally sets a body-length limit.

Practical diagnosis

How to investigate DKIM l tag

Signal to investigate
A body-length-limited DKIM signature may leave appended content outside its signed portion.
Evidence to collect
Check whether l= appears and compare the signed byte count with the complete body.
Common wrong conclusion
Do not assume an otherwise passing signature authenticates text appended beyond the signed body length.
NEXT STEP

Put this into practice

Run a focused check, then explore protection if your domain needs it.

Authoritative reference ↗