Troubleshooting email in Zammad when tickets stop arriving or replies stop leaving
When customers say their mail goes unanswered, or agents see replies that never left Zammad, the fault almost always sits in one of five places: the mailbox connection, outbound delivery, message size, OAuth token refresh, or filter and group routing. Work through them in that order so you test the cheapest explanation first. The health check and the communication job queue show whether the connection and delivery paths are failing, while the other three need a look at specific mailbox and channel settings. This page is for the period right after a go-live, after a change of mail provider, or when ticket volume drops suddenly without any obvious reason.
Split ownership early. Your team owns the Zammad side: the inbound and outbound channel configuration, the worker processes that poll mailboxes and send queued mail, the PostgreSQL and Redis services those workers depend on, and the network path from the Zammad host to the mail servers. Your mail provider owns the mailbox itself, its authentication policy, its sending limits, its message size ceiling and any transport rules that quietly move or delete messages. Before you change anything, confirm with the provider which of those limits apply to your tenant, because a fix on the Zammad side cannot lift a provider restriction.
Check the basics in a fixed order. Confirm that the Zammad health check reports the email channels as healthy, then read the failed communication entries before editing any settings. Note the mailbox address, the time of the first failure and whether the error matches a connection, authentication or size problem. Check whether the failures started after a credential rotation, a provider policy change or a Zammad upgrade, since a changed setting is usually the trigger. Keep a record of each change and its result so a regression can be traced to one cause, and confirm each fix by sending a real test message through the affected channel.
Which symptom points to which email fault
This table maps the email symptoms administrators report most often to the layer where the fault usually sits and the first place to look in Zammad. Read it from the left column, find the symptom that matches, and start with the first check before changing mailbox or provider settings. Most email faults are visible in the channel status and the failed job list before they are visible in a user's inbox.
| Symptom | Likely layer | First check |
|---|---|---|
| No inbound tickets arrive | Inbound mailbox connection (IMAP or provider authentication) | Channel status for the inbound email account and the health check output for IMAP errors |
| Replies stay in the outbox | Outbound connection (SMTP) or a failed communication job | Failed communication jobs in the background job view, then the SMTP settings and error text on the outbound account |
| A single large attachment is missing | Message size limits on the mail server or in Zammad | The error for that message in the inbound channel log, then the maximum size settings on both the mail server and Zammad |
| Tickets land in the wrong group | Inbound filters or the group assigned to the mailbox | Filters on the inbound email account, checked in order, and the group set on the mailbox itself |
| Mail stops after the provider changed authentication | OAuth or XOAUTH token problem after an admin change | Whether the account still holds a valid token, the authentication method set on the account, and the provider's app permissions |
| Outbound mail is sent but replies do not thread to the ticket | Message headers or the sending address on the outbound account | The sending address and reply-to settings, then the message headers of a sample reply |
| Health check reports issues but mail appears to flow | Stale or secondary channel, or a check that does not cover email faults | Each email account's own status and last fetch time, since the health check does not catch every email problem |
How to triage a failing Zammad mailbox step by step
This sequence moves from the broadest signal to the most specific cause, so you find whether a failing mailbox is a connection, credential, provider, or routing problem before changing anything. It ends with a test ticket that proves inbound and outbound mail work end to end.
Confirm the health check flags the mailbox
Start with the monitoring endpoint or the system health view in the admin area, and check whether it reports an issue tied to email. An agent with admin rights should look at the reported issues and note which mailbox or channel is named, the time it first appeared, and whether it is inbound, outbound, or both. Do not assume a green check means mail is flowing, because the health check does not catch every email problem. Done when you have a written list of the flagged channels or confirmed that none are flagged. Confirm the exact menu path and token setup against the current admin documentation for your release.
Read the failed communication jobs
Open the background job view for failed communication or email jobs in the admin area, and read the most recent errors for the affected mailbox. The admin should record the error text, the number of failed attempts, and whether the same message is retried repeatedly. Repeated identical errors usually point to configuration or credentials, while sporadic errors often point to provider limits or oversized messages. Done when you can name one error category for the failing jobs. Confirm the job view location and log file paths for your installation method, since package, Docker, and source installs differ.
Check the mailbox connection settings
Compare the IMAP or SMTP host, port, encryption mode, and authentication method in the channel settings with the values your mail provider publishes. Confirm the account name, the authentication method (password or OAuth-based XOAUTH), and whether the stored credential was changed recently. Test the connection from the Zammad host itself, not from your workstation, because firewall rules differ. Done when the host can reach the mail server on the expected port and the stored settings match the provider documentation.
Verify credentials and token state
If the mailbox uses OAuth, check whether the token was issued for the current client, whether consent was granted to the correct account, and whether the refresh process has been failing. If the mailbox uses a password, check whether the provider now requires an app-specific password or has disabled basic authentication for that account. Record the authentication method the provider expects today. Done when you can state which credential type is in use and that it is valid for the mailbox. Confirm the exact OAuth steps with the provider and your release's admin documentation.
Check provider-side restrictions
Review the mail provider's administrative logs and policies for rate limits, IP allow lists, conditional access rules, and blocked sign-in attempts from the Zammad server address. Confirm whether the server's outbound address changed after a network or hosting change. Note any throttling messages and their timestamps, and compare them with the failed jobs from the earlier step. Done when you have either found a provider restriction that explains the errors or ruled one out with the logs. Ask the mail administrator to confirm the restriction details, because provider policies differ and change over time.
Test filters and group routing with a sample message
Send a test message from an outside address to the mailbox and watch where it lands. Check the filters and group routing rules attached to the channel, and confirm the ticket is created in the intended group with the expected state and priority. If a filter moves mail incorrectly, note the filter name and the header or sender condition that matched. Done when the sample message creates or updates the expected ticket and no unintended filter fires. Label any sample addresses as test data and remove them afterward.
Verify end to end with a test ticket
Because the health check does not catch every email problem, finish by proving both directions. Create an inbound email from an external test address, confirm the ticket appears, reply from an agent account, and confirm the reply arrives at the external address with the correct sender and threading. Check the outgoing message in the mail provider's sent folder if you have access. Done when the inbound and outbound messages both succeed and the thread remains linked to the same ticket. Record the test date and the outcome in your change log.
IMAP and SMTP connection errors: where each one comes from
Inbound IMAP errors mean Zammad could not open, authenticate to or read a mailbox. The error is raised by the process that polls the mailbox, which is the Zammad application or a background worker, not by your mail client. That process must be able to reach the IMAP host on the configured port with the configured TLS mode, and the mailbox folder it expects must exist. Test from the same host and container network where the worker runs, because a shell on your laptop proves little.
- Port and TLS mode: Confirm the port matches the TLS mode you selected (implicit TLS or STARTTLS). A mismatch usually shows as a timeout or a handshake failure, not a clear authentication message.
- Host reachability: Check DNS resolution and firewall rules from the worker host or pod. Containers often resolve names differently from the host.
- Certificate trust: If the mail server uses an internal CA, the chain must be trusted by the Zammad runtime. A certificate that validates in a browser can still fail here.
- Mailbox folder names: The folder configured for the channel must exist exactly as spelled, including case and any hierarchy separator your server uses.
- Authentication: Some providers disable basic password login or require OAuth. A correct password can still be refused by policy.
Before changing any setting, collect the worker log lines around the failure, the result of a test connection from the worker host, and the mail server or provider log entry for the same timestamp.
Outbound SMTP errors mean Zammad could not hand a message to your mail server or relay for delivery. Zammad sends replies and notifications through the configured SMTP account, so a failure here affects customer replies even when inbound mail works. The causes split between the relay's policy and the sending configuration: how Zammad authenticates, which sender address it uses, whether the relay accepts the source address, and which TLS mode is negotiated.
- Authentication method: Confirm the mechanism the relay requires (for example, password login or OAuth) and that the stored credentials match. Some relays reject basic login for accounts with multi-factor enforcement.
- Sender address rules: Many relays reject a From address that is not owned by the authenticated account or an approved domain. Rejections for the sender often read as a policy refusal, not a connection failure.
- Relay allowlists: If the relay restricts by source IP, the address Zammad presents must be on the list. Behind a NAT or in a cluster, the outbound address may differ from what you expect.
- TLS mode: Match the port with implicit TLS or STARTTLS as the relay documents. A plain connection to a port that requires TLS fails before authentication.
- Provider-side limits: Sending volume caps and content filters can reject messages after a successful login. Read the rejection code the relay returns.
Collect the SMTP response code and text from the Zammad log, the relay's delivery or rejection log for the same message, and the sender address and source IP the relay recorded.
Some connection errors come from the network path itself, and no amount of mail configuration will fix them. A timeout, a refused connection or a name resolution failure points to routing, DNS, firewall or proxy behavior between the Zammad runtime and the mail server. This is most common after a move to a new network segment, a change to egress rules, or a container migration that alters the source address.
- Test from the right place: Run the connection test from the Zammad application or worker container, not from the reverse proxy or an administrator workstation.
- Egress rules: Confirm the firewall allows the specific mail port from the worker's network to the mail host, in both directions for replies.
- Proxy interference: An outbound proxy or inspection appliance can alter or block mail protocols. Ask the network team whether mail traffic passes through one.
- DNS and split horizon: Internal and external resolvers may return different records for the mail host. Check which one the worker uses.
- Source address changes: A new NAT pool or cluster egress IP can break an allowlist on the relay.
Collect a traceroute or connection test result from the worker, the firewall log entries denying the flow, and the DNS answer the worker receives. Ask the network owner to confirm the rules in writing before you change Zammad.
Certificate errors appear when the TLS handshake starts but the server's certificate cannot be trusted. For IMAP and SMTP this is common with internal certificate authorities, intermediate certificates that the server does not send, expired certificates, and hostname mismatches when a mail server is reached through an alias. Zammad may report a generic TLS or connection error, so the underlying chain problem is easy to miss.
- Hostname match: The name you configured must appear in the certificate's subject or subject alternative names. Connecting by IP address often fails for this reason.
- Intermediate certificates: Many servers must send their full chain. A missing intermediate works in some clients and fails in others.
- Internal CA trust: The internal root must be installed in the trust store the Zammad runtime uses. Installing it only on the host may not reach a container image.
- Expiry dates: Check the not-after date on the leaf and intermediate certificates on the mail server.
- Protocol versions: Very old or very new TLS settings on either side can produce handshake failures that look like certificate problems.
Collect the certificate chain as the server presents it, the verification output from a test client run in the worker environment, and the expiry dates. Confirm with the mail team which chain they intend to serve before you import anything.
Some failures happen because the mail provider has changed its policy, and the connection itself is correct. Hosted mailbox providers may disable basic authentication, require OAuth 2.0 tokens, enforce conditional access rules, or block sign-ins from unrecognized locations. These controls are set by the provider or your tenant administrator, so the error often appears only after a policy change that nobody on the helpdesk team saw. Confirm the current policy with the provider's documentation and your administrator before reconfiguring Zammad.
- Basic authentication status: Confirm whether the provider still accepts password login for the mailbox type you use.
- Conditional access: Sign-in policies can block the Zammad source address or require a device or location exception.
- Application registration: OAuth setups depend on a registered application with the right mail scopes and a valid client secret or certificate.
- Service account changes: Password resets, disabled accounts or forced multi-factor prompts on the mailbox owner break polling without any Zammad change.
- Rate and sending limits: Providers throttle connections and sending volume. Look for explicit throttling responses in the provider's logs.
Collect the sign-in or audit log entry from the provider for the mailbox, the policy names in effect, and the date your administrator last changed mail authentication settings. Ask for written confirmation of the policy before changing the authentication method.
Reading failed communication jobs without guessing
A failed communication job in Zammad is a background task that tried to send or fetch mail and did not complete. Most of the time the failure is recorded against one mailbox or one outbound notification, not against the whole helpdesk, so the first job is to find which one. Start with the application log for the failing job, then note the mailbox or channel it belongs to, the time of the first failure and the error text. Do not restart the job or change settings until you have that record. A retry that succeeds can erase the only evidence of what went wrong, and the same error may come back on the next scheduled run.
The central judgment is whether the error is transient or permanent. A provider throttling or temporary refusal usually shows up as intermittent errors that clear on their own, often clustered around peak send times, and it points to volume limits at the mail provider rather than to Zammad. A permanent configuration error repeats on every attempt, usually names an authentication, host, port or TLS problem, and continues after a retry. If failures repeat with the same message across several scheduled runs, treat them as configuration until proven otherwise. Compare the failure timing against the provider's own sending logs where you have access to them.
Confirm how your version handles failed jobs, how many retries it attempts and where it records them, in the admin documentation for that release, since retry behavior and job handling are not something to assume from memory or from older guides. Record the mailbox name, error text and timestamps in your incident notes so the pattern is visible across runs. If the error text points to authentication, review the Zammad third-party applications documentation before changing any provider settings.
Oversized messages and misrouted mail: the two most common silent failures
Most Zammad email problems do not show an error in the agent view. Mail is rejected before it arrives, held by a full mailbox, sent to the wrong group, or copied into duplicate tickets, and the health check may still report healthy. The cards below cover the settings to check on each path and the test that proves the fix.
Oversized inbound messages rejected upstream
A sending mail server, relay or provider can refuse a message before Zammad ever sees it, so the customer gets a bounce and the agent gets nothing. Check the message size limit on the mail provider or relay in front of the mailbox, then the limit on any gateway between them. Test by sending a message with a large attachment from an external address and confirming a ticket appears with the attachment intact.
Attachment limits in proxy and application
Once a message reaches Zammad, the reverse proxy and the application can each cap upload and request body size, which affects attachments added from the web interface and some inbound paths. Compare the proxy body size directive for your Nginx or Apache setup with the attachment size setting in Zammad's system configuration. Test by uploading a file just under the configured limit through the browser and confirming it is stored.
Zammad software requirementsMail held by a full mailbox
When the target mailbox on the provider is full, new messages may be rejected or delayed, and Zammad only sees the messages that get through. Check mailbox quota and retention on the provider side, and confirm that Zammad's fetch job is still reading the folder. Test by filling a test mailbox near its quota in a controlled way, sending one message, and checking that the ticket is created once space is restored.
Filters routing mail to the wrong group
Filters and channel rules can send mail to the wrong group or drop it when a condition matches a sender, subject or header you did not expect. Review each filter in the order Zammad evaluates it, including automatic reply and mailer-daemon handling, and check the group and state each one sets. Test with a set of sample messages that cover each rule, and confirm the resulting group and ticket state for every one.
Duplicate tickets from forwarding loops
A forwarding rule on a shared mailbox can send a reply back into the support address, and Zammad then creates a new ticket for each pass. Look for auto-forward rules, distribution lists and mail flow rules that copy messages back to the inbound address, and check whether Zammad's loop and auto-reply detection applies. Test by forwarding one message through the full path and confirming it produces one ticket with no repeated articles.
OAuth token problems after switching a mailbox to XOAUTH
Moving a mailbox from password login to XOAUTH changes where failures happen. With a password, the common fault is a wrong or expired credential. With XOAUTH, several more links must hold at once: the OAuth client ID and secret registered at the identity provider, the tenant or authority the mailbox belongs to, the scopes requested for IMAP and SMTP access, the redirect URI registered for the Zammad callback, and the consent granted by an administrator or the mailbox owner. A token that worked yesterday can stop refreshing when any of these changes, when a consent is revoked, or when the provider tightens its requirements. Expect the health check and the failed communication jobs to show authentication errors even though the mailbox password was never the problem.
Start in the identity provider. Confirm that the application is registered for the same tenant that hosts the mailbox, that the redirect URI matches the callback address Zammad expects character for character (including scheme, host and path), that the required mail scopes are granted, and that admin consent exists where the provider requires it. Record who created the registration and which account granted consent, because a departure or password reset for that account can invalidate the grant. In Zammad's third-party application settings, check that the client ID, tenant value and secret match the registration, that the provider entry is enabled, and that the mailbox channel uses the OAuth option rather than the password option. A mismatch in any one field usually produces an error that looks like a generic login failure.
Treat the provider's current requirements as the authority, not any screenshot or setup guide, including the one in this series. Mail providers change the OAuth flows, scope names and basic authentication retirement dates, and they often ask for app verification or secret rotation on their own schedule. Confirm the current requirements with the mail provider itself and then check them against the Zammad third-party applications documentation, which describes how Zammad registers OAuth providers. Keep a dated note of the settings you verified so that a later failure can be compared against a known-good configuration.
How inbound and outbound mail flows through Zammad
Mail starts in the customer's mailbox, passes through the external mail provider, and is fetched over IMAP into Zammad, where filters and group assignment decide where the ticket lands. The ticket and its communication records are stored in PostgreSQL, and replies leave through SMTP back to the provider and on to the customer. The two places to look first are the health check, which reports connection status, and the communication job log, which shows whether individual messages were fetched or sent.
Inbound and outbound mail paths with the two observation points.
Security considerations when debugging mail credentials
Email troubleshooting usually means touching mailbox passwords, OAuth client secrets and logs full of customer messages. The four cards below cover how to keep those credentials and records contained while you find the fault, so the fix does not create a second incident.
Keep secrets out of tickets and chat
When an IMAP or SMTP check fails, it is tempting to paste the account password or the OAuth client secret into a ticket, a chat thread or a support request so a colleague can reproduce the problem. Do not. Share the error text, the host, the port and the auth method instead, and enter credentials only into the Zammad channel form or the secret store your team uses. Tickets and chat history are copied into search indexes, exports and notification emails, so a pasted secret outlives the fix.
Restrict who can view mailbox settings
Channel configuration for email holds the mailbox account, its authentication method and, for XOAUTH setups, client identifiers. Limit view and edit rights on the email channel settings to the few administrators who maintain them, and confirm that agent roles without admin rights cannot open those pages or the API endpoints behind them. Review the list after staff changes, because a former administrator who keeps access can still read every inbound mailbox configuration.
Rotate credentials after a suspected leak
If a password or client secret appears in a ticket, a log export or a shared screen, treat it as exposed and rotate it at the mail provider before you close the incident. Then update the Zammad channel with the new value, run the health check and confirm that communication jobs succeed. Also review the mailbox for unexpected forwarding rules or sent items, since a leaked credential can be used outside Zammad as well as inside it.
Scope debug logging and remove it
Verbose mail logging can record headers, recipients, subjects and sometimes message bodies or credentials in the request trail. Turn debug output on for a single channel, for the shortest time needed to reproduce the fault, and turn it off again in the same change window. Write down who enabled it and when, and check that the log files are removed or rotated afterward, so temporary diagnostics do not become a standing copy of customer correspondence.
Questions teams ask before fixing Zammad email themselves or hiring help
How long does it take to isolate a Zammad email fault?
The time depends on what drives the investigation, not on a fixed duration. A connection error with clear log output and direct access to the mail server can be isolated quickly. Faults take longer when the mail provider's admin console is slow to reach, when the logs for the failing period have already rotated away, or when the problem is intermittent and only appears under certain message sizes or times of day. Before any work starts, ask whether the team can reproduce the fault on demand, which is the single biggest factor in how fast it closes. A written scope should state what access is assumed so the timeline reflects that access.
Can an in-house admin fix Zammad email problems alone?
Yes, for many connection and filter faults, provided the admin has access to both the mail provider and the Zammad server. Most IMAP and SMTP errors surface in the health check and the application logs, and mailbox settings, communication jobs and filter rules can be inspected and corrected in the admin interface. Problems that usually need more people are OAuth token issues, which depend on the identity provider's app registration, and provider-side policies such as conditional access or mailbox quotas. A good first step is to check whether the failure is on the inbound or outbound path, because the fixes differ.
What does the team need to provide for an email investigation?
The investigation goes faster when the following are ready before it starts:
- Admin access to the Zammad instance, including the admin interface, the health check and the log files on the host or container
- Admin access to the mail provider, such as the tenant or domain console used for the affected mailboxes
- Sample messages that failed or were misrouted, including headers if available, with any personal data removed
- The exact time window of the failure, so log lines can be matched to events
- A named contact who can approve configuration changes and test replies from the affected mailboxes
Ask the provider which app registrations, service accounts or mailbox permissions Zammad uses, since these are often the hidden dependency.
What drives the cost of outside help with Zammad email?
Cost follows scope and access. The main drivers are the number of mailboxes and channels in use, how many distinct mail providers or authentication methods are involved, whether the fault is reproducible, and how quickly the client can grant access. Work that stays within one mailbox and one provider costs less to scope than a fault that spans several shared mailboxes, OAuth and filters together. Ask any provider for a fixed-scope written quote that lists the mailboxes, the access assumed, the deliverables (such as a fix, a runbook and a retest) and any recurring monitoring that is out of scope. A quote should separate one-time troubleshooting from any ongoing support retainer.
Does Zammad's paid support cover email troubleshooting?
Zammad sells self-hosted support subscriptions named Business at 2,999 EUR per year, Enterprise at 5,999 EUR per year and Corporation at 9,999 EUR per year, according to its pricing page. The stated response times are 6 hours for Business, 4 hours for Enterprise and 2 hours for Corporation. Whether a subscription covers help with your specific mail provider, OAuth setup or filter logic is a separate question, so confirm the scope in writing with Zammad before relying on it. Subscriptions pay for vendor response, which is different from work done inside your environment, and the two can be used together.
How do teams stop Zammad email faults from coming back?
Recurrence usually comes from three gaps: no early warning, no repeatable test, and uncontrolled changes. Watch the health check output on a schedule so connection problems appear before tickets stop arriving, and treat the email issues the check does not catch as a separate monitoring item. Keep a set of test tickets sent from each monitored mailbox and confirm they are created and routed to the right group after every change. Record every change to mailbox settings, OAuth app permissions and filters in a change log, and review that log after each provider policy update.
What a DeployOpen email troubleshooting engagement covers
DeployOpen works inside your own infrastructure to find and fix the cause of Zammad email faults. That means reading the health check output, the communication jobs and the mailbox settings on your servers, reproducing the failure in a controlled way, and changing only what the diagnosis requires. Every engagement ends with a written root cause record that names the component at fault, the evidence behind it, the change made and the check that proves the fix holds. Where you agree to it, we also add monitoring for the failing path and a short runbook so your own team can recognize and handle the same fault next time.
Most engagements are fixed-scope. Before any work starts, the scope, deliverables and timelines are agreed in writing, including which mailboxes, hosts and accounts we may access, who approves production changes and how evidence is handed over. Your team should confirm those access and approval rules internally first, because they determine how quickly a fix can go live. Ongoing support is available as a retainer for teams that want an engineer on call for mail faults, upgrades that affect the mail path, or periodic checks of inbound and outbound delivery.
Quotes follow from the written scope, so the most useful preparation is an accurate description of the fault and your environment. Gather the affected mailbox names, the Zammad version, the mail provider and the authentication method in use, plus any recent changes to credentials, firewall rules or DNS. Ask whether the quote includes retesting after the fix and whether runbook and monitoring work is priced separately. For current Zammad release information, confirm the version you run against the Zammad releases page before the scoping call.
How DeployOpen scopes, fixes and supports Zammad email
DeployOpen approaches email trouble in Zammad as a scoped engagement: we first establish which mailbox, protocol or filter is failing, then fix it inside your own infrastructure and document the result. Engagements are fixed-scope, with the scope agreed in writing before any work starts.
How we scope
- Inventory every inbound and outbound mailbox, its protocol, authentication method and owning group in your Zammad.
- Confirm which symptoms are in scope, such as health check errors, stuck communication jobs or misrouted tickets.
- Agree in writing whether the work includes log review, configuration changes, fixes and retesting, and what you provide.
How we build
- Reproduce each failure with a test message and capture the relevant Zammad logs, job states and provider responses.
- Correct IMAP, SMTP and OAuth settings, and adjust filters or size limits where the investigation shows they cause the fault.
- Test each mailbox end to end, including inbound tickets, outbound replies and attachment handling, in your environment.
How we hand over
- Document each root cause, the change made, and the steps to reproduce and verify the fix.
- Provide a runbook for mailbox checks, token renewal and the health check signals your team should monitor.
- Walk your administrators through the handover so they can repeat diagnostics without DeployOpen.
How we support
- Offer ongoing support and continuous testing as a retainer if your mail flows change or new mailboxes are added.
- Retest after upgrades, provider changes or mail routing changes, and report what was checked and what remains open.
- Ask your provider and Zammad's support terms directly about response expectations before relying on any service level.

