cPanel: Enable/disable specific webmail application per user

Today, I faced a situation where I need to show single webmail application to cPanel control panel user. Usually there are three (3) webmail clients. These are horde, squirrel mail, roundcube. However, I was advised to make sure that a specific customer does not see more than one specified. I suggested, ‘Enable Autoload’ feature which did work indeed but did not satisfy him. Then I opened a thread in cPanel forum and I got the following solution. That’s is easy. I quote the whole post here.

You can enable and disable webmail applications as per user accounts.

Suppose the username is xyzco for your domain xyz.com, first login to SSH into the server as root, and edit the file mentioned below:

pico /var/cpanel/users/xyzco

Now, if you want to disable all webmail applications and enable roundcube mail, you would need to add following lines:

skiphorde=1
skipsqmail=1
skiprcmail=0

Next, you’ll need to restart cPanel, you can normally do this by doing :

/etc/init.d/cpanel restart

Now, when the user xyzco logs into webmail, they only see roundcube mail, and not the other two.

Thanks to thewebhosting for this tip.

  • Thank you for this regarding mail . . . most of my clients use their PC or Mac for getting mail, but I have a couple of clients using Webmail via a reseller account I have.

    My question is if you know of something more robust than RoundCube, maybe more like Horde, but not as sluggish ad Horde. I have a client who is using webmail exclusively and Horde was too slow, and Roundcube too basic. I don’t mind buying a program I could share with other hosting clients, provided it works well.

    Again thanks for the article and I look forward to poking around your website for more “nuggets”.