Skip to main content

sql mail

Comments

15 comments

  • chanklish
    if i use port 25 without SSL i receive this error : No connection could be made because the target machine actively refused it with my Cpanel ip port
    0
  • cPRex Jurassic Moderator
    Hey there! Can you telnet from your device to the cPanel server on port 25? That would likely be a good first test to see if the connection in general is even open.
    0
  • chanklish
    Hey there! Can you telnet from your device to the cPanel server on port 25? That would likely be a good first test to see if the connection in general is even open.

    yes i receive 220 and/or bulk email
    0
  • cPRex Jurassic Moderator
    Alright, that's a good sign. What do you see in /var/log/maillog when you try and make that connection? That would show the mail user logging in and authenticating to the server.
    0
  • chanklish
    Alright, that's a good sign. What do you see in /var/log/maillog when you try and make that connection? That would show the mail user logging in and authenticating to the server.

    i dont find the email in maillog .. in sql it is just an smtp i dont know if it will authenticate
    0
  • cPRex Jurassic Moderator
    What about the /var/log/exim_mainlog file instead?
    0
  • chanklish
    What about the /var/log/exim_mainlog file instead?

    also no, it's like it is being blocked before reaching the server but weirdly gives an error that it was refused by the remote computer
    0
  • cPRex Jurassic Moderator
    If there isn't anything in either of those logs, I'm not sure we're going to be of much help on the cPanel side of things. Is there a firewall in place on the server you could temporarily disable for testing? What is the exact bounceback message you receive? (make sure to remove public domains and IPs from the bounceback if you're able to post that)
    0
  • chanklish
    If there isn't anything in either of those logs, I'm not sure we're going to be of much help on the cPanel side of things. Is there a firewall in place on the server you could temporarily disable for testing? What is the exact bounceback message you receive? (make sure to remove public domains and IPs from the bounceback if you're able to post that)

    i have immunify 360 but my public ip (ip of my hq) is whitelisted
    0
  • cPRex Jurassic Moderator
    And what about the bounceback message?
    0
  • chanklish
    i tried with different ports and such 465 with ssl works on outlook but times out on sql 587 with tls works on outlook but there is not tls in sql mail port 25 doesnt work on outlook ( i dont know why ) with or without ssl ( i know ssl shouldnt work but just trying ) - i believe if i can make it work without ssl it might work 587 with ssl doesnt work (same as 587 with no encryption)
    0
  • chanklish
    how can i enable port 25 with no encryption on my cpanel ?
    0
  • cPRex Jurassic Moderator
    If you aren't able to use port 25 with or without encryption, it sounds like something with that port is the issue, although earlier you reported that you could telnet to port 25 on the server. I'm not sure why a telnet test would work but ou wouldn't be able to connect with a mail client. If the other ports are working with Outlook it sounds like you've isolated the issue to the SQL mail tool you're using. Do you know the specific connections being used by that tool?
    0
  • chanklish
    587 + SSL worked after removing all ssl inspection even though it worked normally with outlook port 25 works on telnet but not on outlook or sql
    0
  • cPRex Jurassic Moderator
    I'm glad you were able to come up with a workaround for the SQL tools. If you'd like to keep exploring the port 25 connection issue I'd recommend checking those same log files to see if there is any connection being made to the server when you use that port in your client(s).
    0

Please sign in to leave a comment.