how do I disable webmail access for one domain only?

thewebhosting

Well-Known Member
May 9, 2008
1,199
1
68
yes..it is possible to enable/disable webmail access for a particular domain.

SSH into the server as root and edit the file:

/var/cpanel/users/username

Now, if you want to disable all webmails then add below lines:

skiphorde=1
skipsqmail=1
skipneomail=1

Restart cPanel using /etc/init.d/cpanel restart

That's it!
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
40
248
somewhere over the rainbow
cPanel Access Level
Root Administrator
The way to disable Webmail for a specific account (not for a domain) would be to create a feature list in WHM > Packages > Feature Manager and to uncheck Webmail for that feature list. At that point, create a package with that feature list in WHM > Packages > Add a Package area. After creating the package, then assign the account to that package in WHM > Modify/Upgrade Multiple Accounts area.

Using the previously provided skip options in /var/cpanel/users/username file will not work. This thread was from 2008 and, while I cannot state it did or did not work in 2008, I can state that oftentimes options do change and it isn't advisable to use suggestions from this many years ago if possible.