Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

how do I disable webmail access for one domain only?

Discussion in 'E-mail Discussion' started by SoftDux, Jun 5, 2008.

  1. SoftDux

    SoftDux Well-Known Member

    Joined:
    May 27, 2006
    Messages:
    991
    Likes Received:
    2
    Trophy Points:
    168
    Location:
    Johannesburg, South Africa
    cPanel Access Level:
    Root Administrator
    Hi

    Does anyone know how to disable webmail access for a certain domain?
     
  2. thewebhosting

    thewebhosting Well-Known Member

    Joined:
    May 9, 2008
    Messages:
    1,201
    Likes Received:
    1
    Trophy Points:
    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!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. SoftDux

    SoftDux Well-Known Member

    Joined:
    May 27, 2006
    Messages:
    991
    Likes Received:
    2
    Trophy Points:
    168
    Location:
    Johannesburg, South Africa
    cPanel Access Level:
    Root Administrator
    Thanx, I see you can also disable it on a per account basis, for a particular domain, in the Webmail Configuration for that domains :)
     
  4. commnetivity

    commnetivity Registered

    Joined:
    Mar 30, 2011
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    51
    This does not work in my install, and we've upgraded just a few days ago.
     
  5. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,609
    Likes Received:
    32
    Trophy Points:
    238
    Location:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice