❓ Email sending: No emails are sent after the update (SMTP certificate check)
What causes it?
Since version 4.66.0, when sending email via TLS, FTAPI checks by default whether the certificate of your SMTP server matches the server name entered in FTAPI. Before, this check did not take place.
If the server name entered is not listed in the certificate, for example because an IP address or an internal name is entered in FTAPI, FTAPI cancels sending. The application itself runs normally, but no email notifications and deliveries are sent anymore.
This affects on-premises installations that were updated from a version before 4.66.0 and connect their own SMTP server via TLS.
How to identify the cause
At the time of a sending attempt, the log ftapi-server.log shows a message starting with "No subject alternative" or "No name matching", for example:
No subject alternative DNS name matching <host> found.No subject alternative names matching IP address <IP address> foundNo subject alternative names presentNo name matching <host> found
Solution
Permanent solution: Make sure that the server name entered in FTAPI is listed in your SMTP server's certificate. To do so, enter in FTAPI the fully qualified domain name (FQDN) the certificate is issued for, or use a certificate on the SMTP server whose Subject Alternative Name (SAN) matches the server name entered.
Temporary solution: Until the certificate or the server name has been adjusted, you can switch the check off:
- Open Administration → Configuration → System → System Notifications.
- In the SMTP section, disable the option Verify SMTP Server Certificate Identity. It is located directly below SMTP TLS. Then click Save.
The change takes effect immediately, no restart is required. The certificate chain is still validated. Switch the option back on as soon as the certificate or the server name has been adjusted.
Still no emails?
Send us the ftapi-server.log from the time of a sending attempt, with date and time, via the support form.
Similar articles
📋 Email and other notifications
📋 System: Setting up a custom SMTP relay for deliveries and notifications