Troubleshooting Redmine email delivery

A structured way to find why Redmine notifications are not arriving, from SMTP and TLS checks to background job and mail relay logs, with the fixes each cause needs.

On this page

Why Redmine email stops arriving and how to find the cause

Redmine mail that does not arrive usually fails at one of three stages, and the first job is to find which one. Users report that notifications never show up, or the send_reminders task appears to finish while nobody receives anything. Redmine sends mail in two places: the web process, or a background queue if you run one, hands a message to an SMTP server or a local sendmail binary, and the receiving mail server then accepts, defers or rejects it. A failure can sit in any of those hops, and the symptom users see looks the same in each case, so guessing at the cause wastes time. This page applies when mail was working before and has stopped, when a new installation sends nothing, or when a scheduled task runs without error but produces no delivery.

Each stage leaves different evidence. Errors from the connection to the mail server, such as certificate problems or timeouts, appear in Redmine's own production log, while a message that Redmine handed off but the recipient never saw is usually visible in the mail server's log or the relay's queue. Background job failures are a separate case: if you use Sidekiq or another queue, a job can fail and retry without any visible error on the web page. Before changing settings, confirm in your own environment which delivery method configuration.yml names, whether a background queue is in use, and which server accepts the outbound connection. The supplied facts do not give timeout values or provider-specific sending limits, so treat any number you find in a vendor document or an old forum post as something to verify against your current mail server and Redmine version.

Where a Redmine notification can fail between the issue update and the inbox

The notification starts when a user saves an issue change in Redmine. Redmine either sends the message inline or hands it to a background worker, and the mail then leaves through direct SMTP or a local sendmail or exim binary. Each hop has its own failure: a worker that is not running, a TLS certificate that does not match the relay hostname, a connection or read timeout, or a recipient the relay refuses. Check the hops in that order, starting with whether the worker is alive and the Redmine production log shows an attempt at all.

Failure points on the path from an issue change to the recipient's mailbox.

Match the symptom to the likely cause

When no message leaves Redmine, the cause is usually in configuration or in the path to the mail server rather than in the recipient list. Start by confirming that Redmine is set to deliver mail and that the names in the configuration match the delivery method you chose.

  • Delivery disabled: Check that the email_delivery section in config/configuration.yml exists for your environment and that delivery_method names the method you intend, such as :smtp.
  • Notifications turned off: Confirm the emission address and the notification options under Administration, Settings, Email notifications, and confirm the user is set to receive the event type.
  • Blocked connection: Test the mail host and port from the Redmine server itself. A firewall or egress rule that blocks outbound mail often produces silence without an error in Redmine.
  • Sender address refused: Verify that the sender address matches a mailbox or sending permission your provider allows, since servers may drop messages from unauthorized senders.

Send a test email from the Redmine administration area first, then check the production log for the attempt to see whether Redmine reached the mail server at all.

Diagnose a Redmine mail failure step by step

This sequence moves from the most likely configuration errors to the receiving side, so each check narrows the cause before you touch the next layer. You finish with a known failure point and the evidence needed to fix it.

  1. Confirm the delivery method in configuration.yml

    Open the configuration.yml file in the Redmine config directory and find the email_delivery section. Confirm that delivery_method is set to :smtp for direct SMTP, or :sendmail if you deliver through a local MTA, and that the address, port, authentication and TLS settings match what your mail provider documents. Make sure the file is valid YAML, since a stray indent can cause Redmine to ignore the block. Confirm that you restarted the application server after the last change, because Redmine reads this file at startup. You can proceed when the delivery method and server values match your provider's documentation and the service has been restarted.

  2. Send a test email from the administration screen

    Sign in as an administrator, open Administration, then Settings, then Email notifications, and use the option to send a test email to your own address. Record the exact message shown on screen, whether it reports success or an error, and the time you sent it so you can match it to log entries later. A success message only means Redmine handed the message to its delivery method, not that the recipient received it. If the test fails on screen, keep that error text for the next steps. You can proceed to the network check once you have either a delivered test message or a specific error to investigate.

  3. Verify the SMTP host and port are reachable

    From the Redmine server itself, not from your workstation, test a TCP connection to the SMTP host and port listed in configuration.yml, for example with a tool such as openssl s_client for TLS ports or nc -vz for a basic socket check. Confirm that the certificate presented matches the hostname you configured, because a mismatch produces certificate verification errors that look like delivery failures. Also check that outbound firewall rules, proxies and DNS resolution on the Redmine host allow the connection. The check is complete when the connection opens, the TLS handshake completes and the certificate name matches the configured host. If the connection times out, treat it as a network or firewall problem before changing any Redmine setting.

  4. Check the production log for delivery errors

    Open the production log, usually log/production.log under the Redmine application directory, and search for entries written around the time of your test email. Look for lines that mention Net::SMTP, OpenSSL, certificate verification, Net::ReadTimeout, Errno::ECONNREFUSED or no recipient, since each points to a different layer: connection, TLS, timeout or message content. Note the exact error class and message, then compare it to the reachability result from the previous step. If the log shows no entry for the test, check whether Redmine is writing to a different log file or whether the request never reached the application. You can proceed when you have one specific error class to work from, or confirmed that the test produced no log entry at all.

  5. Check whether a background worker is running

    If your deployment sends notifications through a background job queue such as Sidekiq, confirm that the worker process is running under the same user and environment as Redmine, and that it is connected to the same queue backend. Check the worker's own log for errors at the time of the test, since a stopped or misconfigured worker can leave notifications queued without any error on the web side. If you do not use a background worker, confirm that mail is sent inline and skip this check. The step is complete when the worker is active and processing jobs, or when you have confirmed that inline delivery is in use. A queue that is growing without draining means the problem sits in the worker, not in SMTP.

  6. Confirm the receiving side

    Once Redmine and the network both show successful handoff, check the recipient's side. Search the mailbox's spam or quarantine folders, then ask the mail administrator whether the sending server, sender address and any relay are permitted by the receiving domain's policies. Review the message headers of a delivered test, including the SPF, DKIM and DMARC results, to confirm the sender domain authenticates. If the mail provider limits who can send through the relay, confirm the sending address and client IP are on the allowed list. You are finished when the test message arrives in the inbox with passing authentication results, or when the receiving administrator has identified a specific policy that rejected it.

Certificate hostname mismatches, timeouts and read_timeout

Most Redmine mail failures that show up after a working setup come from a short list of network, TLS and relay causes. Each one leaves a different trail in the logs, so matching the error to the cause saves time. The cards below cover what each failure looks like, the safe direction for the fix, and the values to confirm with the mail administrator before changing anything.

TLS certificate name mismatch

The error usually names a certificate that does not match the host in your settings. Redmine connects to the address in address and checks the name on the certificate the relay presents. If you point at a load balancer alias, an internal name or an IP address, verification fails even when the relay is healthy. Confirm with your mail administrator which hostname appears on the certificate, then set address to that name. Avoid turning off certificate verification as a shortcut, because it removes protection for your credentials.

Redmine installation guide

Connection timeouts at the network edge

A timeout while opening the connection, with no greeting from the server, points to a firewall, egress rule or blocked port rather than to Redmine. Check that the Redmine host can reach the relay on the port you configured, from the same network segment that runs the application. Ask the network team whether outbound traffic to the relay is allowed and whether a proxy or NAT rule applies. Verify with a simple connection test from the Redmine host before changing any Redmine setting.

read_timeout too short for a slow relay

A read timeout appears after the connection opens and the server is slow to answer a command, often during the message body. Slow relays, large attachments and relays that scan messages can all cause this. Raising the read timeout in the email settings gives the relay more time to respond, but a very high value can hide a real fault and tie up Redmine workers. Confirm with the mail administrator how long the relay typically takes, and raise the value only as far as that requires.

STARTTLS and SSL port mismatch

Using the wrong encryption mode on a port causes handshake errors early in the session, before authentication. A port that expects implicit SSL from the first byte fails if Redmine asks for STARTTLS, and the reverse also fails. Match the port, the encryption mode and the Redmine setting together, using the values your mail provider or administrator publishes. Changing only the port or only the mode usually leaves the pair inconsistent and produces a new error.

Authentication failures from the relay

A rejected login returns an authentication error after the TLS session starts, which separates it from the network and certificate causes. Check the username format, which is sometimes a full mailbox address and sometimes a service identifier, along with the password or app credential and the authentication type the relay supports. Many providers have moved away from basic password logins, so confirm with the administrator which method is currently permitted for the Redmine sender account. Store the credential in the configuration file with restricted file permissions.

Relay IP restrictions and sender rules

Some relays accept mail only from approved source addresses, and they can reject a message even when login succeeds. The rejection often comes after the sender or recipient is checked, and the log shows a policy reason rather than a network error. If Redmine runs behind NAT or a changed egress address, the relay may not recognize it. Ask the mail administrator for the outbound addresses allowed to relay, and confirm which sender address the relay requires for the Redmine account.

Configuration settings to check and when each one fits

This table lists the outgoing mail settings and related options that most often sit behind delivery failures in Redmine. Read each row as a question to answer about your environment: what the setting controls, and the symptom that suggests changing it. Confirm exact key names and accepted values against your installed Redmine version before editing configuration.

SettingWhat it controlsWhen to change it
Delivery methodWhether Redmine hands mail to an SMTP server directly or to a local sendmail-compatible programChange it when mail never leaves the server, or when you move to a local relay that accepts mail from the host
SMTP address and portThe host Redmine connects to and the port it uses for the connectionCheck first when logs show connection refused or timeouts; confirm the port matches the provider's STARTTLS or SSL requirement
Authentication typeThe login method Redmine uses with the SMTP serverChange it when the server rejects credentials or lists a different mechanism; confirm what your provider currently accepts
STARTTLS or SSL modeWhether the connection is encrypted from the start or upgraded after connectingMismatch between port and mode commonly causes handshake errors; match the mode the provider documents for that port
Certificate verificationWhether Redmine checks the server certificate and its hostnameKeep it on; fix the hostname in the SMTP address rather than disabling checks when the certificate name does not match
Timeout settingsHow long Redmine waits for connection and reads from the mail serverRaise them only after confirming the network path is healthy; slow relays and greylisting can exceed short limits
Sendmail location and argumentsThe path to the sendmail binary and the flags passed to it, including whether recipients are read from the messageCheck when using a local MTA; missing or incorrect flags can produce no recipient errors, such as the -i handling on Debian exim
Background queueWhether notification mail is sent inline or by a worker such as SidekiqCheck when mail is queued but never sent; confirm the worker process runs and reads the same configuration

No recipient errors with exim and failed background jobs

When Redmine sends mail through a local MTA instead of direct SMTP, the message is handed to the sendmail binary, and exim can reject it with a no recipient error. The usual cause is that the recipient addresses are not passed on the command line in a form exim accepts. On Debian-based hosts, the fix is to add the -i argument to the sendmail delivery method in configuration.yml, which tells exim to read recipients from the message headers rather than expecting them as arguments and to stop treating a lone dot as the end of input. Check the exact argument string against the sendmail sibling topic, since that page owns the full configuration, the local relay setup and the queueing behavior. After any change, send a test message from the Redmine administration area and confirm the entry appears in the exim main log with a recipient address.

Background jobs are the second place where mail appears to vanish. Depending on your Redmine version and plugins, notifications and scheduled reminders may be placed on a queue and delivered later by a worker process instead of being sent during the web request. If that worker is stopped, misconfigured or pointing at a different queue backend, the page that triggered the mail still looks successful, but nothing leaves the server. Confirm with your deployment team which job runner is in use, whether it runs as a managed service that restarts after a reboot, and where its errors are written. Then compare the queue backlog with the mail log: a growing queue and an empty exim log point to the worker, while a sent entry followed by no delivery points to the relay or the recipient side.

Checking logs on the Redmine server and the relay

A failed notification leaves a trail across several components: the Redmine application, the process that runs background jobs, the local mail agent and the relay that finally accepts or refuses the message. Each log proves something different, so read them in order and match entries by timestamp and recipient. The goal is to find the first hop where the message stopped.

Redmine production log

The Redmine production log records what the application did when it tried to send an email, including errors raised while building or handing off the message. Start here to confirm that an event triggered a notification at all. If the log shows no delivery attempt for an issue update you expected to notify someone, the problem sits in notification settings or watchers, not in SMTP. Note the time of each failed attempt and the recipient address so you can match it to later hops.

Redmine installation guide

Web server or Puma output

The application server writes its own output, which captures exceptions and timeouts that surface during requests. Errors here often show connection failures or stalled sends that the Redmine log summarizes poorly. Check whether a failed notification coincides with a user action, such as saving an issue, because a slow or blocked mail handoff can delay that request. Compare these entries with the production log for the same minute.

Background worker logs

When notifications are delivered by a background job queue, the worker process logs the actual send attempt, not the web request that created it. Failures that look like successes in the web log often appear here. Confirm the worker is running under the same user and environment as the application, since a worker with missing configuration fails silently in the web interface. Retries and repeated failures for the same recipient are a strong sign of a persistent fault.

Local MTA log

If Redmine hands mail to a local agent such as exim, that agent's log shows whether it accepted the message, queued it, or rejected it. A message that appears here but never reaches the relay usually points to routing, sender rewriting or a queue that is not being processed. Look for the recipient address and the time of handoff, then note the queue identifier the agent assigns so you can trace the message onward. Confirm which log file your distribution writes, since the location varies.

Corporate relay or provider message trace

The relay or email provider holds the authoritative record of whether it accepted the message and what it did next. A message trace or delivery report shows acceptance, deferral, bounce and the reason text returned by the receiving server. Ask the mail team for these records for the same sender, recipient and time window you found in the earlier logs. This hop decides whether the fault lies with your server or the receiving domain's policy.

Correlating entries across hops

Align every log on a single clock, preferably synchronized with NTP, before comparing entries, because a few minutes of drift can make a correct sequence look broken. Build the timeline for one missing notification: the Redmine event, the worker attempt, the MTA handoff, then the relay result. The first hop without a matching entry marks where to dig. Keep the recipient address and time window in your ticket so the mail team can reproduce the search.

When an in-house fix is enough and when to bring in a partner

An in-house fix is usually enough when the failure is a single configuration error on a system your team already controls: a mistyped SMTP host, a wrong port for the chosen encryption mode, an incorrect username or a missing sender address. If the mail arrives after one settings change and the logs show a clean delivery, the work is finished and needs no outside help. The question to ask is whether the fault sits entirely inside the Redmine host and its configuration file, and whether one person can reproduce and verify it with a test email.

A partner becomes the better option when the cause crosses team boundaries. Typical examples are a relay that rejects messages from the Redmine host by policy, certificate names that do not match the relay hostname, SPF or DKIM records owned by a DNS team that does not answer tickets quickly, or several Redmine instances or tenants sharing one relay with different sender rules. Each of these needs changes in systems the Redmine administrator does not own, and a fix can break mail for other applications. Coordinated work of this kind depends on access to the Redmine host, the mail relay and DNS, plus the change approvals those teams require. Confirm early who holds each of those rights in your organization.

Whichever route you take, agree the scope in writing before any work starts. A written scope should name the systems in reach, the mail flows to be restored, the evidence expected at the end (for example, delivery logs and a successful test message to each provider in use) and what happens if the root cause sits outside the agreed systems. Ask any provider to state which of these items are one-time work and which are ongoing, such as monitoring or a retest after a relay policy change, so the cost of recurring failures is visible before you sign.

Questions teams ask before fixing Redmine email themselves or hiring help

How long does troubleshooting Redmine email usually take?

The duration depends mostly on how many layers are involved and how quickly you can get access to them. A fault confined to Redmine's configuration file can often be isolated in a single working session, while a failure that spans the Redmine host, a local relay, DNS records and a corporate mail gateway needs each team to check its own logs in turn. The main drivers are:

  • Whether the Redmine production log and the mail server logs are readable without waiting for a change request
  • How many mail hops sit between Redmine and the recipient, and who administers each one
  • Whether the fault reproduces on demand or only when a particular notification fires, such as a background job
  • Whether the failure is intermittent, which usually means timeouts or rate limits rather than bad credentials

Ask any partner to scope the work against these points before agreeing a timeline in writing.

What does fixing Redmine email cost?

Redmine itself has no license fee. It is free software under the GNU General Public License v2, so the cost of mail trouble comes from people, hosting and any plugins involved. In practice you pay for the engineer hours spent reading logs, testing SMTP settings and changing configuration, for the mail relay or provider service if you use a paid one, and for any extra monitoring you add. Costs that recur include mail service subscriptions and ongoing monitoring. Costs that are one-time include the diagnosis and the fix itself. When requesting a quote, ask for the scope in writing, the systems touched, who performs each step, and whether a retest is included. A fixed scope makes the cost easier to compare with doing the work internally.

What access do we need to give for Redmine email troubleshooting?

Expect to provide read access to the Redmine production log, the configuration file in which SMTP settings are kept, and a test mailbox that receives the outgoing message. If a local MTA is in use, you will also need its logs and queue status. Where a corporate relay sits in front of the internet, the relay administrator must confirm which hosts and IP addresses may send, and DNS administrators must confirm the SPF, DKIM and DMARC records for the sending domain. Make sure credentials are shared through your approved secrets process and that access is time limited and logged. Confirm these items with your own change process before work begins, since some organizations require a ticket for each access grant.

Can an internal administrator fix Redmine email without outside help?

Yes, many internal administrators can resolve common faults, particularly when they have shell access to the Redmine host and can read the mail logs. Typical internal fixes include correcting the SMTP port, enabling the correct TLS mode, and adjusting the timeout values in the configuration. Outside help tends to be more useful when the fault spans several teams, when certificate hostname mismatches point to a provider you do not control, or when the problem recurs and nobody has time to build a repeatable test. Decide before starting who owns the change, who verifies delivery, and where the findings will be recorded, so the work does not stall between teams.

Does a successful test email prove that Redmine notifications are being delivered?

No. A test email shows that Redmine can hand one message to the configured server, but it does not prove that every notification reaches its recipient. Notifications are sent by background processes, so a failure can occur only when an issue is updated or a reminder runs. Check the outgoing mail log for the message's queue ID, confirm the recipient server accepted it, and check the spam folder and any gateway quarantine. Then trigger a real notification, such as an issue update that a watcher should receive, and confirm arrival. Record each check so the result can be repeated after a configuration change.

Does DeployOpen issue audit reports or certifications for Redmine email controls?

No. DeployOpen prepares systems, configuration and evidence for compliance assessments, including records of how mail was configured, tested and monitored. It does not issue audit reports, attestations or certifications. Independent auditors and certification bodies perform those assessments. If your auditor needs to see how notifications are protected or logged, agree the evidence list with them before the work starts so the records you collect match what they will ask for.

Which Redmine version should we confirm before troubleshooting email?

Confirm the installed version first, because mail behavior and configuration guidance can differ between releases. Redmine 7.0.x is the fully supported line that receives new features, bug fixes and security updates, while 6.1.x receives only bug fixes and security updates, and 6.0.x receives only important security updates. Releases 5.1.x and older are unsupported. If you are running an unsupported release, a mail fix is an opportunity to plan an upgrade, but treat the two as separate pieces of work with separate scopes. Check your version against the download page before requesting a quote.

Security and operational points while fixing mail

Mail troubleshooting tends to touch credentials, network rules, logs and configuration history all at once. The cards below cover the points where a quick fix can quietly create a security or compliance problem, so the team can resolve the delivery fault and leave the server in a state it can defend.

Keep SMTP credentials out of the database

Redmine's SMTP password belongs in the protected configuration file, not in a settings screen, a shared note, a chat thread or a ticket. While troubleshooting, engineers often paste a password into a command or log to test a login. Check that the configuration file is readable only by the account that runs Redmine, and rotate any credential that appeared in a shared place during the investigation.

Redmine installation guide

Do not leave certificate checks disabled

Turning off certificate verification makes a hostname mismatch or a broken chain disappear, but it also removes the check that confirms the server you are sending credentials to is the one you intended. Treat it as a temporary diagnostic only. The durable fix is a certificate whose names match the hostname in the configuration, or a correct hostname setting. Record the change and reverse it once the cause is known.

Restrict relay access by source IP

If the fix involves a local relay or an open SMTP listener, limit which hosts can submit mail to the Redmine server's address range. An open relay can be used to send spam under your domain and can get your sending addresses blocklisted. Confirm which addresses the relay accepts before and after the change, and ask the mail team to confirm the rule matches the Redmine host.

Handle logs that contain personal data

Mail logs and Redmine's production log can record recipient addresses, subjects and sometimes issue content. When you collect logs for a support ticket or an outside engineer, check what they contain first and remove or redact personal data. Limit who can read them, and set a retention period that matches your own data policy rather than keeping them indefinitely.

Record configuration changes

Each change made during troubleshooting, such as a new hostname, a port, an authentication type or a background job setting, should be written down with the date, the reason and the person who made it. Keep the configuration file under version control or a controlled change process where your policy requires one. This gives you a trail when mail behavior changes later and supports change history reviews.

How DeployOpen scopes Redmine mail troubleshooting

Most Redmine mail troubleshooting engagements are fixed-scope. Before work starts, DeployOpen and the client agree in writing on what is in scope, such as which mail path is being fixed (direct SMTP, a local relay, or a hosted provider), which Redmine instances and background job runners are included, and what evidence the client expects at the end. The written scope also states the deliverables and the timeline. A useful scope names the log locations to be reviewed, the test messages to be sent from each trigger (issue updates, reminders, password resets), and the configuration files that may be changed. Where a root cause is found in the mail provider's own settings rather than in Redmine, the scope should say who makes that change and who confirms it.

Ongoing support is available as a retainer for teams that want a partner to watch mail delivery after the fix. A retainer usually covers reviewing failed deliveries in the Redmine and mail server logs, checking scheduled tasks after upgrades, and retesting when the provider changes its authentication or certificate requirements. Ask for the retainer terms in writing, including response expectations, what is excluded, and how changes to Redmine versions or plugins are handled. Cost depends on the environment, the number of mail paths and how often the configuration changes, so DeployOpen does not publish a price list and provides a quote once the scope is written. Confirm with us which parts of your environment you want included before you ask for that quote.

How DeployOpen troubleshoots and supports Redmine email

DeployOpen works on Redmine mail delivery as a scoped piece of work inside your own infrastructure. We start from the symptom, trace it through the mail path and the background job runner, and fix the cause in configuration you control, with the evidence written down for your team.

How we scope

  • We confirm which notifications fail, to whom, and since when, before changing anything.
  • The written scope names the Redmine version, mail transport, and the mail server or provider involved.
  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.
  • We agree who provides log access, test mailboxes, and change windows for the mail path.

How we build

  • We trace each failing message from the Redmine log through the delivery method to the receiving server.
  • We check certificate hostnames, SMTP timeouts, read_timeout settings, and background job execution in your environment.
  • Fixes are applied to configuration in your infrastructure and tested with real notifications to test mailboxes.
  • We record each change, its reason, and the test result so the same fault can be recognized later.

How we hand over

  • You receive a written summary of the root cause, the changes made, and the settings that were verified.
  • Runbook steps cover where Redmine logs mail errors, how to send a test email, and which checks to repeat.
  • We walk your platform or operations team through the findings so they can diagnose the next delivery problem.
  • Any follow-up items, such as provider limits or a planned local relay, are listed with owners.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after the fixes are in place.
  • Retainers can cover Redmine upgrades, so mail settings are rechecked when the application or Ruby version changes.
  • Ask any provider for a quote that lists the written scope, deliverables, and what is recurring versus one-time.
  • Confirm with your team which mail provider limits and certificate renewal dates apply before the work starts.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.