Why SPF, DKIM and DMARC for Mautic sending domains come before the first campaign
Before the first Mautic campaign goes out, every domain it sends from needs its authentication records in place, because mailbox providers decide whether to accept and place your mail based on those records before they read the content. If your marketing or IT lead is responsible for the sending domain, the question is not whether to set up authentication but who owns each record and how it will be checked. Mautic does not publish these records for you. SPF, DKIM and DMARC are DNS records and mail settings that live outside Mautic, in your DNS provider and in the transport that signs or relays the mail. Confirm the owner of each DNS zone before the build starts, since changes often wait on a separate infrastructure or networking team.
In plain terms, SPF (Sender Policy Framework) is a DNS record that lists which servers may send mail for your domain. DKIM (DomainKeys Identified Mail) attaches a cryptographic signature to each message, and the matching public key is published in DNS so receivers can verify it. DMARC (Domain-based Message Authentication, Reporting and Conformance) is a published policy that tells receivers what to do when SPF and DKIM do not align with the visible From domain, and it can request aggregate reports. Every domain Mautic sends from needs all three. If you use the Mailer is owner setting so that emails come from each contact's assigned owner, every owner domain needs its own SPF and DKIM records as well, and that multiplies the DNS work and the people who must maintain it.
DeployOpen configures these records, checks that they resolve and align with your transport, and documents what each one is for. DeployOpen does not issue any certification or guarantee of deliverability, and mailbox providers do not certify senders through a process that DeployOpen controls. Ask for a written list of the records to be created, the transport that signs the mail, and the test messages used to confirm results before the first send.
Which DNS records Mautic sending depends on
Mautic sends through a transport you configure, but mailbox providers judge the domain in each message's headers and the DNS records behind it. Each record below has a different issuer, and a gap in any one of them can route mail to spam or reject it outright.
Sender domain and from address
The sender domain is the domain in the From address that recipients see. Your DNS owner controls it, and Mautic's from address settings must match a domain you can publish records for. If the From domain differs from the domains your SPF and DKIM records cover, DMARC alignment fails even when both checks pass for another domain. Confirm which domain each campaign, sender and owner-based address uses before you publish anything.
DKIM selector and public key
Your email transport generates the signing key pair and tells you the selector and public key to publish. Your DNS owner adds the key as a TXT record under the selector name. If the record is missing or differs from the key the transport signs with, receiving servers report a DKIM failure. Ask the transport which signing domains it supports and whether it rotates keys, because rotation requires a new selector and a second record.
SPF record for the transport's sending hosts
The SPF record is a TXT record on the sending domain that lists the hosts or includes the transport is allowed to send from. The transport supplies the include or host entries, and your DNS owner publishes them. Without the record, or with a second SPF record on the same domain, SPF evaluation fails. Keep the record to one entry per domain and check the lookup count with each new transport you add.
DMARC policy record
The DMARC record is a TXT record at the _dmarc label of the sending domain. Your security or compliance team sets the policy and reporting addresses, and your DNS owner publishes it. DMARC passes when SPF or DKIM passes and aligns with the From domain. Start with a monitoring policy and review aggregate reports before you tighten it, because a strict policy applied early can block legitimate Mautic mail.
Bounce and click tracking domains
Tracking links and bounce handling often run on a subdomain that the transport hosts, such as a custom tracking domain. The transport gives you the CNAME target, and your DNS owner creates the record. If it is missing, click links may show a domain that does not match your brand, and some transports will not use tracking until the record resolves. Mautic's tracking settings and the transport's domain settings must point to the same hostname.
Sending domain setup options and when each fits
This table compares three ways to lay out Mautic sending domains: one shared domain, a dedicated marketing subdomain with a separate tracking domain, and per-owner domains. Read each row against your mail volume, the teams that own contacts, and how much DNS work your team can maintain. Confirm transport-specific requirements, such as the DKIM selector and tracking domain setup, with your sending provider before you publish records.
| Option | What it isolates | Extra DNS work | Trade-offs for reputation and support |
|---|---|---|---|
| Single sending domain | Mautic mail and the company's other email share one domain's SPF, DKIM and DMARC results | One SPF record, one DKIM key set and one DMARC policy for the main domain | Simplest to run, but a complaint spike from marketing mail can affect staff email and the reverse is also true |
| Dedicated marketing subdomain | Bulk marketing mail is separated from transactional and staff mail by its own domain reputation | SPF, DKIM and DMARC published on the subdomain, plus delegation checks for the provider's return path | Protects the main domain's reputation and keeps policy choices separate, but every new sending service needs its own records |
| Separate tracking or link domain | Open and click links resolve through a domain distinct from the sending domain | A CNAME or equivalent record for the tracking host, with a TLS certificate that covers it | Improves link trust and keeps tracking hosts apart from authentication records, but must be kept online and certified or links break |
| Per-owner domains with Mailer is owner | Each contact owner sends from a personal or team address on their own domain | SPF and DKIM records for every owner domain, and a DMARC policy on each one | Matches what contacts expect from a named sender, but multiplies records, key rotations and support tasks as owners change |
| Shared provider return path | Bounce handling and envelope sender may sit on the provider's domain | Little or none on your side if the provider supplies it | Lower setup effort, but alignment with your From domain may be weaker, so DMARC results depend on the provider's configuration |
| DMARC alignment target | Whether the visible From domain matches the domain that passed SPF or DKIM | Choose relaxed or strict alignment and set the policy tag accordingly | Strict alignment is harder to meet with third-party services, so test each sending path before tightening the policy |
| Records for multiple sending services | Each service that sends for the domain appears in SPF and signs with its own DKIM key | One DKIM record per signing service, and an SPF lookup count that stays within limits | More services add lookups and keys, so review the list whenever a provider is added or removed |
| Confirm with your transport provider | Required DKIM selector names, return path hosts and tracking domain steps | Values come from the provider's dashboard, not from this page | Ask the provider for the exact records to publish and whether it supports your chosen layout |
How to publish and verify authentication records for Mautic
This sequence moves a Mautic sending domain from unsigned mail to a verified setup where SPF, DKIM and DMARC all pass and align with the From domain. Each step ends with a check, so the team knows the record or setting is live before moving on to the next one.
Choose sending and tracking domains
Decide which domain appears in the From address, which subdomain or domain hosts Mautic's bounce and click tracking, and which hosts will send on the organization's behalf. Confirm with the marketing and DNS owners who can edit those zones. Write the list down, because every later record depends on it. The step is done when each sending host has a named domain, a named DNS owner and no shared ambiguity about which domain Mautic will use in the From header.
Enable DKIM signing and publish the key
In the transport configuration, turn on DKIM signing for the chosen sending domain and generate or import the key pair. Publish the public key as a TXT record at the selector name the transport gives you, using the exact host name it shows. Your DNS owner should confirm the record is visible from an outside resolver. The check is a DNS lookup that returns the public key, and a test message whose headers include a DKIM-Signature field for that domain.
Publish the SPF record for every sender
Build one SPF TXT record at the sending domain that lists every host allowed to send mail for it, including the Mautic server, any transport provider's include mechanism and any other system that sends from that domain. Keep the record to a single TXT entry and end it with a clear qualifier. Ask the transport provider for the exact include value it requires. The check is a DNS lookup returning one SPF record and a test message showing an SPF pass for the envelope sender.
Add a DMARC record in monitoring mode
Publish a DMARC TXT record at _dmarc for the sending domain with the policy set to monitor only, and add a reporting address that a team member actually reads. Start in monitoring mode so you can see which legitimate sources fail alignment before any mail is rejected. Confirm the record resolves and that the reporting mailbox is reachable. The check is a successful DNS lookup of the _dmarc host and a first aggregate report, which may take time to arrive after publication.
Send test messages from the configured transport
Send test emails from a campaign or test send using the production transport, not a local mailer. Send to at least one mailbox you control at each major provider the list reaches, so you see how each handles the message. Use the same From address that campaigns will use. Transport credentials and DSN format are covered on the Mautic transport page, so check that configuration there if a test fails to send at all.
Check headers for SPF, DKIM and DMARC alignment
Open the full headers of each test message and confirm that the Authentication-Results field reports SPF pass, DKIM pass and DMARC pass. Check that the DKIM domain and the SPF envelope domain align with the domain in the From header, which is what DMARC alignment requires. If a check fails, correct the record that matches the failing mechanism and resend. The step is complete when every test message from the production transport shows all three results passing with alignment.
Review DMARC reports before tightening policy
After legitimate mail has passed for a period your team sets, review aggregate DMARC reports for any sending source that fails or is unknown. Add missing senders to SPF, fix DKIM signing for those sources or retire them. Keep the policy at monitor until the reports show no unexplained failures from sources you use. Tightening the policy is a separate decision that should be recorded and tested again, and it should not happen before this review.
How DMARC alignment works when Mautic uses a transport and tracking domain
DMARC passes when either SPF or DKIM passes and the domain that passed is aligned with the domain in the visible From address. Alignment is the check that matters for Mautic. A message can pass SPF for the bounce domain and still fail DMARC, because the bounce domain (the envelope sender, sometimes called the Return-Path) is not the domain the recipient sees. The same logic applies to DKIM: a signature from the transport's own domain passes the signature check but does not align with your From domain unless that signing domain matches or is a relaxed subdomain of it. Relaxed alignment is the default in most DMARC setups, but the policy record on your domain controls which mode applies, so confirm the adkim and aspf values in your own DMARC record rather than assuming them.
When Mautic sends through a transport, a tracking domain or a provider's shared signing domain can break alignment in ways that look correct in the Mautic interface. Check the full header of a test message from each transport and note which domain signed it (the d= tag in the DKIM-Signature header), which domain appears in the envelope sender, and which domain appears in From. Ask your transport provider whether it can sign with a domain you control and whether custom return-path and link tracking domains are configured under your own DNS. Tracking links are not part of DMARC evaluation, but a misconfigured tracking domain often shares the same DNS zone as the sending domain and can be mistaken for an alignment problem during troubleshooting.
Aggregate reports (RUA reports) are the main way to see alignment at scale. Each report lists the sending sources that claimed your domain, their SPF and DKIM results and whether each one aligned. Start with p=none so no legitimate mail is rejected while you learn the sources. Identify every source that sends as your domain, including Mautic, the transport and any other system, and fix each unaligned source before you change policy. Move to quarantine and then reject only after the reports show your known sources aligning consistently, and confirm the timing and volume criteria for that move with your own mail team and your reporting tooling, since this guidance does not set fixed thresholds. Keep the policy at each stage long enough to cover your normal sending cycles, including campaigns that run less often.
Security and operational considerations for sending domains
Sender records are only as reliable as the systems that hold them. DNS access, signing keys, the lookup budget in SPF, DMARC reporting and upgrade changes all affect whether mail keeps passing authentication after launch. Review each item before the first live campaign and again after every transport or Mautic change.
Control and log DNS changes
Every SPF, DKIM, DMARC and tracking domain record lives in a DNS zone that someone can edit. Limit write access to a small named group, require a second reviewer for changes to sending records, and keep the change history in your DNS provider or change system. A silent edit to an SPF include or a DKIM selector is one of the most common reasons authentication breaks overnight. Confirm who can edit each zone and where changes are logged before you publish records.
Protect DKIM private keys
The DKIM private key lets anyone who holds it sign mail as your domain, so it needs the same care as other production credentials. Keep it in the transport's configuration or in a secrets store, restrict read access to the service account that sends mail, and keep it out of web-accessible paths and Git repositories. Generate keys on the host that signs mail where possible, and record which selector maps to which key so rotation does not break live mail.
Trim SPF includes to stay under the limit
SPF evaluation allows a limited number of DNS lookups, and each include: or mechanism that points to another host can count toward it. Mailers, marketing tools and CRM senders each add includes over time, and a record that exceeds the limit fails for every message. Inventory each include against a current sender, remove retired ones, and prefer a single include from each provider. Confirm the final lookup count with an SPF checker after every change.
Review DMARC aggregate reports
DMARC aggregate reports show which systems send mail as your domain and whether SPF and DKIM pass with alignment. Start with a monitoring policy, collect reports for a full sending cycle, and match every source to a known sender such as Mautic, your transport or a CRM. Unknown sources may be abuse or a misconfigured tool, and both need a decision before you move to a stricter policy. Assign a named owner to read reports on a regular schedule.
Keep records aligned through upgrades
A transport change, a new provider or a Mautic upgrade can alter the sending path, the return-path domain or the signing configuration. Before each change, list the records it touches and test a message to a seed account that reports the authentication results. Keep the record set in version control or a documented runbook so the next person can see what changed. Plan this check into each Mautic upgrade window rather than treating it as a one-off task at setup.
Host Mautic on a dedicated server
The Mautic project states that it should not run on shared hosting and recommends a VPS or dedicated server. Outbound mail and DKIM keys both depend on that host: shared environments can share IP reputation, limit outbound connections and expose key files to other tenants. Ask your hosting provider whether the server's sending IP, reverse DNS and key storage are under your control, and document the answer with the sender records.
Mautic requirementsQuestions teams ask before setting up Mautic sending authentication
Can our own team set up SPF, DKIM and DMARC for Mautic without a partner?
Yes, a team with DNS administration rights and someone who understands mail headers can usually do the work in-house. The job involves publishing SPF and DKIM records, choosing a Mautic sending domain and tracking domain, confirming alignment, and then moving DMARC from monitoring to enforcement. The harder part is coordination: the transport provider, the DNS owner and the person approving changes often sit in different teams. Before deciding, check whether your team has someone who can read a DMARC aggregate report and whether it has time to watch results for several weeks after each change.
What makes the effort for Mautic email authentication larger or smaller?
Effort follows the number of sending domains and subdomains, the transport you choose, and whether emails go out as individual contact owners. Each domain needs its own records, and each owner domain adds SPF and DKIM entries that must be tested. Transports differ in how they sign messages and which DNS values they require, so provider documentation shapes the work. DNS access and review cycles matter as much as technical complexity: if every change needs a ticket and a change window, the calendar becomes the longest part of the schedule.
What do you need from our team to start an authentication engagement?
We need the list of domains Mautic will send from, including tracking and bounce domains, and access or a named owner for the DNS zones that hold them. We also need the transport account details or the provider's DNS requirements, so records match what the provider signs with. Approvers should be named in advance, along with the change process for DNS and the mailbox where DMARC reports arrive. Your Mautic administrator should confirm which contact owners send mail and which addresses they use, since that decides the extra records.
How long does it take to get Mautic domains authenticated?
Duration depends on how many change windows your organization runs, how quickly DNS changes are approved, and how long DNS propagation takes for each record. Propagation time depends on the TTLs already set on your zones and on resolvers outside your control, so a change can look correct in one place and still be cached elsewhere. A realistic plan includes time to publish, test with a sample send, wait for DMARC reports to arrive, and then raise the policy. Ask for a written schedule that separates DNS work from the waiting periods, and confirm your change freeze dates before work starts.
Do SPF, DKIM and DMARC alone guarantee that Mautic emails reach the inbox?
No. These records prove that a message was authorized and signed for the domain in the From address, and they let receivers apply a policy when checks fail. They do not decide inbox placement on their own. Mailbox providers also weigh sending reputation, complaint rates, list quality, content, unsubscribe handling and bounce behavior. Authentication is a necessary foundation for bulk senders, and the Mautic sending practices covered in the related guidance on Gmail and Yahoo requirements still need to be in place.
How is the cost of this work set when there is no published price list?
DeployOpen does not publish a price list. A quote follows from the written scope, which lists the domains, the transport and its DNS requirements, the number of owner domains, the review and approval steps, and whether DMARC monitoring and retesting are included. Costs are usually a one-time setup fee for the implementation and an optional recurring component if you want ongoing monitoring of reports. Ask for the scope to state exactly what counts as complete, how many revision rounds are included, and what changes after go-live.
Will we still need to manage DNS records after the engagement ends?
Yes. Authentication records are part of your live DNS, so they change when you add a sending domain, switch transports, rotate DKIM keys or onboard a new contact owner domain. Your team should own a short runbook that lists each record, its purpose and its owner, and should review DMARC reports on a regular schedule. Ask whether your agreement includes a handover, a documented record inventory and a retest after major changes, and confirm who receives the alerts if a record breaks.
How the sending domain, DKIM signature and DMARC check fit together
The flow starts when Mautic hands a message to the mail transport, which signs it with a DKIM key tied to the sending domain. The receiving mailbox provider then checks two things: whether the SPF and DKIM results pass, and whether the domain that passed matches the From domain the reader sees. That match is DMARC alignment, and the provider applies whatever policy the sending domain publishes. Check each hand-off separately, because a passing SPF record alone does not satisfy DMARC.
Authentication checks a mailbox provider runs on each message from a Mautic sending domain.
Where to confirm Mautic requirements and transport guidance
Before you publish any DNS record, confirm the exact values for your Mautic version against the official documentation and your transport provider's own authentication guide. Mautic's requirements page sets out the supported PHP, database and web server versions for each release line, and the installation documentation covers how the instance itself is built, which affects where the mailer is configured and which cron and queue processes are running when sends happen. Read the version that matches your installed release, not the latest page by default.
The record values themselves come from your sending provider, not from Mautic. Each transport issues its own SPF include mechanism, DKIM selector and public key, and tracking or return-path domain targets, and those can change when the provider rotates keys or moves infrastructure. Ask the provider for its current authentication guide, confirm which domain it expects you to align with, and check whether it supports the DKIM and custom return-path setup you need before you commit to a transport, since Mautic's mailer settings only send mail; they do not generate the records.
Keep a short record of the sources you used, the Mautic version and the date you checked them. When a provider or Mautic release changes a requirement, that note tells your team what to re-verify and which DNS changes need a second review. Treat the vendor guides as the authority for record syntax, and use the Mautic documentation to confirm how the instance expects to send and where the settings live.
How DeployOpen works on this
DeployOpen scopes, builds and hands over SPF, DKIM and DMARC for the domains your Mautic instance sends from, inside your own infrastructure and DNS. Each engagement starts with a written scope that lists the sending domains, tracking domains and any owner-based senders, so your team knows exactly what records will change and who approves them.
How we scope
- We inventory every sending, bounce and click tracking domain Mautic will use, including owner-based senders.
- The written scope names the DNS provider, the DNS change process and who approves each record.
- Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.
How we build
- We draft SPF, DKIM and DMARC records and check alignment against the From domain Mautic uses.
- We configure DKIM signing with the transport you choose and confirm the selectors resolve correctly.
- We test with real message headers and a monitored DMARC report mailbox before any policy is tightened.
How we hand over
- You receive a record inventory with the value, purpose, owner and expiry or rotation notes for each record.
- Documentation covers the DMARC rollout steps, the reporting mailbox and how to add a new sending domain.
- A retest confirms that records, signing and alignment still pass after the handover.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers.
- A retainer can cover DKIM key rotation, DMARC report review and checks when a new owner domain is added.
- Ask any provider to confirm in writing how they handle DNS access and key storage before work starts.

