Skip to main content

My emails are not reaching the recipient (Amazon SES)

Comments

12 comments

  • cPRex Jurassic Moderator
    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
  • Dgomez
    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
  • cPRex Jurassic Moderator
    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.com
    0
  • Dgomez
    The results after of command are:
    0
  • cPRex Jurassic Moderator
    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/null
    0
  • Dgomez
    I have had no DNS problems. I already applied these commands and sent the mail again and I continue with the same error:
    0
  • cPRex Jurassic Moderator
    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
  • Dgomez
    ok I'll open a ticket with the support team, thank you very much.
    0
  • cPRex Jurassic Moderator
    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
  • Dgomez
    Sure!
    0
  • Dgomez
    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
  • cPRex Jurassic Moderator
    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.