Mautic email delivery providers and bounce handling: what the integration does
A team self-hosting Mautic needs campaign email to reach inboxes, and it needs bounced addresses and unsubscribe requests to stop future sends. Mautic sends through an email transport, which is the mail service or SMTP relay it hands messages to. It learns about bounces and unsubscribes through one of two methods: provider webhook callbacks, where the email service posts events back to Mautic, or IMAP monitoring, where Mautic reads a return-path mailbox. These two methods are not interchangeable. The choice depends on which transport you run, whether that transport preserves the return-path address Mautic relies on, and who controls the mailbox and its retention.
Mautic lists Elastic Email, SparkPost, Mandrill, Mailjet, SendGrid and Amazon SES among the providers that support webhook callbacks for bounce management. Since Mautic 5, all email transports use the same callback URL, ` with the hostname replaced by your own. That means you configure one public HTTPS endpoint on your instance and then register it in each provider's event settings. Confirm in your provider's console which bounce, complaint and unsubscribe event types it sends, and whether it requires request signing or a verification step before it will deliver events.
IMAP monitoring works differently. The docs note that services which overwrite the return-path header, such as Gmail and Amazon SES, stop IMAP bounce monitoring from working. If your transport is one of those, IMAP is not a fallback you can switch on. Before go-live, send test messages to addresses that hard bounce and to a test address that unsubscribes, then confirm the Do Not Contact status updates on the contact record. Ask your provider which mechanism it uses for suppression so you know whether Mautic or the provider holds the authoritative list.
What you need before connecting an email provider
Before Mautic sends a single campaign email through a provider, six things need to be in place: a supported Mautic release on suitable infrastructure, a sending domain you control, provider credentials, a reachable callback endpoint, and workers that process queued mail. Each one affects whether bounce and unsubscribe data reaches your contact records.
Supported Mautic release and stack
Choose a Mautic release that is still under security support and confirm the PHP and database versions it requires. Mautic 7.0 requires PHP 8.2, 8.3, 8.4 or 8.5, and MySQL 5.7 or higher with InnoDB, or MariaDB 10.2 or higher. Confirm your web server is Apache, Nginx or IIS, and that npm is present from Mautic 5.0 onward. Check the release support dates before you pick a version, because a provider integration built on an unsupported release creates upgrade work later.
Mautic requirementsDedicated server, not shared hosting
The Mautic project states that it should not be installed on shared hosting and recommends a VPS or dedicated server. Email delivery depends on long-running cron jobs and queue consumers, and shared hosts often limit both. Plan a server you control, with enough memory and disk for the database and logs, and confirm that outbound connections to your provider's SMTP or API endpoints are allowed by your network policy.
Sending domain you control
Mautic sends mail from a domain you own, so SPF, DKIM and DMARC records must point to your provider. Confirm who can edit DNS for that domain and how long changes take to propagate in your environment. Bounce handling depends on the return-path and bounce address your provider uses, so agree those values with the provider before you test. Note that a domain managed only by a marketing team without DNS access will block the setup.
Provider account and credentials
Create a sending account with your chosen provider and generate either SMTP credentials or an API key with send permission only. Store these in your secrets manager rather than in shared configuration files, and record which rotation owner holds them. Confirm the provider's sending limits, region and account review rules in its own documentation, since these determine how fast you can ramp volume after launch.
Public HTTPS callback endpoint
Since Mautic 5, every email transport posts bounce and complaint events to one callback URL on your instance, which must be reachable over HTTPS from the internet. Put this endpoint behind your reverse proxy with a valid certificate and confirm the proxy does not block POST requests to the mailer path. Ask the provider whether it signs callbacks and how signatures are verified, and confirm that option in its own documentation before you rely on it.
Mautic emails docsCron and messenger workers
Queued sends and bounce processing need background work to run. Mautic depends on cron jobs for segment updates, campaign updates and campaign triggers, which should be staggered, plus a broadcasts command for segment emails and a messenger consumer when emails are queued. Without these running, emails stay queued and callback results are never applied to contacts. Assign an owner for worker monitoring and restart behaviour before go-live.
How to configure the transport and bounce callbacks in order
This sequence connects Mautic to one email transport, registers the single mailer callback with that provider, and proves that bounces and unsubscribes reach the contact record before the instance sends real campaign mail.
Choose the transport before touching settings
Decide which provider will send mail for this instance, and confirm that it offers webhook callbacks for bounce and complaint events. Mautic lists Elastic Email, SparkPost, Mandrill, Mailjet, SendGrid and Amazon SES among providers that support webhook callbacks for bounce management. Ask the provider which event types its webhook sends and whether it can be scoped to one sending domain. Done means you have a written choice of provider and a list of the events it will report, confirmed against the provider's current documentation rather than a copy kept from an earlier project.
Enter transport credentials in Mautic
In Mautic's email configuration, select the transport and enter the sending credentials issued by the provider, such as an API key or SMTP login. Store secrets in the way your organization handles other production credentials, and restrict who can open the configuration screen. Send one test message from the configuration page to a mailbox you control. Done means the test arrives, the message headers show the provider as the sender, and no credential appears in logs or screenshots shared with the team.
Register the mailer callback URL with the provider
Since Mautic 5, every email transport uses the same callback address, shaped as your instance domain followed by the mailer callback path. Register that one URL in the provider's webhook settings, and enable the bounce, complaint and unsubscribe event types you identified in the first step. Provider webhook screens differ and change over time, so confirm each provider's current setup steps with the provider before you configure them. Done means the provider shows the webhook as active and reports a successful test delivery or a valid response from your instance.
Confirm the callback endpoint is reachable
Check that the callback URL resolves publicly over HTTPS to your Mautic web server and is not blocked by a firewall, proxy rule or authentication layer in front of it. Ask your platform team to confirm that the path is excluded from any login or IP restriction that would reject provider requests. Use the provider's webhook test feature if it has one, and review the web server access log for the incoming request. Done means the log records a request from the provider and the response code is a success rather than a redirect or denial.
Send test messages to a bounce test address
Send a campaign-style test to a bounce test address that your provider documents for simulated bounces, and send a second test to a mailbox you control for normal delivery. Use a contact you created for testing, not a production list. Check the provider's event log to confirm the bounce event was generated. Confirm the provider's current list of simulated addresses with the provider, because these addresses can change. Done means the provider logs both the delivery and the bounce event for the test contact.
Verify the bounce on the contact record
Open the test contact in Mautic and check that the bounce is recorded in its timeline and that the contact's email is marked as not contactable or bounced. Confirm that the contact no longer receives campaign or broadcast email. If the bounce does not appear, check the callback log entries and the earlier reachability test before changing any setting. Done means the contact record shows the bounce event with the correct timestamp and the contact is excluded from further sends.
Test the unsubscribe path end to end
Use a second test contact and send a message containing your standard unsubscribe link, then click it from the test mailbox. Confirm the provider sends the unsubscribe event to the callback if it supports one, and check that Mautic marks the contact as do not contact for email. Test the link in your template as well, since an unsubscribe that works only through a provider-side list will not update Mautic. Done means the contact record shows the unsubscribe and a follow-up test send is suppressed.
Webhooks or IMAP: which bounce method fits your sender
Provider webhooks are the route Mautic lists for senders such as Amazon SES, SendGrid, Mailjet, Elastic Email, SparkPost and Mandrill. The provider posts bounce, complaint and unsubscribe events to Mautic as they happen, so Mautic can update contact records without reading a mailbox. Since Mautic 5, every email transport uses the same callback URL, which means you configure one endpoint pattern regardless of provider. The provider side still needs its own setup, including subscribing to the right event types and making sure the endpoint is reachable over HTTPS from the provider's network.
- Event coverage: Webhooks carry the events your provider chooses to send. Confirm which bounce types, complaints and unsubscribes are included for your account.
- Shared callback URL: Every transport posts to ` so the public hostname must match what you register with each provider.
- Endpoint reachability: Firewalls, reverse proxies and load balancers that block provider traffic will cause events to be lost without an obvious error in Mautic.
- Provider-specific setup: Each provider has its own subscription steps and signing or verification details. Check them against the provider's current documentation rather than assuming they match another provider.
- Replay and gaps: Find out whether your provider retries failed deliveries to your endpoint and for how long, and how you will detect a period of missed events.
Before going live, send test messages to known invalid and complaint-generating addresses from the provider's test tools and confirm that Mautic records each event on the correct contact.
IMAP monitoring works differently. Mautic connects to a mailbox, reads messages that arrive at it, and treats bounce notices and unsubscribe requests as signals. The method depends on the return-path address. Mautic can append an identifier to the return-path so that a bounce returns to the monitored mailbox with enough information to match the original message. This only works when the sending service keeps the return-path header intact. The docs note that services which overwrite the return-path, including Gmail and Amazon SES, stop IMAP bounce monitoring from working, so IMAP is generally not the route for those senders.
- Where it fits: IMAP suits a sending path that passes the appended return-path through unchanged, such as a self-managed mail server that you control.
- What it misses: Bounces that the sending service handles internally, and events that never generate a message to the mailbox, are not visible to Mautic.
- Mailbox dependency: The monitored account needs reliable access, sufficient retention and a plan for mailbox quota or rule conflicts.
- Timing: Results depend on how often the mailbox is polled and on the cron jobs that process it, so bounce handling lags behind the send.
- Verification: Send a test to an address you control that is set to bounce, then confirm the contact is updated after the next poll.
Confirm with your mail infrastructure team whether the return-path survives every hop before you rely on IMAP for any sender.
Several common senders are the reason IMAP monitoring disappoints teams. When a service rewrites or overwrites the return-path header, the bounce goes to that service's own address, not to the mailbox Mautic watches. Mautic then receives nothing it can match, and the contact list keeps addresses that will keep failing. The docs name Gmail and Amazon SES as examples. Teams often discover this only after deliverability problems appear, because the send itself succeeds and no error reaches Mautic.
- Amazon SES: The docs list SES as overwriting the return-path, so use the webhook route for SES sending.
- Gmail: Mail sent through Gmail infrastructure, including relayed sending, does not preserve the appended return-path for IMAP matching.
- Relays and smart hosts: Some relays and gateways rewrite envelope addresses. Test the full path, not only the origin server.
- Silent failure: A broken IMAP route shows no send error, so monitor bounce counts and compare them with the provider's reports.
- Mixed setups: If one instance sends through several transports, decide per transport which method applies and document it.
Ask your sending provider and mail team to confirm the envelope and return-path behavior in writing for each transport you plan to use.
The practical decision starts with the sender. If your transport is one of the providers that Mautic lists for webhook callbacks, webhooks are the natural route because they carry events from the provider rather than from a mailbox. If you run your own mail server and can keep the appended return-path intact, IMAP is a workable option. In either case, neither method is a complete record on its own, so the decision should include how you reconcile Mautic's contact state with the provider's suppression lists and with your unsubscribe handling. Cost and effort come from the work of configuring endpoints or mailboxes, testing each path, and keeping the configuration aligned when providers or hostnames change, and these are one-time for the build and recurring for upkeep.
- Start with the transport: List every transport your instance will use, then assign a bounce method to each one.
- Check the provider list: Confirm that your provider is on the supported webhook list in the Mautic emails documentation.
- Plan reconciliation: Decide how suppression lists at the provider are compared with Mautic's do not contact status.
- Record ownership: Name who maintains the endpoint, the mailbox and the provider subscriptions.
- Budget for testing: Ask any implementation partner to price the test plan for each transport in the written scope.
Before committing, confirm the provider's current event types and the Mautic version you run, then test each chosen path end to end.
How bounce and unsubscribe events map to Mautic contact fields
This table lists the four provider event types your team needs to verify and the outcome each should produce on a Mautic contact, such as Do Not Contact status and its reason. Event names differ by provider, so treat the mapping as a hypothesis until a test send confirms each one in your Mautic instance.
| Provider event | Expected Mautic outcome | Verify before go-live |
|---|---|---|
| Hard bounce | Contact is marked Do Not Contact with a bounce reason, so future sends to that address stop | Send to a permanently undeliverable test address and confirm the contact's DNC status and reason in Mautic |
| Soft bounce | Contact is not marked Do Not Contact on the first event; repeated soft bounces should be counted and escalated by your own rule | Confirm which soft bounce codes the provider sends and whether Mautic records them as bounces or ignores them |
| Complaint (spam report) | Contact is marked Do Not Contact with a complaint reason, and the address should stop receiving all marketing email | Confirm the provider's complaint event is sent to the callback, and that a test complaint produces the expected reason |
| Unsubscribe | Contact is marked unsubscribed for marketing email, not necessarily Do Not Contact for all channels | Confirm whether the unsubscribe event arrives via the webhook, the List-Unsubscribe header, or both, and check the contact's preferences |
| Event name and payload | Mapping depends on each provider's event names and payload fields, which Mautic receives at the shared callback URL | Check the provider's current documentation and a live test send, then record the exact event names used in your setup |
| Delivery failures without events | No change to the contact; delivery issues may show only in provider logs | Confirm your provider sends the events you rely on, since some failure types may never reach Mautic |
How a bounce travels from the provider back to the contact record
The flow starts when Mautic sends a message through its configured transport. The provider either delivers the message or bounces it, then posts an event to the shared mailer callback URL, /mailer/callback, which Mautic reads to update the contact. The IMAP branch is separate: Mautic reads a return-path mailbox for bounces and unsubscribes instead of receiving events. Check that the callback is publicly reachable and that the provider sends its events to it, because a missing or blocked callback leaves contacts marked as sendable and later segments and campaigns keep mailing them.
Provider webhook and IMAP paths both end at the contact record.
Senders and setups that break bounce handling
Bounce and unsubscribe handling in Mautic depends on a chain: the sender must report events, the callback or mailbox must reach Mautic, and background workers must process what arrives. Each card below is a setup that breaks one link in that chain, with the check to run before go-live.
IMAP against an overwriting sender
IMAP monitoring relies on return-path addresses appended by Mautic. The Mautic docs note that services which overwrite the return-path header, such as Gmail and Amazon SES, stop IMAP bounce monitoring from working. Teams that pick IMAP for a sender in that group often find bounces never reach their contact records. Confirm how your sender handles the return-path header before you configure a mailbox, and use a webhook callback where the sender supports it.
Emails docsCallback URL not public over HTTPS
Provider webhooks send bounce and complaint events to a public URL on your Mautic instance. If the host is not reachable from the internet, or the endpoint is served without HTTPS, the provider cannot deliver events and Mautic never learns about them. Test the callback from outside your network, confirm the certificate is valid, and check that your reverse proxy forwards the request to Mautic without blocking it.
Missing or stale transport after upgrade
Since Mautic 5, all email transports use the same webhook callback URL, Instances that were configured before an upgrade, or that carry an old transport configuration, can send mail through a transport whose callback no longer matches what the provider expects. After every upgrade, confirm the active transport in the configuration, send a test message, and verify that a test bounce is recorded against the right contact.
Provider events not subscribed
Most providers only send bounce, complaint and unsubscribe events for the types you select in their console or configuration. A callback can be reachable and correctly built, yet receive nothing because the relevant event types were never enabled, or were enabled on a different configuration set or account. Compare the event types your provider sends against what Mautic is set to process, and ask the provider how events are grouped per sending identity.
Workers not running callbacks
Mautic processes queued email and related background work through a messenger consumer, and the cron jobs documentation describes the scheduled tasks the instance relies on. If those workers are stopped or unhealthy, callbacks may be accepted but processed late, so contacts keep receiving mail after a hard bounce or unsubscribe. Monitor the consumer, check the queue backlog after go-live, and confirm that the scheduled jobs run on the cadence the docs describe.
Cron jobs docsWhy bounces stop appearing on contacts
This table pairs each symptom a Mautic operator sees with its most likely cause and the specific fix, plus a check to confirm the fix worked. Read it from the left column to find what you are seeing, then work across the row. The main takeaway is that most missing bounce and unsubscribe data comes from the delivery path, not from Mautic's contact records.
| Symptom | Likely cause | Fix and verification |
|---|---|---|
| Bounces not recorded when using IMAP monitoring | The sender, such as Amazon SES or Gmail, overwrites the return-path header, so the appended address Mautic reads is lost | Switch to provider webhook callbacks for bounces. Verify by sending to a known invalid address and confirming the contact's bounce status updates. |
| Provider callbacks rejected or never arriving | The callback URL in the provider console does not match the Mautic domain, or the host is not reachable from the provider | Set the callback to the https mailer callback path on your Mautic domain, confirm a valid TLS certificate, and check that the URL is publicly reachable. Verify with the provider's test or event log and Mautic's log for callback requests. |
| Unsubscribed contacts still receiving campaign email | The provider unsubscribe or complaint event was not processed, or the contact was re-imported without preserving the Do Not Contact flag | Confirm the callback is active, check the contact's Do Not Contact status after a test unsubscribe, and review import mappings so suppressed contacts keep their flag. Re-run a test campaign to a suppressed address. |
| Queued emails sit unsent | The messenger consumer is not running, so queued messages never leave the queue | Start and supervise the messenger consumer as a long-running process, and confirm the cron jobs for broadcasts and campaigns are scheduled. Verify by queuing a test email and watching it leave the queue within one cycle. |
| Bounce events appear for old addresses after a transport change | Events from the previous provider still arrive at the same callback, or the new provider was set up with a different callback or signing setting | Review each provider's callback configuration, disable the old provider's event forwarding, and confirm which transport each event came from. Verify by checking the event source for a recent bounce after the change. |
Questions teams ask before connecting an email provider to Mautic
Should we use IMAP monitoring or provider webhooks for bounces?
Use provider webhooks where your email transport supports them, and treat IMAP monitoring as a fallback for setups that cannot send webhook callbacks. Mautic can monitor IMAP accounts for bounces and unsubscribe requests by reading appended return-path addresses, but the docs note that services which overwrite the return-path header, such as Gmail and Amazon SES, stop IMAP bounce monitoring from working. Mautic lists Elastic Email, SparkPost, Mandrill, Mailjet, SendGrid and Amazon SES as supporting webhook callbacks, and since Mautic 5 all transports use the same callback URL, ` Confirm the current callback setup with your provider and in the Mautic emails documentation.
What drives the effort of connecting an email provider to Mautic?
Effort depends on how many sending domains and transports you run, whether the provider is already configured for other applications, and how much of the bounce and unsubscribe path must be verified end to end. Mautic depends on cron jobs and, when emails are queued, a messenger consumer, so the work also includes making sure background processing runs reliably on your servers. Teams with several brands, shared IP pools or a legacy IMAP mailbox need more design time because each path must be tested separately. Ask any partner to split the quote into transport setup, webhook or IMAP configuration, DNS and authentication work, and verification.
Can our own team configure email delivery and bounce handling alone?
A team with Mautic administration experience, DNS control and access to the provider console can usually configure a single transport on its own. The harder parts are provider webhook signing and endpoint reachability, correct handling of hard and soft bounces, and checking that unsubscribes reach the contact record before the next send. If nobody on the team has tested a bounce end to end, a short review of the configuration before go-live reduces the risk of silently sending to invalid addresses. DeployOpen plans, implements and tests this kind of integration in infrastructure you control, under a written scope.
How long does testing take for our sender and volume?
Testing time depends on the sender type, the number of sending domains, and the volume and frequency of your sends, not on a fixed duration. A single transactional sender with a small list needs fewer test cycles than a multi-brand setup that sends campaigns daily. Testing should cover a delivered message, a hard bounce, a soft bounce, a complaint where the provider reports one, and an unsubscribe, each confirmed on the contact record in Mautic. Ask the provider for its documented test addresses and ask any partner to state how many test cycles and which sending conditions the timeline assumes.
What do we need to provide from our DNS and provider accounts?
The work needs administrative access to your DNS zone, so sender authentication records can be published, and to the email provider account that will send and send callbacks. You also need a reachable HTTPS endpoint on your Mautic domain for provider webhooks, plus a mailbox and credentials if IMAP monitoring is used. Authentication records and return-path settings must match what the provider expects, and changes to DNS can take time to propagate. Confirm with your provider which records, callback permissions and API keys are required, and who in your organization approves changes to shared DNS zones.
What changes after a Mautic upgrade or a provider change?
An upgrade or provider change can alter transport settings, callback handling or required background processing, so bounce and unsubscribe behavior should be retested after each one. Mautic publishes monthly patch releases, minor releases every three months and major releases every two years, and Mautic 7.2 supports PHP 8.2 to 8.5 with security support until 30 September 2026. Provider endpoints and webhook formats can also change on the provider side. Keep a short test checklist for bounces and unsubscribes, and re-run it after each Mautic release and each provider configuration change.
What should we ask for in a quote for this integration?
Ask for a written scope that lists each transport, each sending domain, the bounce and unsubscribe method for each, and the testing steps you will sign off. The quote should state what is one-time, such as configuration and testing, and what recurs, such as monitoring, provider account fees and ongoing support. Ask what the provider charges directly, since those fees are paid to the provider and not to the implementation partner. Also ask what happens if a retest is needed after an upgrade, and whether that work is inside or outside the fixed scope.
What causes bounce handling to fail without anyone noticing?
The most common failure is a setup that looks configured but never records bounces, which happens when IMAP monitoring depends on a return-path header that the sender overwrites. A webhook endpoint that is blocked by a firewall, a proxy rule, or a changed domain can also drop events without an error in the Mautic interface. Contacts then stay active and keep receiving mail that bounces, which harms sender reputation over time. Check that bounce and unsubscribe events appear on contact records after each test, and review provider delivery reports on a regular schedule.
Where to check the current Mautic email documentation
Before you choose a transport or configure a bounce path, check the Mautic emails documentation for the current transport list, the shared callback URL and the bounce and unsubscribe settings. The page is the reference for which email transports support webhook callbacks, and it is the document to reread whenever you change transports or upgrade the release line. The Mautic emails documentation covers the version it is written for, so confirm that the page matches the Mautic version you have deployed rather than assuming the latest text applies to your instance.
Since Mautic 5, every email transport uses the same callback path, which is ` with your own domain substituted. Your team should confirm that this URL is reachable from the provider's servers through your public domain and proxy, that TLS is valid, and that no firewall or web server rule blocks the POST requests. Record which transport the instance uses and the exact callback value you registered, so that a later change of domain or proxy does not silently break bounce processing.
Provider-side settings must be checked in each provider's own console and documentation before go-live. Webhook endpoints, event subscriptions, signing or authentication options, and the sending identity such as verified domains or configuration sets all live with the provider and change independently of Mautic. Ask whoever owns the provider account to confirm the current console steps, the event types that will be delivered, and any account-level limits, then run a test bounce and a test unsubscribe and check that Mautic records them against the right contact.
How DeployOpen scopes and delivers Mautic email delivery
DeployOpen plans, implements, hardens, documents and supports self-hosted open-source platforms inside your own cloud accounts, data centers or air-gapped networks. For Mautic email delivery, that means agreeing the sending path, bounce and unsubscribe handling and the evidence you need before any configuration begins, then delivering it in your environment with written handover material.
How we scope
- Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts
- The written scope names each email transport, the bounce method chosen and the Mautic instance it applies to
- Scope records which senders, domains and mailbox providers are in play, and who owns each DNS and provider account
- A quote follows from the written scope, so ask for each line item to be tied to a named deliverable
How we build
- Configure the chosen transport and the Mautic callback path, checking each provider's bounce and complaint events arrive
- Test bounce, complaint and unsubscribe handling with controlled sends, and record the results against the scope
- Confirm cron jobs and the messenger consumer run so queued email and callback processing are not left stalled
- Review sender settings, tracking and access to provider consoles against your security and privacy requirements
How we hand over
- Deliver a runbook covering the transport configuration, callback endpoints, bounce rules and who acts on each event
- Document which provider credentials exist, where they are stored and how they are rotated and revoked
- Provide test evidence from the build phase so your security, compliance and marketing leads can review the setup
- Walk your operations team through the failure cases, including what to check when a callback stops arriving
How we support
- Ongoing support, upgrades and continuous testing are available as retainers after handover
- Support can cover Mautic release upgrades, transport changes and re-testing after provider or DNS changes
- Ask in your quote which support hours, response paths and retest rounds are included in the retainer
- Retainer scope is agreed in writing, so changes to sending volume or providers are priced against that scope

