All articles
    Deliverability

    How to Set Up a BIMI Record for Mailgun

    To set up BIMI for a domain that sends through Mailgun, publish a TXT record at default.bimi.<your domain> that begins v=BIMI1; and points l= at an HTTPS…

    VeriMailX Team November 23, 2026 3 min read

    Key takeaways

    • Confirm DMARC is at p=quarantine or p=reject for the domain, with SPF or DKIM aligned to the From domain.
    • Prepare a square SVG Tiny-PS logo served over HTTPS with the image/svg+xml content type.
    • Publish a TXT record at default.bimi.example.com with v=BIMI1; l=https://example.com/bimi/logo.svg;.

    To set up BIMI for a domain that sends through Mailgun, publish a TXT record at `default._bimi.<your domain>` that begins `v=BIMI1;` and points `l=` at an HTTPS SVG logo. Mailgun does not create or manage this record; it is not among the records Mailgun's verification flow asks for, so you add it in your own DNS host. BIMI also requires that your DMARC policy is already enforced, so set that up first.

    Research checked: 12 November 2026

    This guide covers the record and its prerequisites. Planning BIMI for cold sending and fixing a logo that will not display are in the other two guides.

    The short answer

    1. Confirm DMARC is at `p=quarantine` or `p=reject` for the domain, with SPF or DKIM aligned to the From domain.
    2. Prepare a square SVG Tiny-PS logo served over HTTPS with the `image/svg+xml` content type.
    3. Publish a TXT record at `default._bimi.example.com` with `v=BIMI1; l=https://example.com/bimi/logo.svg;`.
    4. Verify with `dig`, then check the logo in a mailbox provider that supports BIMI.

    Setup steps

    Step 1: Meet the DMARC requirement

    BIMI depends on DMARC enforcement. The BIMI Group's sender FAQ states that most BIMI-supporting providers require the policy to be `p=quarantine` or `p=reject`, not `p=none`, and that the policy should not use `pct` below 100. Your SPF or DKIM must also align with the visible From domain. The DMARC setup guide covers publishing that record; enforcement comes only after your reports show legitimate senders passing.

    Mailgun's SPF and DKIM records cover mail sent through Mailgun. Other senders on the same domain must align as well.

    The BIMI Group's sender FAQ describes the logo as a clean, square SVG Tiny-PS file. It should contain no external resources, no scripts and no embedded raster images, and it should be served with the `Content-Type: image/svg+xml` header. Keep the design simple and bold, because it is shown at small sizes. The BIMI Group advises a design that stays recognisable at about 20 to 24 pixels, so preview the file at that size before you publish it.

    Host the file on an HTTPS address you control, and test the header with `curl -I https://example.com/bimi/logo.svg`. A logo that serves as `text/plain` or over HTTP will not be used.

    Step 3: Publish the record

    The record sits at the `default` selector under `_bimi`:

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

    The `v=BIMI1` tag must come first. `l=` is the logo location. An optional `a=` tag points to a Certificate, which is either a Verified Mark Certificate (VMC) or a Common Mark Certificate (CMC) from an approved Mark Verifying Authority. Leave `a=` out if you do not have one; some mailbox providers show a logo only when a certificate is present, and others do not require it.

    Step 4: Verify the record

    ``` dig +short TXT default._bimi.example.com ```

    The output should contain `v=BIMI1` and your `l=` URL. Then fetch the URL and confirm it returns the SVG with the correct content type. If the TXT record is missing, the check is the name: it must be `default._bimi` under the domain, not `_bimi` alone.

    What Mailgun does not control

    Mailbox providers decide whether and when to show a logo. The BIMI Group states that each has its own criteria, and some require a certificate. The Mailgun pages we read do not cover BIMI, so a correct record here does not depend on anything Mailgun publishes, and it does not guarantee that any provider will display the logo. Display can also lag behind a correct record, so do not judge the result within a day of publishing.

    Frequently asked questions

    Keep reading

    Comparisons

    Instantly vs Smartlead: How to Choose a Cold Email Platform

    Instantly and Smartlead both support cold email campaigns across multiple sending accounts. The better choice depends on your contact limits, sending volume, reply workflow, and the cost of the features you actually need. Start

    Read
    Comparisons

    Instantly vs Smartlead Deliverability: How to Compare Inbox Placement

    Neither Instantly nor Smartlead can guarantee that a cold email reaches the inbox. Both provide tools for managing outreach, but inbox placement also depends on your sending domain, authentication, recipient list, message and the

    Read
    Comparisons

    Instantly vs Smartlead Pricing: Compare the Real Cost of Outreach

    The headline subscription is only one part of a cold email budget. The right comparison includes sending limits, contact storage, mailboxes, lead data, verification and any tools needed for your team. A cheaper entry plan can

    Read