My emails are not reaching the recipient (Amazon SES)
When I send an email, within the logs they do not show me any problem, everything seems to be fine but the emails do not arrive, i already checked the configuration of amazon ses and from there the emails go out without any problem.
The firewall is correctly configured.
I do not know if there is any configuration that I am skipping, I am attaching some images with my configuration.
Exim configuration:
This is my logs,
They do not show any problem but the emails do not arrive:
-
Hey there! We'd need a bit more information than that log snippet to determine what the issue could be. I'd recommend running this command on the server to get all the entries related to that IP address on the system: grep 1m5uTN-0006cK-Vp /var/log/exim_mainlog
That will show the entire mail transaction, and the last line should say something like "COMPLETED" if it did leave your server and get to the destination machine. Can you try that and post the results?0 -
I already ran the command again and now it shows the following: 2021-07-21 14:23:13 1k80Xn-0001sd-S1 == xxxxxxx@gmail.com R=send_via_ses T=ses_smtp defer (-53): retry time not reached for any host for 'gmail.com' the problem with "retry time not reached for any host for" i have it with any domain to which I send emails, I already have port 25 enabled and I don't know what else to do 0 -
Thanks for that - that's an important clue. This error message indicates that your server has one of two things happening - it's already sent mail to Gmail which has failed, or it can't look up the addresses so it doesn't know where to send them. Since you indicated this is happening with any domain, it is likely the second issue. Can you run the following command on your server and post the results? dig google.com0 -
The results after of command are: 0 -
Interesting - it would seem things are working well now. I'm wondering if there were earlier DNS issues that kept this from working that have been resolved. Can you run these commands to clear the Exim retry database and then try to send a message again? /usr/sbin/exim_tidydb -t 0d /var/spool/exim retry > /dev/null /usr/sbin/exim_tidydb -t 0d /var/spool/exim reject > /dev/null /usr/sbin/exim_tidydb -t 0d /var/spool/exim wait-remote_smtp > /dev/null0 -
I have had no DNS problems. I already applied these commands and sent the mail again and I continue with the same error: 0 -
That's odd, as those commands should at least reset the Exim retry database to keep that from happening. At this point it would be best to open a ticket with our Technical Support team so we can check things directly on the system. 0 -
ok I'll open a ticket with the support team, thank you very much. 0 -
Sure thing! Once you do that, can you post the ticket number here so I can follow along and make sure this thread stays updated? 0 -
Sure! 0 -
this is the ticket number: #94345980 I already managed to send the emails: The problem was in the Stunnel connection, just change port 2525 to 587, apparently the only ports to work with amazon SES are 25 and 587. I had already presented other problems but they were only syntax. 0 -
I'm glad there wasn't an issue on the cPanel side of things causing this and glad to hear it's working well! 0
Please sign in to leave a comment.
Comments
12 comments