Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,199 of 9,199 pages
About the help in other languages
All help pages

Mail problems

Runbook for mail that does not arrive (password resets, form confirmations, notifications, newsletters) or that goes where it should not (a test copy mailing citizens) - transport settings, cron, preferences, sender…

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/government/operations/incidents/mail-problems.md

On this page

Mail problems

This runbook is for administrators when citizens or staff do not receive mail from a public website, or when a test copy sent mail to real people. Settings and transports are described in Mail delivery (hosting) and chapter 10.4.

Contents

  1. Which mail is missing?
  2. Check the transport
  3. Check what holds mail back
  4. Mail arrives as spam or is rejected
  5. A test copy mailed real people
  6. Related pages

Which mail is missing?

MailSent by
Password reset, password changed, registrationthe request itself
Form confirmations, form receiver mailthe request itself
Notificationsthe cronjob part frequent (notification.php)
Newslettersthe newsletter extension's cronjobs
Audit alertsthe audit cronjob part

If only cron-sent mail is missing, start with Cronjob monitoring.

Check the transport

./console exp:ini get 'site.ini/MailSettings/Transport' --allow-root-user
./console exp:ini where site.ini/MailSettings/Transport --allow-root-user
TransportMeans
sendmail (shipped)handed to the local sendmail program; look at the server's mail log
SMTPsent to TransportServer; check the server, port, TransportConnectionType and login
filewritten to var/log/mail/: nothing is sent; Setup > System information shows this as a note

settings/override outranks siteaccess settings, so a Transport set there wins everywhere. After a change, clear the INI cache and reload.

Check what holds mail back

  • Every mail passes the mail gate, which checks optional mail against the recipient's e-mail preferences (E-mail preferences); essential mail such as "Your password was changed" cannot be switched off.
  • The recipient's address on the account may be wrong; Users > Check user accounts shows addresses to users with the right to see them.
  • Newsletters: bounces and the blacklist (Mail consent and bounces).

Mail arrives as spam or is rejected

The sending server must be allowed to send for the sender's domain: SPF, DKIM and DMARC records of your domain, a sender address (EmailSender, AdminEmail) in that domain, SenderHost set to the site's host name. Government domains often have strict DMARC policies; involve your mail team. A server that sends over IPv6 needs its IPv6 address in SPF too.

A test copy mailed real people

  1. Stop it: set Transport=file for that installation, in the environment's variant file (settings/override/site.ini.test.append.php with EXP_ENV=test), clear the INI cache.
  2. Find what was sent: the mail server's log; the audit trail for the actions that triggered mail.
  3. Tell your data protection officer if personal data reached the wrong people (Data breach notification framing).
  4. Prevent it: every restored or staging copy starts with the file transport (Environments: development, test and production).

Become an Exponential Partner

Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x