How to disabling mail forwarder on webmail

gamgam

Member
Apr 7, 2008
9
0
51
hello,

i want to ask is there any way to disabling Forwarding Options on webmail ?

thank's
 

rvskin

Well-Known Member
PartnerNOC
Feb 19, 2003
400
1
168
As far as I know, you cannot do that unless you install RVSkin. If your server have RVSkin installed, you can disable it in cPanel/Webmail Feature Manager.
 

sirbrent

Well-Known Member
Sep 30, 2008
98
1
58
I couldnt find away to disable it in the webmail sign-in page.
BUT you should be able to remove it altogether (even from cpanel feature's) by commenting it out (#) in the dynamicui.conf file (\usr\local\cpanel\base\frontend\x3) somewhere around line 60.
 

sirbrent

Well-Known Member
Sep 30, 2008
98
1
58
hot damn,

after lots of digging i found it. as long as you are using x3 theme (branding doesnt matter) you can edit the webmail entry page (and remove the icons and link you want) by editing this file: /usr/local/cpanel/base/webmail/x3/index.html

if you were to delete the below excerpt from the file it should remove the forward icon:
Code:
<cpanelfeature forwarders>
    <td >
		<div valign="top" align="center">
			<a href="mail/fwds.html"><img src="<cpanel Branding="image(forwardersemail)">" border="0" /></a><br><a href="mail/fwds.html"><cpanel langprint="EAFwdWebmail"></a>
		</div>
	</td>
</cpanelfeature>
good luck! please report back.
 

cPanelDavidG

Technical Product Specialist
Nov 29, 2006
11,212
13
313
Houston, TX
cPanel Access Level
Root Administrator
hot damn,

after lots of digging i found it. as long as you are using x3 theme (branding doesnt matter) you can edit the webmail entry page (and remove the icons and link you want) by editing this file: /usr/local/cpanel/base/webmail/x3/index.html

if you were to delete the below excerpt from the file it should remove the forward icon:
Code:
<cpanelfeature forwarders>
    <td >
		<div valign="top" align="center">
			<a href="mail/fwds.html"><img src="<cpanel Branding="image(forwardersemail)">" border="0" /></a><br><a href="mail/fwds.html"><cpanel langprint="EAFwdWebmail"></a>
		</div>
	</td>
</cpanelfeature>
good luck! please report back.
Just a head's up that such modifications are likely to be overwritten during a cPanel update. You may wish to create /scripts/preupcp and /scripts/postupcp scripts to preserve your modifications at the expense of any possible new functionality that may be introduced via future cPanel updates.
 

sirbrent

Well-Known Member
Sep 30, 2008
98
1
58
I often see people recommending /scripts/preupcp and /scripts/postupcp in these forums, but don't know much about it myself.

Do you have any links to good documentation or a tutorial on this?

thanks so much!
 

cPanelDavidG

Technical Product Specialist
Nov 29, 2006
11,212
13
313
Houston, TX
cPanel Access Level
Root Administrator