Quintanilha-RJ

Active Member
Apr 9, 2022
32
3
8
Rio de Janeiro
cPanel Access Level
Root Administrator
Good afternoon, I wanted to know if anyone can help me in configuring the smtp port 465 of the webmail, I am not able to configure the outlook with port 465, it only works on port 587, I have already looked for some tutorials but without success.

I wanted to know if there is any specific configuration to make port 465 functional on the server.
 
  • Like
Reactions: Amiga500

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
17,470
2,843
363
cPanel Access Level
Root Administrator
Hey there! What error message do you get when you try to connect using port 465? I would expect port 465 to be open on the server and listening by default, although you can confirm by running this command on the machine:

Code:
netstat -lpn | grep 465
You should receive output similar to this if Exim is listening on that port:

Code:
[root@host /]# netstat -lpn | grep 465
tcp        0      0 0.0.0.0:465             0.0.0.0:*               LISTEN      830551/exim         
tcp6       0      0 :::465                  :::*
If that looks good, you'll want to check your server's firewall to ensure that port is open. If you haven't made any customizations to the firewall, you might need to look at the hosting provider's firewall settings to see what they have in place there.

If all is well there, you would want to test your connection from the local workstation to the server over that port to see if you can connect.

One of the above should reveal an issue with the system or the network.
 

Quintanilha-RJ

Active Member
Apr 9, 2022
32
3
8
Rio de Janeiro
cPanel Access Level
Root Administrator
Good afternoon, I managed to solve the error was that the exim was not configured to run on port 465, it was only configured to run on port 587. After configuring ports 25, 587, 465, it worked perfectly.

exim configuration manager > advanced editor:
I put the port in:

daemon_smtp_ports

25: 465: 587

worked perfectly
 

Attachments

Quintanilha-RJ

Active Member
Apr 9, 2022
32
3
8
Rio de Janeiro
cPanel Access Level
Root Administrator
Good afternoon, this is what I found strange, I had never touched this configuration and by default this port was supposed to be configured, although I use cpanel in version 100.0.12 because I don't like this designer of the new version of cpanel. but I solved it by adding the ports mentioned above.