How to disable the Webmail service?

Conk

Registered
Apr 12, 2019
1
0
1
UK
cPanel Access Level
Root Administrator
Hello,

I'm looking to disable all browser access to email for all accounts/websites, known as cPanel Webmail.

I'm not looking to redirect webmail.domain.com or domain.com/webmail as this has already been done. I would like to disable access via browsing to domain.com:2096

Thanks in advance

Also, I wanted to note that I have already unchecked the "Webmail" option from Feature Manager.
 
Last edited by a moderator:

keat63

Well-Known Member
Nov 20, 2014
1,963
267
113
cPanel Access Level
Root Administrator
Rather than stopping the service, try this.

In Host Access Control, add an entry to block access.

In the first box type WEBMAILD,
In the second box type ALL
In the last box type DENY.

You could also narrow access to specific IP's only, using the same method.
Just make sure that the deny entries are last, as these would take precident over the allow entries
 

Attachments

Last edited:
  • Like
Reactions: Conk

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,304
363
Houston
the idea presented by @keat63 would be the best one to block the ability to browse on any of the webmail ports 2095/2096 alternatively you could also block these ports but Host Access control essentially does this for you.