June 5, 2018 in Technical Problems
After switching to SMTP method of sending mail, we frequently get 421 Timeout errors when sending mail.
We switched on June 1 from using PHP method and sendmail on the server, to SMTP direct. Both methods are using AWS SES as the primary mail server.
Once we switched we get many "421 Timeout" and "Mail could not be sent" errors.
We send about 600 mails per day, well below the limits imposed by SES.
The full logs in the IPS Email Logging are not much help unfortunately, containing only simple or sometimes no information:
We can resend the mails in the Error Log and they seem to send without issue, not bouncing or having the same timeout issues.
IPC says there is not much more that can be done on the IPC side b/c it is a server issue.
Are there any other ways you can suggest to help us resolve this issue?
This type of issue would definitely be a server-side problem that you would need to relay to your host. Let them know that SMTP emails are intermittently failing with a 421 Timeout message when using SES.
Thank you for responding.
The host is AWS EC2 and mails are being sent directly via IPS SMTP to SES on their servers. So it never really leaves their servers.
And oddly, with "Mail cannot be sent errors" there is no log, no information at all.
This suggests a connection issue, sure, but why is there no log at all? There is no error, no connection information, etc.
It seems to me that perhaps IPS is only recording a certain portion of the conversation, because there is no connection, no handshake, nothing (in the log).
Since mails DO go through all the time (errors are only about 1% of our total), there must be some connection, handshake, etc that is happening correctly.
Because it's timing out when attempting to connect, so there would be no handshake information (i.e. the software never sent any further commands).
Possibly you're hitting their default sending limits and need to request them to be raised (see the second bullet point). That would definitely explain why it works 99% of the time.
If you would a solution to avoid exceed limit you can install my app and configure with restrictions imposed by smtp service.
It manage 421 emails and write into mail error logs some detail to help you what happen on delayed emails.
This topic is now archived and is closed to further replies.
Started Saturday at 10:24 PM
Started Yesterday at 06:25 AM
Started 6 hours ago