Skip to main content

Troubleshooting send errors to specific host

Comments

12 comments

  • cPRex Jurassic Moderator
    Hey there! I'd start with a basic telnet test, just to confirm you can indeed reach their mailserver over port 25. From your server's command line, that would look like this: telnet x.x.x.x 25
    where x.x.x.x is the name or IP address of the remote mail server you are sending to. If that works, which hopefully it does, you could try manually sending a message with telnet. It's best to do a web search for details on that, as there are many good guides on how to perform that work, but that would be a good test to see if the mail connection works in general and there is an issue specific to Exim. In general, though, your logic makes sense that if every other mailserver is fine, including larger ones like Gmail, it would seem unlikely to be an issue on your server.
    0
  • Drgonzodog
    Hi, Thanks for your response. I will try as you suggest.
    0
  • cPRex Jurassic Moderator
    Let me know what you find!
    0
  • Drgonzodog
    Hi, Sending a mail via telnet worked: telnet 198.38.xx.xx 25 Trying 198.38.xx.xx... Connected to 198.38.xx.xx Escape character is '^]'. 220-mocha3020.mochahost.com ESMTP Exim 4.95 #2 Wed, 20 Jul 2022 04:40:25 -0500 220-We do not authorize the use of this system to transport unsolicited, 220 and/or bulk e-mail. ehlo my.server.com 250-mocha3020.mochahost.com Hello my.server.com [xx.xx.xx.xx] 250-SIZE 52428800 250-8BITMIME 250-PIPELINING 250-PIPE_CONNECT 250-AUTH PLAIN LOGIN 250-STARTTLS 250 HELP mail from: info@account-on-my-server.com 250 OK Rcpt to: account@remoteserver.com data 250 Accepted 354 Enter message, ending with "." on a line by itself subject: Test From: info@account-on-my-server.com To: account@remoteserver.com Test . 250 OK id=1oE6Dc-00GkHu-UA quit 221 mocha3020.mochahost.com closing connection Connection closed by foreign host. .. so I guess it's something to do with my Exim configuration that this specific host doesn't like?
    0
  • cPRex Jurassic Moderator
    That's very strange. You're always welcome to submit a ticket to our support team so we can check things directly on the machine. You could also run this command: tail -f /var/log/exim_mainlog
    while sending an email from your server to the recipient experiencing the issue to see if there is any additional feedback in the logs about this behavior, as that will update the log on the screen in real-time while the message is sent.
    0
  • Drgonzodog
    Thanks for that, I'll create a ticket. I've tried watching the exim log in real time via CSF while sending to the problem server, but nothing shed any more light on the issue.
    0
  • cPRex Jurassic Moderator
    Once you have that ticket number please post it here so I can follow along.
    0
  • Drgonzodog
    Thanks cPRex, the ticket id is: #94467311
    0
  • cPRex Jurassic Moderator
    Thanks for that - I'm following along with that ticket on my end now.
    0
  • cPRex Jurassic Moderator
    It looks like we were able to confirm the remote host is blocking your IP once we had access to the server.
    0
  • Rafael

    Good morning

    I'm having the same problem, I have already changed the IP using /etc/mail ips and checked that the emails arrive with this new IP, but when I send it to the user who is causing the problem, this continues the same.

     

     

    Regards.

    0
  • cPRex Jurassic Moderator

    If you're getting a connection timeout it's possible that user has blocked a range of IPs or there is another network issue.  Are you able to run the following command on your server to test the connection manually:

    yum install telnet
    telnet x.x.x.x 25

    where "x.x.x.x" is the remote server's IP address?

    0

Please sign in to leave a comment.