sql mail
hello i have sql server 2019 on server 2019
i am trying to use the sql mail but keeps failing
i disabled TLS1.0,1.1 and SSL 2.0 on the server
my ports are 25,465 and 587 (465 + ssl gives time out even though i can see on my firewall that a conx was sent to the cpanel server)
in exim : +no_sslv2 +no_sslv3 +no_tlsv1 +no_tlsv1_1
i keep getting failure sending mail or operation timed out
what can i check ?
-
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 -
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 -
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 email0 -
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 -
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 authenticate0 -
What about the /var/log/exim_mainlog file instead? 0 -
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 computer0 -
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 -
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 whitelisted0 -
And what about the bounceback message? 0 -
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 -
how can i enable port 25 with no encryption on my cpanel ? 0 -
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 -
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 -
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.
Comments
15 comments