Webmail not loading

tdot

Active Member
Nov 2, 2017
29
1
3
UK
cPanel Access Level
Root Administrator
When I try to access webmail via example.com:2096 or directly through cpanel. It seems to timeout. I've tried it for all domains/accounts but still have the same issue.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
Hello,

Is it possible your ISP or router rules are blocking outgoing connections to the server over port 2096? You could try accessing "webmail.domain.tld" to see if access to webmail works over port 80.

Thank you.
 

tdot

Active Member
Nov 2, 2017
29
1
3
UK
cPanel Access Level
Root Administrator
Port TCP 2096 is definitely open in my server firewall. I've not added a record for 'webmail.domain.tld' in my DNS so I cant check that. Nothing on my home connection is blocking it either.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
Hello,

You can verify that ports 2095 and 2096 are listening for connections with a command like this on the cPanel server:

Code:
netstat -lnp | grep :209
The output should look like this:

Code:
# netstat -lnp | grep :209
tcp        0      0 0.0.0.0:2095            0.0.0.0:*               LISTEN      21002/cpsrvd (SSL)
tcp        0      0 0.0.0.0:2096            0.0.0.0:*               LISTEN      21002/cpsrvd (SSL)
Also, are you using a CDN such as CloudFlare for this domain name? Or, can you reproduce the issue when accessing the IP address directly (e.g. htxxs://$IP:2096)?

Thank you.
 

Anupkum

Member
Dec 14, 2020
11
0
1
India
cPanel Access Level
Root Administrator
Here is the error I get while opening mail from cPanel .

This site can’t be reached
xyz.com took too long to respond.


Try:
  • Checking the connection
  • Checking the proxy and the firewall
  • Running Windows Network Diagnostics
ERR_CONNECTION_TIMED_OUT
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
14,333
2,242
363
cPanel Access Level
Root Administrator
Thanks for the additional details. Even though the services may be listening on those ports it seems like they might be blocked either at the server itself or at a higher level outside the machine. Can you check the server's firewall to ensure the webmail ports are open for traffic?
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
14,333
2,242
363
cPanel Access Level
Root Administrator
  • Like
Reactions: Anupkum

Anupkum

Member
Dec 14, 2020
11
0
1
India
cPanel Access Level
Root Administrator
Thank you for your help. webmail is now opening .

But, emails are not working. I am not receiving emails from people and If I send they don't get it from me. What would be some other reasons behind it?

Please help...
 
Last edited:

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
14,333
2,242
363
cPanel Access Level
Root Administrator
I'm glad the webmail access is working well for you now.

In the port list you provided, I don't see that port 25 is open for traffic. You'd want to make sure that is open as that will allow you to both send and receive messages properly.

If the port is opened on your local firewall, it's possible that your hosting provider is blocking that port on their network, as many providers do. You can test that by running the following command:

Code:
telnet mx1.cpanel.net 25
That will tell you if you can reach an external mail server. If you can't, port 25 is likely blocked by your provider and you would need to use a third-party email service to send messages properly.

If you get an error that telnet is not installed, you can install it quickly with this command so you can perform the test.

Code:
yum install telnet
 

Anupkum

Member
Dec 14, 2020
11
0
1
India
cPanel Access Level
Root Administrator
Hello,
thank you for your quick reply.

I am using EC2 instance on AWS and had port 465 for SMTP. After your suggestions I have opened port 25 as well in the security network.

I ran code you shared but seems none of them are going to work. Attaching screenshot or response received..

output.jpg

Please let me know what I can do to get it fixed.

I really appreciate your help...
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
14,333
2,242
363
cPanel Access Level
Root Administrator
It seems there are some Yum issues separate from the mail issue as well on this machine.

For the email issue, you likely won't be able to send messages normally on an Amazon server. They block port 25 for outbound traffic, so you'll need to use a third-party tool to send messages. We have some additional details on this here:


As far the Yum issue, there's a few different things that could cause that, such as missing operating system packages or bad data in the repository itself. If you are using CentOS 6 on that server, can you check the following thread and try the workaround there?

 

Anupkum

Member
Dec 14, 2020
11
0
1
India
cPanel Access Level
Root Administrator
Hi,
A very happy new year to you and family.

I have successfully installed Telnet, but still when I run telnet mx1.cpanel.net 25 it is giving result as connection timeout.

Attaching screenshot for reference.

screenshot.jpg
 

kodeslogic

Well-Known Member
PartnerNOC
Apr 26, 2020
549
255
138
IN
cPanel Access Level
Root Administrator

Anupkum

Member
Dec 14, 2020
11
0
1
India
cPanel Access Level
Root Administrator
Hello,

I raise request to amazon to enable port 25 and now they are asking for a valid A valid email host name (Ex: "mail.yourdomain.com") .

But, when I open mine mail.mydomain.com or webmail.mydomain.com it is not opening in the browser. It is saying This site can’t be reached

DNS_PROBE_FINISHED_NXDOMAIN


Your help is much appriciated...