No KYC: one verified email, no ID · Paid in crypto: BTC, USDT, USDC, ETH, SOL, LTC · .com $12.49/year, same price every year
Language: English
Find your address

Setup guide · checked 12 November 2026

How to set up a custom domain with Mailfence?

Mailfence does not print most of its record values in the documentation: the account panel generates them. This guide gives the order of the steps and every value that is published.

Last updated: · 6 min read

Quick answer

How to set up a custom domain with Mailfence?

On a paid Mailfence plan, open Settings > Messages > Email domains, add your domain, publish the ownership TXT, then both MX records with the same preference, for example 10, and finally the SPF, DKIM and DMARC values shown in the panel. Postelva registers the domain and hosts its DNS.

The records of a Mailfence domain and where each value comes from

From Mailfence's knowledge base articles on custom domains and anti-spoofing, read 12 November 2026. Values marked account are generated in your own panel.
RecordTypeHostValueSource of the value
OwnershipTXTper panelGenerated in the panelAccount
Mail 1MX@Given in step 8 of the article; the same preference on both lines, example 10Account panel
Mail 2MX@Given in step 8 of the article; the same preference on both lines, example 10Account panel
SPFTXTdomainv=spf1 include:_spf.mailfence.com -all (Mailfence only) or ~all (other senders)Article example, then copy from panel
DKIMTXTper panelGenerated key, 2048 bits recommendedAccount
DMARC (optional)TXTper panelGenerated, report-only p=none suggestedAccount

Steps for a domain bought at Postelva

  1. Register the domain

    Buy it in the Postelva client area and keep the DNS there.

  2. Choose a paid Mailfence plan

    Mailfence supports custom domain addresses on paid plans only. The number of domains per plan is shown in a chart on its article.

  3. Add the domain and prove ownership

    In Settings > Messages > Email domains click Add an e-mail domain, type the domain, add the TXT record the panel gives you and click Verify.

  4. Set up SPF and DKIM before the MX records

    Copy the SPF and DKIM values from the panel into the DNS editor. Mailfence calls these compulsory for deliverability.

  5. Create addresses, then switch the MX

    Create the domain-based addresses as aliases of your account first, particularly if the domain already receives mail. Then add both MX records and click Verify.

Shape of the Mailfence zone for example.com
example.com.   TXT    "<ownership value from Settings > Messages > Email domains>"
example.com.   MX 10  <first MX host from the panel>.
example.com.   MX 10  <second MX host from the panel>.
example.com.   TXT    "v=spf1 include:_spf.mailfence.com -all"
<DKIM host from the panel>  TXT  "<DKIM key from the panel>"
_dmarc.example.com.  TXT  "<DMARC value from the panel, rua= replaced with your address>"

Why does the guide say to copy MX, DKIM and DMARC from the panel?

Mailfence shows its MX hostnames in a screenshot and generates the DKIM and DMARC strings per domain, so a written list would risk giving you a wrong value. On the pages read on 12 November 2026, the only hostname that appears in text is smtp1.mailfence.com, quoted as an example of a malformed record: without the trailing dot some DNS editors append your domain, giving smtp1.mailfence.com.mydomain.com. The article also tells you to use the same preference on both MX lines, with 10 as an example, so that load balancing and failover work.

Two more warnings from the same article apply to every setup. Subdomains count separately, so foo.example.com and example.com are two domains with their own records. And the address used for password reset and notifications must not sit on the domain you are adding, otherwise losing the domain's mail could lock you out. Put the domain at Postelva and the reset address at an unrelated provider.

What is the right SPF value for Mailfence?

Use include:_spf.mailfence.com, ending in -all if only Mailfence sends mail for the domain and ~all if other servers send too. Mailfence's anti-spoofing article gives these two examples and tells you to copy the final value from the SPF tab of your domain. The article prints an en dash before all; type a plain hyphen in your record. If another SPF record already exists on the name, merge the include into it, because two SPF records on one name are invalid; the method is in how to create an SPF record.

The DKIM tab produces a 2048-bit key by default, and a 1024-bit option exists for DNS providers that cannot store long TXT values. If an outside checker validates the key but the panel does not, the article proposes a policy record at host _domainkey with value o=~ or o=-. For the theory see how to set up DKIM.

Which optional records does Mailfence document?

Mailfence documents DMARC, MTA-STS and mail-client auto-configuration as optional extras. The DMARC tab suggests a report-only policy, p=none, and lists quarantine and reject as stricter choices; replace the placeholder in rua=mailto: with an address on a domain you have added, and edit an existing _dmarc record instead of adding a second. Follow how to set up DMARC for the progression. For MTA-STS the article gives no DNS value but names Mailfence's policy file at mta-sts.mailfence.com; see how to set up MTA-STS.

Auto-configuration uses three SRV records with target mailfence.com, priority 0, weight 0 and port 443, at _autodiscover._tcp, _caldavs._tcp and _carddavs._tcp under your domain, plus a CNAME autoconfig pointing to mailfence.com, all with a TTL of 600. Clients that rely on that CNAME may show an SSL warning, Outlook for example.

How does Mailfence compare on setup effort?

Most Mailfence values are copied from an account panel rather than from a public page. According to Postelva's survey of 12 November 2026, the Mailfence panel tracks 5 DNS checks (ownership, SPF, DKIM, MX and DMARC), and a .com costs $12.49/year at Postelva. Mailfence's pricing page could not be read today, so its plan prices are not quoted here.

If you later move away, nothing changes in your Mailfence account: the knowledge base says only that the domain must keep correct DNS values at the new host, and any entry that is not green must be re-created. Your address stays portable, as how to keep your email address when you change provider explains. one-click DNS templates for Proton Mail, Fastmail, Zoho Mail, Google Workspace and Microsoft 365, plus an SPF + DMARC template and a "no email" template for a domain that sends nothing exist for other providers; Mailfence has none, so you enter its records in the Postelva DNS editor, which supports free DNS hosting with A, AAAA, CNAME, ALIAS, MX, TXT, NS, SRV and CAA records, DNSSEC, and your own nameservers if you prefer (2 to 13).

Questions about Mailfence and custom domains

Does the free Mailfence plan allow a custom domain?

No. Mailfence states that domain-based addresses are supported in paid plans. Check the chart in its article for the number of domains per plan.

Are the MX records the same for every domain?

The article presents them in a screenshot and asks for the same preference on both lines. Copy the two hostnames from your panel and keep the trailing dot if your DNS editor needs it.

Can I use Mailfence addresses only to send?

Yes. Under Settings > Account > Personal Data > Edit you add sender addresses, and removing them makes the domain receive-only.

Is plus addressing available on my domain?

Mailfence has a dedicated article on plus addressing for domain-based addresses. Read it before relying on the pattern.

In summary
  • Custom domains need a paid Mailfence plan.
  • Path: Settings > Messages > Email domains > Add an e-mail domain.
  • Order: ownership TXT, SPF and DKIM, addresses, both MX records.
  • Both MX lines use the same preference, for example 10.
  • SPF: include:_spf.mailfence.com with -all or ~all.
  • DKIM, DMARC and ownership values come from your panel.
  • The panel checks 5 records; subdomains count as separate domains.
  • Postelva: .com is $12.49/year every year.
Sources (5)
  1. Mailfence - Custom domain-based addresses in a Mailfence account — Mailfence (read 2026-11-12)
  2. Mailfence - How to set up anti-spoofing defense for my domain — Mailfence (read 2026-11-12)
  3. Mailfence - Auto-configuration for a custom domain — Mailfence (read 2026-11-12)
  4. Mailfence - Moving a domain to a new registrar or host — Mailfence (read 2026-11-12)
  5. Mailfence - Custom domain knowledge base category — Mailfence (read 2026-11-12)

.com $12.49/year · no KYC · crypto

Find your address