- Newest
- Most votes
- Most comments
The error message you're encountering, "TLS error on connection (recv): A TLS fatal alert has been received: User canceled," is related to the TLS (Transport Layer Security) connection between your Exim mail server and Amazon SES SMTP endpoint. Despite this error, your emails are still being delivered successfully, which suggests that this isn't a critical issue affecting the actual email transmission.
This error typically occurs during the TLS handshake process. It appears that the connection is being terminated prematurely, possibly due to a mismatch in TLS versions or cipher suites between your Debian 12 system and the Amazon SES SMTP server.
The fact that this is happening only on your newly-built Debian 12 machines and not on identically-configured Debian 11 machines points to a potential change in the default TLS configuration or libraries in Debian 12.
While the error doesn't seem to be preventing email delivery, it's worth investigating further to ensure optimal performance and security. Here are some steps you can take to troubleshoot:
-
Check your Exim TLS configuration: Ensure that your Exim is configured to use TLS versions and cipher suites compatible with Amazon SES.
-
Update your system: Make sure your Debian 12 system and Exim are up to date with the latest security patches.
-
Try different TLS versions: Experiment with forcing specific TLS versions (e.g., TLS 1.2 or TLS 1.3) in your Exim configuration to see if it resolves the issue.
-
Check for any network issues: Ensure there are no firewall or proxy settings interfering with the TLS connection.
-
Contact Amazon SES support: If the issue persists, it may be worth reaching out to Amazon SES support for further assistance, as they might have insights into any recent changes on their end that could be causing this behavior.
-
Monitor closely: Keep an eye on your email deliverability and any potential performance impacts, even though the emails are currently being delivered successfully.
Remember, while this error doesn't seem to be impacting email delivery currently, it's important to resolve it to ensure the long-term reliability and security of your email sending process through Amazon SES.
Sources
Amazon SES SMTP issues - Amazon Simple Email Service
Amazon SES SMTP issues - Amazon Simple Email Service
Test your connection to the Amazon SES SMTP interface using the command line - Amazon Simple Email Service
Relevant content
asked 3 years ago
