How a BIMI Logo Gets Next to Your Email

The logo beside some emails is a BIMI Indicator. It takes a DMARC policy, a DNS record, an SVG file, and often a certificate.

The small logo beside some messages in your inbox is a BIMI Indicator. The BIMI draft says an Indicator is the icon, logo, image, mark, or other picture of the brand. Domain Owners ask mail programs to show a chosen set of Indicators with messages confirmed to come from their domain. It is a reward for mail that passes authentication, not a decoration you can buy into on its own.

Why BIMI exists

BIMI has a high level goal to encourage the adoption of Email Authentication Best Practices. It builds on DMARC policies and the supporting methods DKIM and SPF, plus other standards such as ARC. The draft is plain about this: BIMI relies on these authentication protocols but is not a new authentication protocol itself. The branding comes second. A reader who sees your logo is seeing mail that passed DMARC for your domain.

The DMARC settings that come first

No BIMI processing happens until DMARC is in order. The draft says BIMI processing must not happen when the DMARC policy for the Author Domain or Author Organizational Domain is p=none. A subdomain policy of sp=none blocks it too. A 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. The DMARC policy record must be published for the Organizational Domain and its subdomains.

Google says the same thing in its own words. Google Workspace Help says the DMARC p option must be set to quarantine or reject if your domain uses BIMI. It also says the pct value must be 100. So the first job is a strict DMARC policy across the domain, not a logo file.

Publishing the BIMI Assertion Record

Domain Owners publish their desired Indicators through the BIMI Assertion Record in DNS. All of a Domain Owner's BIMI choices are put in DNS TXT records in subdomains named _bimi. The Domain Owner of "example.com" would post BIMI policy in a TXT record at "default._bimi.example.com". BIMI rules are published only in a DNS record and not in email headers.

The v tag is required and identifies the record retrieved as a BIMI record. It must have the value of "BIMI1". If the v tag value does not match or is absent, the entire retrieved record must be ignored. The l tag points at the logo file. The a tag is an optional Authority Evidence Location that must have an empty value or a single URI.

The logo file itself

An Indicator is a picture in a common image format with limits spelled out in the Assertion Record Definition. Only SVG and SVGZ are acceptable in the l tag as of the document's publishing. Any image format in the BIMI-formats IANA registry is acceptable. An l tag pointing to any other format must be treated as a permanent error. The bimi location entry must be a URI with an HTTPS transport. HTTPS is the only supported transport for the BIMI Indicator location. Yahoo's FAQ says a BIMI record must point to a valid logo in SVG format for Yahoo to display it.

The draft also says domain owners should strip metadata out of published Indicators they do not want to expose. And the MTA or MUA should avoid loading indicators that are too large or too small.

Verification: VMCs and CMCs

A Mark Verifying Authority is a group that can give proof that a Domain Owner's Indicators were checked. A BIMI Evidence Document is put out by a Mark Verifying Authority to show proof of checking. A Mark Certificate is one kind of BIMI Evidence Document, given out by a Certificate Authority under the rules for issuing Mark Certificates.

Two kinds exist. 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 Verified Mark Certificate is an MC issued by an MVA, and so is a Common Mark Certificate. The a tag in your record points at this certificate. Its URI must contain a fully qualified domain name and must specify HTTPS as the URI scheme.

Whether you need one depends on the mailbox provider. The draft leaves display to each receiver's own policy. Check what your readers' providers ask for before you buy anything.

How the logo travels to the inbox

The pipeline has steps, and each one can stop the logo from appearing.

  1. MBPs and MTAs confirm message authenticity using DMARC and check for a corresponding BIMI record.
  2. The MTA retrieves the logo over HTTPS, base64 encodes it, and constructs a new BIMI-Indicator header. It removes any existing BIMI-Location and BIMI-Indicator headers and stamps the new ones.
  3. The MUA retrieves and displays the brand indicator based on its policy and user interface. It extracts the Indicator from the BIMI-Indicator header, which holds the Indicator's SVG encoded as base64.

Email senders must not set the BIMI-Location header. That is the MTA's job. The BIMI-Selector header, by contrast, is how a sender picks a selector for a message.

The selector named default is the default Assertion Record. BIMI selectors are modeled after DKIM selectors. Selectors let a domain owner choose the brand Indicator by type of recipient, message source, or seasonal branding. Domain owners can pick which selector to use per message with the BIMI-Selector header or local-part selectors. So yes, you can run different logos for different campaigns or subdomains, each with its own record at its own selector.

Why your logo may still not display

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. Mail programs may show different Indicators than the BIMI record asks for, or none at all. MUAs and Mail Box Providers are free to define their own policies for using BIMI data and for indicator display.

Using BIMI is a choice, and receivers do no BIMI handling until they choose to and find a BIMI record. So a missing logo is not always a fault in your setup. It may be the receiver's policy, or your reputation with that receiver. Fix what you control in your own setup, and accept that display is the receiver's call.

Opting out and edge cases

The bimi result value pass means BIMI successfully validated. The value declined means the domain owner published an explicit declination record. An empty record with both the l and a tags empty is an explicit refusal to take part in BIMI. That is how you opt a subdomain out.

Fallback works like DMARC fallback. A mail server falls back to the organizational domain's record when a subdomain has no BIMI record of its own. But it does not use the organizational domain's default record when the sender specified a different selector. Caching can help cut down indicator load time, so a changed logo may take a while to refresh everywhere.

What to do first

Start with DMARC at quarantine or reject and pct=100 across your domain. Then publish the Assertion Record with a valid SVG over HTTPS. Then look at certificates if your readers' providers require one. Do not expect the logo as a guarantee. It is a mark that your mail passed the checks that matter, the same way a clean SORBS lookup once meant someone was checking. BIMI is compatible with the existing email infrastructure and needs minimal new infrastructure, so the work is mostly policy and files you already control.

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
  • What BIMI Is and How It Works
  • 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