What BIMI Is and How It Works

BIMI is not a new way to authenticate mail. It is a DNS record that asks mailboxes to show your logo next to mail that already passed DMARC.

BIMI stands for Brand Indicators for Message Identification. It is the system that puts a company logo next to an email in the inbox. The first thing to know is what it is not. The BIMI draft says BIMI relies on SPF, DKIM, DMARC and ARC for domain-level authentication. It is not a new authentication protocol itself. Your mail has to pass DMARC on its own. BIMI only asks the receiver to show a logo next to mail that already passed.

What BIMI means and why it exists

The draft says BIMI has a high level goal to encourage the adoption of Email Authentication Best Practices. A logo is the reward for doing the hard part. The draft also says BIMI is compatible with the existing email infrastructure and needs minimal new infrastructure. It can be implemented independently of clients, deployed incrementally, and allows delegation of indicator hosting to third parties.

The thing displayed is called an Indicator. The draft defines an Indicator as the icon, logo, image, mark, or other picture of the brand. The file can be hosted by you or delegated to a third party, and DNS points to it.

How BIMI works: authentication first, logo second

The order matters, and each step depends on the one before it.

  1. The mail arrives and passes DMARC. The draft says MBPs and MTAs confirm message authenticity using DMARC.
  2. The receiver looks for a BIMI record. The draft says they then check for a corresponding BIMI record.
  3. The receiver fetches the Indicator file the record points to.
  4. The MUA retrieves and displays the brand indicator based on its policy and user interface.

If DMARC does not pass, none of the rest happens. There is no logo to fetch and nothing to show.

The BIMI record: what goes in DNS

The draft says domain owners publish BIMI rules by adding BIMI Assertion Records in the DNS as TXT records. All of a Domain Owner's BIMI choices go in DNS TXT records in subdomains named _bimi. The draft gives a concrete location: the Domain Owner of "example.com" would post BIMI policy in a TXT record at "default._bimi.example.com".

A minimal BIMI record example looks like this:

default._bimi.example.com. IN TXT "v=BIMI1; l=https://example.com/logo.svg"

Two tags do most of the work. The draft says the v tag is required and marks the record as a BIMI record. Its value must be "BIMI1" for implementations compliant with this version of BIMI. The l tag points to your logo file. The draft says only SVG and SVGZ are acceptable in the l tag as of the document's publishing. Yahoo's FAQ says a BIMI record must point to a valid logo in SVG format for Yahoo to display it.

There is also an a tag. The draft says the a tag is an optional Authority Evidence Location that must have an empty value or a single URI. Its URI must contain a fully qualified domain name and must specify HTTPS as the URI scheme. That tag is where a Mark Certificate lives.

A Mark Certificate is one kind of BIMI Evidence Document. A Verified Mark Certificate backs Indicators that show Registered Trademarks or Government Marks. A Common Mark Certificate backs Indicators that show Prior Use Marks or changes to Registered Trademarks. A Mark Verifying Authority issues both. The draft defines it as a group that can give proof that a Domain Owner's Indicators were checked.

One thing BIMI never does: the draft says BIMI rules are published only in a DNS record and not in email headers. Nothing about the logo travels inside the message.

BIMI requirements: the DMARC policy your domain must have

The draft sets hard limits on the DMARC policy behind a BIMI record.

  • BIMI processing must not happen when the DMARC policy for the Author Domain or Author Organizational Domain is p=none.
  • BIMI processing must not happen when a subdomain policy of sp=none is set.
  • A DMARC policy of p=quarantine with a percentage tag must have pct=100 for BIMI processing to happen. Quarantine policies must not have a pct less than pct=100.

Mailbox providers add their own rules on top. Google Workspace Help says a domain using BIMI must set the DMARC p option to quarantine or reject. The DMARC policy must also have a pct value of 100. Google Workspace Help sets these terms for a domain that uses BIMI. The draft sums it up: senders must ensure mail is properly authenticated and has a sufficiently strict DMARC policy.

What receivers decide: display is not guaranteed

Publishing a record does not buy you a logo. The draft says using BIMI is a choice, and receivers do no BIMI handling until they choose to and find a BIMI record. It also says mail programs may show different Indicators than the BIMI record asks for, or none at all.

The draft says BIMI gives a Sender control over which Indicators are eligible for display, but not how the MUA displays them. And it says publishing BIMI records alone is not enough for an MTA to signal the MUA to load the BIMI Indicator. A domain owner may also need a strong enough reputation with the MTA for the indicator to load. BIMI does not specify what extra factors MTAs may use when deciding to load an indicator.

So if your BIMI logo is not showing, check in this order. Confirm DMARC passes and the policy is quarantine or reject at pct=100. Confirm the record is at the right _bimi subdomain. Confirm the l tag points to a valid SVG or SVGZ file. Then accept that the receiver may still choose not to show it.

BIMI and personal avatars

Some mailbox providers that take part in BIMI also let people show personal avatars, and the draft says avatar support came before BIMI. The avp tag lets a Domain Owner express whether to show the BIMI logo or the personal avatar. It is optional and its default is "brand". The BIMI-Logo-Preference header passes the Domain Owner's preference for personal avatar display to the MUA. So a personal avatar can appear instead of a logo, but only where the receiver supports it and your record allows it.

BIMI is a display request, not a guarantee. Get DMARC to quarantine or reject first, then publish the record, then let each receiver decide. The same holds for the one-click unsubscribe headers and the rest of Gmail's bulk sender requirements. The receiver always gets the final say.

Sources

Filed

More filed under DMARC and BIMI

  • DMARC policy options: none, quarantine, and reject
  • How to Set Up DMARC for Google Workspace
  • How to set up a DMARC record for your domain
  • How a BIMI Logo Gets Next to Your Email
  • Every DMARC Tag, What It Does, and Which You Need
  • How DMARC Handles Subdomains and the sp Tag
  • DMARC configuration, one tag at a time
  • Why a DMARC lookup Says Record Not Found
  • The DMARC TXT Record, Tag by Tag
  • SPF, DKIM, and DMARC, Explained Simply
  • What DMARC Is and How It Works
  • What a DMARC report service does for you