Skip to content

Prepare BIMI

BIMI DNS and the mark worker have been active on ratemymail.eu since 2026-10-13. Four curated MVA roots from DigiCert, GlobalSign and SSL.com support separate VMC/CMC findings. Without local CRLs and CT log evidence, revocation and CT remain unknown. Complete BIMI verification remains not_integrated; positive partial findings do not guarantee logo display. Disabled defaults mentioned below still describe a new installation.

BIMI publishes brand information and a logo. Receiving providers decide whether to display it and may require VMC or CMC certificates and other conditions.

Cost and display

VMCs and CMCs are paid products issued by Mark Verifying Authorities; fees and terms depend on the provider and verification effort. Issuance and renewal incur fees. Check the selected provider's current terms before ordering; this documentation makes no specific price promise. The BIMI Group describes annual fees and directs buyers to the relevant MVA for current pricing; DigiCert offers both certificate types for purchase.

The HTTPS server certificate used to fetch BIMI files is separate and can be obtained free of charge, for example from Let's Encrypt. Such a TLS certificate does not replace a VMC or CMC. Gmail requires a VMC or CMC for BIMI; neither a certificate nor a BIMI publication alone guarantees logo display. Google Workspace describes the certificate and DMARC requirements. Sources checked 2026-10-12.

Setup

Prepare your values and Debian packages. Use publicly trusted certificates; the laboratory test uses an explicitly local test CA.

Fully evaluate DMARC before enforcing quarantine or reject. BIMI draft 14 requires pct=100 for quarantine; this percentage condition does not apply to reject. The organizational domain also needs a strong policy; sp=none prevents discovery. Without its own DMARC record, an author subdomain inherits the organizational sp policy, or p when sp is absent, together with pct. Thus p=reject; sp=quarantine; pct=50 is insufficient there; an explicit strong author policy is checked separately. Obtain a suitable SVG Tiny PS logo and, if required by the target provider, a verified mark certificate. Publish them at your own HTTPS address. An arbitrary SVG or self-signed certificate is insufficient. Print a possible DNS TXT value:

. /root/mailserver.env
printf 'default._bimi.%s. IN TXT "v=BIMI1; l=https://%s/bimi/logo.svg;"\n' "$DOMAIN" "$DOMAIN"

Test

set -euo pipefail
. /root/mailserver.env
dig "default._bimi.$DOMAIN" TXT +short
dig "_dmarc.$DOMAIN" TXT +short
echo 'Check the DNS answers above: a BIMI target and an enforced DMARC policy are required.'

This block only queries DNS publication and can show a missing policy. It does not verify logo format, mark certification or actual provider display. With optional validator setting bimi_discovery: true (environment IEV_BIMI_DISCOVERY=true, disabled by default), RateMyMail examines default-selector DNS publication after successful DMARC. It checks the author domain first and the organizational domain only when the assertion is absent. Selector headers, local-part selectors and avatar profiles remain unsupported.

With additional bimi_mark_socket (environment IEV_BIMI_MARK_SOCKET), the offered certificate and logo files are fetched through controlled HTTPS. A separate isolated worker examines PEM, an explicit MVA trust chain, time, BIMI certificate usage, exact assertion domain and asserted certificate kind. It also checks a bounded embedded subject-logotype with SHA-256/384/512, compares its expanded SVG bytes with the fetched logo, and rejects malformed XML and selected active/external SVG constructs. Retrieval and individual findings remain separate; a matching hash does not authorize certificate trust. Locations, certificates and logos are omitted from public reports; the logo is never rendered. Complete SVG Tiny PS conformance and actual CT log inclusion remain unverified; embedded SCT signatures and local CRL status are assessed separately. Full BIMI verification therefore remains unsupported. This advisory confirms neither brand nor sender identity and changes neither rating nor reply eligibility. Certificate issuance and external display cannot be confirmed in a local Debian container.

The logo profile supports one direct subject image and 1–16 embedded Gzip/Base64 DATA URI alternatives, using SHA-256/384/512 over expanded XML with normalized line endings. All alternatives must expand to identical original bytes; gzip packaging may differ. An unsupported URI keeps the result unknown, while detected encoding, object or hash errors fail even alongside an unsupported alternative. No logotype URI is fetched. Up to 16 hash entries are admitted; every supported value must match. A correct first hash cannot hide an incorrect later value. Unknown algorithms cannot replace a supported hash; without one, binding stays unknown. The separate certificate_structure finding additionally requires the hash associated with the certificate signature in the same list. A valid different hash can therefore confirm byte binding while field structure fails. The fetched logo must match the expanded bytes exactly. Optional ImageInfo supports omitted default color, unspecified file size (zero), and canonical nonnegative recommended display dimensions. These dimensions may differ from the SVG and never control allocation or rendering. Explicit grayscale or unknown type, nonzero file size, resolution and language remain unsupported. Malformed required fields fail even alongside unsupported metadata; a verified original still exposes known SVG failures. Other image variants and indirect logotypes remain unsupported.

SVG structure checks require a nonempty title and nonempty descriptions when present, and reject root positioning, foreign graphics namespaces and detected invalid element nesting. Internal fragment references remain unverified; duplicate IDs and cyclic local use graphs fail. External resources remain excluded. A positive SVG finding is available for the finite opaque_integer_rectangles_v1 scope: at most 64 contained opaque integer rectangles in a viewport of at most 64×64 units, with inherited black, none or hexadecimal RGB fills. Exact overpainting must leave at least two distinct visible painted colors. Both original embedded and fetched images must satisfy a supported scope; a correct hash or identical bytes cannot override a violation. Other constructs remain outside the rectangle scope.

The additional opaque_bezier_witness_v1 scope supports contained opaque rectangles and straight/cubic paths (M/L/H/V/C/S/Z, including relative and repeated commands), inherited hexadecimal RGB/none fills and nonzero winding. Exact rational control hulls and subdivision certify two differently painted interior points after overpainting. An unsuccessful finite witness search stays unsupported; fewer than two possible paint colors fail. Limits are 64 graphics elements, 1024 segments, 18 characters per decimal, coordinates/viewport at most 16384, subdivision depth 20 and 40000 crossing steps per image. Both original resources are checked. Gradients, transforms, opacity, strokes, arcs, quadratic curves, metadata and fonts remain unsupported. Full SVG Tiny PS conformance remains open.

The certificate usage finding requires BIMI as the sole extended key usage. The end certificate must not be a CA or have certificate/CRL signing bits; its key usage extension is optional. Every intermediate in a verified MVA path must have critical CA basic constraints and critical key usage allowing certificate and CRL signing, together with the sole BIMI extended key usage. Extra purposes, including any-purpose usage, fail. Operator anchors are assessed under the separate trust policy. These checks do not establish complete certificate issuance compliance, revocation or CT.

The separate certificate_structure finding checks a bounded MCR 1.8 field layout for Registered Mark and Prior Use Mark: algorithms, serial bounds, maximum subscriber validity, policies with a CPS pointer, CRL/AIA metadata, DNS-only SANs and required subject fields. All actual intermediates in a verified path are included. A selector SAN containing underscores can match the assertion domain while failing this MCR syntax check. Unsupported profiles or unproven operator conditions remain unknown unless an independent known field or intermediate violation establishes failure. An unknown leaf profile cannot suppress such failures. This finding proves neither CA issuance procedures and registry facts nor complete SVG, CT signatures or revocation. SCT metadata is checked only for presence; the supported logotype must also include the hash associated with the certificate signature. Full BIMI verification remains unsupported.

The operator endpoint /run/iev-signature/mark.sock uses worker mode --marks. Template deploy/iev-bimi-mark.container keeps it networkless and read-only. Its separate MVA file mark-roots.pem belongs in the read-only operator configuration mounted at /etc/iev-signature/; system TLS trust and roots downloaded in the assertion cannot replace it. Without an operator MVA policy, the chain stays unknown. Review that policy's provenance, selection and refresh procedure before activation. deploy/bimi-validator-dropin.py generates a reviewable service connection; it does not install it. Run make signature-mark-test in the project to check local integration.

With complete saved sources, native debug replay recomputes findings from DNS, separate HTTPS resources and historical MVA policy. This requires a separate networkless --mark-replay worker and CLI option --mark-replay-socket. The production endpoint accepts no historical policy from requests. Interrupted fetches without a supported source profile mark inputs incomplete and refuse replay; they do not impair core validation.

An optional operator file mark-crls.pem in the same read-only directory supplies at most 64 KiB and 32 full direct all-reasons CRLs. The worker checks issuer names, authority keys, signatures, scope and update times for every non-anchor certificate in exactly one verified applicable chain. A verified revocation is reported separately; pass means only that no chain certificate is listed in this current local snapshot. Missing, stale, future, conflicting or unsupported evidence remains unknown. No CRL URL is fetched; this does not prove global status, CT or issuance compliance. Malformed or unreadable policy marks historical inputs incomplete without suppressing independent certificate/logo or core validation findings. Native replay uses the original CRL bytes and evaluation instant; older captures without CRLs retain unknown status.

The independent ct finding verifies embedded RFC 6962/v1 precertificate SCT signatures. The optional operator file mark-ct-logs.json in the same read-only directory contains at most 64 KiB and 32 distinct log records: Base64 DER SubjectPublicKeyInfo in spki, and integer Unix-millisecond acceptance boundaries accept_start_ms (inclusive) and accept_end_ms (exclusive). Only operator-recognized P-256 or RSA keys of 2048–4096 bits are supported, with SHA-256 ECDSA or RSA-PKCS1 signatures. Review log recognition, including MCR Appendix F where applicable, and timestamp windows before activation. Certificate-provided URLs and keys never grant recognition. At most 16 SCTs are assessed against the original certificate fields and actual verified issuer key. Pass requires at least one recognized valid signature within its window and no later than the evaluation instant or certificate expiration. Missing or malformed SCT evidence and recognized invalid signatures fail; unrecognized or unsupported-only evidence stays unknown. An absent log policy keeps CT unknown. A signed SCT proves the log's promise to include the precertificate; inclusion and consistency require the additional local audit evidence. Replay recomputes signatures from the original public policy bytes and historical clock. Malformed or unreadable policy is not captured and makes replay incomplete; older captures without log policy keep CT unknown. Core validation, rating and reply eligibility remain unchanged.

The separate ct_inclusion and ct_consistency findings optionally verify signed local tree heads with inclusion and consistency proofs in each log entry's audit object. The worker derives the leaf from original certificate, verified issuer and SCT bytes. Missing evidence remains unknown; a valid inclusion proof cannot replace a consistency proof. Supported evidence uses RFC6962/v1, an operator MMD from 1 ms through 24 hours, at most 16 SCT-bound proofs per log and 64 hash nodes per path. Both heads must be signed by the recognized key, within its accepted interval and no later than evaluation; the current head must reach SCT+MMD. Replay recomputes both findings from original sources. This establishes the recorded state, not current external log operation or complete BIMI. The file remains bounded to 64 KiB; no log URL is fetched.