hicom

Well-Known Member
May 23, 2003
294
7
168
Hello, i'm trying to customize the webmail page (where you can select squirrelmail, horde or roundcube). I'd like to remove the "Forwarding" option so users don't forward their emails without admin permission.

So I went to WHM Theme Manager -> Webmail themes -> cloned x3 theme to x3test -> downloaded/modified x3test and re-uploaded it successfully.

However, I don't see that theme in themes listfor a package or domain.

am I missing something here? Any tips are much appreciated...Thx
 

cPanelDavidG

Technical Product Specialist
Nov 29, 2006
11,212
13
313
Houston, TX
cPanel Access Level
Root Administrator
IIRC, Webmail themes need to have a corresponding cPanel theme given they inherit many visual elements from the cPanel theme & style assigned to the cPanel user that owns that webmail user.

Also note that webmail inherits the limitations of the cPanel user to which that webmail account belongs. So if you turn off forwarders for the cPanel user that owns example.com, then [email protected] will not see the forwarder icon in their webmail. No custom theming is needed if you also want to turn this off for the cPanel user.
 

hicom

Well-Known Member
May 23, 2003
294
7
168
If you can help me clarify this a bit. We've a reseller who wants one of his accounts to have access to webmail but not allow the email users to modify forwarding address from within webmail.

So basically, he wants to restrict email forwarding add/remove to cPanel only (without the option in webmail).

The thought is to create a new webmail theme and assign it to that package. Which theme should we modify?

WebMail Themes -> x3
or cPanel Themes -> x3
or cPanel Themes -> x3mail

We've already tried option #1 , but that theme can't be assigned to a package. So what would need to be modified to achieve the above? Thanks!
 

cPanelDavidG

Technical Product Specialist
Nov 29, 2006
11,212
13
313
Houston, TX
cPanel Access Level
Root Administrator
If you can help me clarify this a bit. We've a reseller who wants one of his accounts to have access to webmail but not allow the email users to modify forwarding address from within webmail.

So basically, he wants to restrict email forwarding add/remove to cPanel only (without the option in webmail).

The thought is to create a new webmail theme and assign it to that package. Which theme should we modify?

WebMail Themes -> x3
or cPanel Themes -> x3
or cPanel Themes -> x3mail

We've already tried option #1 , but that theme can't be assigned to a package. So what would need to be modified to achieve the above? Thanks!
Okay, in that case using Feature Manager wont work and you would need go the route of a custom theme. Just keep in mind once you create a custom theme, we do not modify it. This means when we introduce new features in 11.32, your custom theme will not reflect those features. There are ways around this (e.g. symlinking) but that gets a bit technical and should best be done by an experienced sysadmin professional.

I assume you uploaded your webmail theme, you just can't select it with regards to a package because it's not also a cPanel theme. So duplicate the x3 cPanel theme like you did for webmail, and see if that gets you the desired result. As far as editing the files in the webmail theme, you have a couple options: edit the contents of the .tar.gz file and rebuild the .tar.gz file before you upload it again (which can be tricky if you've not done this before) or login to your server with SFTP (that's File Transfer over SSH, most FTP programs support this and it's better than regular FTP in many ways) using your root credentials and navigate to /usr/local/cpanel/base/webmail/(name of your theme) and edit the index.html file there :).