# BIMI Setup & Troubleshooting: DMARC Enforcement, SVG Tiny-PS Rules, and VMC/CMC Certificates

> Diagnose why verified BIMI brand logos fail to render in Gmail, Apple Mail, and Yahoo: strict DMARC pct=100 prerequisites, SVG Tiny-PS bans, and VMC/CMC PEM chains.

- **Canonical URL**: https://opslint.dev/dmarc/bimi-svg-tiny-ps-and-vmc-dmarc-prerequisites/
- **Category**: `DMARC`
- **Interactive Workbench**: [Open in Live Workbench](https://opslint.dev/dmarc/#domain=paypal.com)
- **Normative Specifications**: `BIMI Group Implementation Guide (default._bimi TXT Specification)`, `SVG Tiny Portable/Secure (SVG Tiny-PS, baseProfile="tiny-ps") Profile`, `MVA Verified Mark Certificate (VMC) & Common Mark Certificate (CMC) Requirements`

## Incident Symptom & Root Cause

**Production Symptom**: You publish default._bimi.example.com IN TXT "v=BIMI1; l=https://example.com/logo.svg;", yet no brand avatar appears in Gmail, Apple Mail, or Yahoo Mail!

**Protocol / Engine Root Cause**: BIMI refuses to render on any of four common disqualifiers: (1) organizational DMARC is NOT at full enforcement (p=none, p=quarantine; pct=50, or sp=none ALL disqualify BIMI!); (2) a normal Adobe Illustrator / Figma SVG 1.1 export was uploaded instead of strict SVG Tiny-PS (baseProfile="tiny-ps", <title> element mandatory, zero <script>, <image>, <a>, or x=/y= root attributes!); (3) Gmail and Apple Mail require a paid VMC (or CMC) PEM certificate URL in a=https://...pem, whereas a=; alone only works at select providers like Yahoo/Fastmail; or (4) SVG exceeds 32 KB!

## Remediation Diff (Broken vs Verified Fix)

### Disqualified BIMI Setup (pct=50 DMARC + Non-Tiny-PS SVG + Missing VMC for Gmail)

```text
; DISQUALIFIER 1: pct=50 and sp=none both violate BIMI's 100% enforcement gate!
_dmarc.example.com.        3600 IN TXT "v=DMARC1; p=quarantine; pct=50; sp=none; rua=mailto:dmarc@example.com"

; DISQUALIFIER 2: Standard Figma SVG export lacks baseProfile="tiny-ps" and <title>,
; and Gmail ignores BIMI records with empty a=; (no VMC/CMC certificate)!
default._bimi.example.com. 3600 IN TXT "v=BIMI1; l=https://example.com/favicon.svg; a=;"
```

### BIMI-Compliant DMARC Policy + VMC-Backed default._bimi TXT + SVG Tiny-PS

```text
; 1. Organizational DMARC MUST enforce p=quarantine (pct=100) or p=reject (pct=100), and sp!=none!
_dmarc.example.com.        3600 IN TXT "v=DMARC1; p=reject; sp=reject; rua=mailto:dmarc@example.com"

; 2. BIMI DNS TXT (HTTPS TLS 1.2+, <=32 KB SVG Tiny-PS, full PEM chain VMC/CMC in a=):
default._bimi.example.com. 3600 IN TXT "v=BIMI1; l=https://media.example.com/bimi/brand-mark.svg; a=https://media.example.com/bimi/vmc-chain.pem;"

<!-- 3. Compliant SVG Tiny-PS structure (brand-mark.svg, square 1:1 viewBox, solid background!): -->
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<svg xmlns="http://www.w3.org/2000/svg" version="1.2" baseProfile="tiny-ps" viewBox="0 0 512 512">
  <title>Example Corp</title>
  <rect width="512" height="512" fill="#0F172A"/>
  <path fill="#FFFFFF" d="M160 160h192v48H208v56h120v48H208v88h-48V160z"/>
</svg>
```

## Engineering Deep Dive

Every BIMI Validator check starts at your Organizational Domain's _dmarc record (even if you send mail from a subdomain like news.example.com!). The organizational _dmarc.example.com record MUST enforce either p=quarantine with pct=100 (or pct omitted, since 100 is default) OR p=reject with pct=100! Watch out for the subtle sp= trap: if _dmarc.example.com says p=reject; sp=none;, BIMI fails across the entire domain because sp=none violates subdomain enforcement!

Next, validate your SVG file offline in the OpsLint /dmarc/ SVG Tiny-PS Inspector before hosting it! Standard web SVGs exported by Figma, Sketch, or Illustrator use version="1.1" and frequently include forbidden attributes or tags. SVG Tiny-PS (version="1.2" baseProfile="tiny-ps") strictly requires: a <title> element containing your brand name right inside <svg>; NO x= or y= attributes on the root <svg> tag; NO embedded raster <image> bitmaps (pure vector <path>/<rect>/<circle>/<polygon> only!); NO <script>, <style> animations, <a> links, external font/URL references, or filter blur effects; a square 1:1 viewBox centered cleanly for circular cropping in Gmail/iOS Mail; a solid opaque background (avoid transparent backgrounds that vanish in dark mode!); HTTP Content-Type: image/svg+xml; and total uncompressed file size strictly <= 32 KiB!

Finally, understand the a= authority evidence certificate requirement across mailbox providers: Gmail and Apple Mail (iOS 16+ / macOS Ventura+) strictly require a= to point to a valid PEM file (containing the leaf certificate PLUS intermediate CA certificates!) issued by an authorized Mark Verifying Authority (DigiCert or Entrust)—either a VMC (Verified Mark Certificate, requiring a registered trademark in USPTO/EUIPO/UKIPO/etc.) or a CMC (Common Mark Certificate, introduced for prior-use brand logos without a registered trademark, rendering in Gmail without the blue checkmark!). Yahoo Mail and Fastmail can display self-asserted BIMI (a=;) for senders with strong domain reputation.

## BIMI End-to-End Validation Requirements Matrix

| Case / Engine | Protocol Behavior | Production Remediation |
| :--- | :--- | :--- |
| **DMARC Policy Prerequisite (_dmarc.<org-domain>)** (`#bimi-dmarc-gate`) | Disqualified if p=none, if pct < 100, or if sp=none! | Enforce 'v=DMARC1; p=reject; sp=reject;' (or p=quarantine; pct=100) on organizational apex. |
| **Logo Vector Profile (l=https://...svg)** (`#bimi-svg-tiny-ps`) | Must be valid XML with version='1.2' baseProfile='tiny-ps', <title>, <=32 KB, zero scripts/rasters. | Validate your raw SVG source locally in OpsLint's /dmarc/ BIMI SVG Tiny-PS checker. |
| **Mark Certificate (a=https://...pem)** (`#bimi-vmc-cmc-pem`) | Required by Gmail & Apple Mail; PEM file MUST include intermediate CA chain alongside leaf cert! | Concatenate leaf VMC/CMC PEM + intermediate CA PEM on HTTPS with TLS 1.2+. |
| **Custom BIMI-Selector header (Brand A vs Brand B)** (`#bimi-header-selector`) | Defaults to 'default._bimi.<domain>' unless message carries DKIM-signed BIMI-Selector: v=BIMI1; s=brand2;. | Publish default._bimi.<org-domain> so all mail inherits the logo without extra headers. |

## Frequently Asked Engineering Questions

### Wait: when a VMC CA issues our certificate, isn't the exact SVG baked inside the VMC PEM file itself?

YES! A VMC/CMC X.509 certificate cryptographically embeds a compressed copy of your exact verified SVG Tiny-PS file inside a certificate extension—so if you edit a single byte or color hex inside your hosted .svg later without re-issuing the VMC, hash matching fails! Host the exact byte-identical SVG validated with your MVA.

### Why did our valid BIMI + VMC setup still not show a logo on a 1-on-1 email sent from Gmail webmail?

Some receivers (especially Yahoo and certain consumer clients) evaluate sender volume/reputation thresholds or only display BIMI on bulk/transactional streams rather than low-volume personal threads, while Gmail renders VMC-verified logos across authenticated messages once DNS and certificate caches warm (24–48h).

### What is the difference between a VMC and a CMC in Gmail?

A VMC (Verified Mark Certificate) requires an active government-registered trademark and earns BOTH the inbox avatar AND Gmail's blue verified checkmark badge; a CMC (Common Mark Certificate) verifies 12+ months of prior public logo usage without a registered trademark and displays the inbox avatar without the blue checkmark.

## Related Problem-Cluster Guides

- [DMARC Rollout Playbook: p=none -> quarantine -> reject and How pct= Actually Works](https://opslint.dev/dmarc/gradual-rollout-p-none-quarantine-reject-pct-tag/) — Execute a zero-outage DMARC enforcement rollout from p=none to p=reject, and avoid the dangerous myth that pct=10 on p=reject drops unthrottled messages to None.
- [DMARC Organizational Domain Discovery, Public Suffix List (PSL) Fallback, and sp= Tag](https://opslint.dev/dmarc/organizational-domain-public-suffix-fallback-sp-tag/) — How RFC 7489 §3.2 uses the Mozilla Public Suffix List (e.g. .co.uk, .com.au, .github.io) to find organizational _dmarc policies and apply sp= subdomain rules.
- [Gmail, Yahoo & Microsoft Bulk Sender Requirements (SPF + DKIM + DMARC + RFC 8058 One-Click)](https://opslint.dev/dmarc/gmail-yahoo-bulk-sender-authentication-requirements/) — Meet mandatory Google, Yahoo, and Outlook bulk sender rules (>=5,000/day): dual SPF+DKIM alignment, DMARC, FCrDNS PTR, <0.3% spam rate, and RFC 8058 List-Unsubscribe-Post.
- [Fix Missing DMARC Aggregate Reports: External rua Destination _report._dmarc Authorization](https://opslint.dev/dmarc/external-destination-rua-report-dmarc-authorization/) — Why Gmail, Yahoo, and Microsoft silently drop DMARC rua/ruf XML reports sent to another domain, and how to publish RFC 7489 §7.1 _report._dmarc TXT records.
