Jump to content

Sending SMTP mail results in 421 Timeouts


npnchicago

Recommended Posts

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:

image.png.b759c4ddc75999a4fef7f475e8c14a3f.png

 

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?

Link to comment
Share on other sites

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.

Mike

Link to comment
Share on other sites

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).

https://docs.aws.amazon.com/ses/latest/DeveloperGuide/smtp-issues.html

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...