The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

how do I disable webmail access for one domain only?

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

  1. SoftDux

    SoftDux Well-Known Member

    Joined:
    May 27, 2006
    Messages:
    983
    Likes Received:
    0
    Trophy Points:
    16
    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:
    38
    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!
     
  3. SoftDux

    SoftDux Well-Known Member

    Joined:
    May 27, 2006
    Messages:
    983
    Likes Received:
    0
    Trophy Points:
    16
    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:
    1
    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,623
    Likes Received:
    21
    Trophy Points:
    38
    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.
     
Loading...

Share This Page