Disabling "Email Delivery Route" Feature in cPanel Main

quizas

Registered
Mar 10, 2011
1
0
51
Hi, all,

I'm currently administering a cPanel handful of admin accounts that are each shared by several people, and for people-proofing purposes, I was wondering if it would be at all possible to disable the Email Delivery Route feature (or, at the very least, remove the 'Mail' category from the main page)?
 

acenetryan

Well-Known Member
PartnerNOC
Aug 21, 2005
197
1
168
Got a response, verified it works:

Brian "Big Boat" Oates said:
Thank you for your patience. I've thoroughly investigated the issue and it appears that 'deliveryreport' may be a remnant from an in progress unrelated feature request. From what I'm seeing, the conditions relying on this feature should not currently be present in cPanel 11.28 builds.

I've opened an internal case with our developers regarding this so that the matter can be investigated and resolved. The case number is: 47931

For now, the work around would be what I previously shared with you, adding the line:

deliveryreport=0

to the file: /var/cpanel/features/enabled

This will allow you to enable/disable the "Email Delivery Route" icon as expected when toggling the feature "Ability to Trace an email address" through WHM's Feature Manager.

In regards to the case, when a fix is issued it will be mentioned on Change Logs with the particular case number 47931

Thank you.

--
Brian "Big Boat" Oates
Technical Analyst I
Migration Specialist
cPanel, Inc.
 

kjg

Well-Known Member
Mar 2, 2004
180
8
168
Thanks rking for the info.
I can confirm that this is still an unsolved issue and that the workaround mentioned above works fine.
Unfortunately the setting "deliveryreport=0" is deleted when you make any change to the actual feature list using the feature manager in WHM, so you need to add it to the file again.
Hoping for cPanel to fix the error soon.

Any idea how to disable the legacy file manager while keeping the file manager active?
 
Last edited:

kjg

Well-Known Member
Mar 2, 2004
180
8
168
Adding the info I wrote in another thread regarding getting rid of icons in cpanel, also to this thread:


I am not sure how good it is for updates, but I think it would be no problems unless cpanel changes the logics for including icons and groups or adds a file with the exact same name.

In order to get rid of icons (if you use x3):
1) in /usr/local/cpanel/base/frontend/x3/dynamicui/ create a new file called remove_items_dynamicui.conf
(the name of the file can actually be whatever as long as it includes dynamicui and is a .conf file, ex abc_dynamicui_xyz.conf)

2) enter one line for each item you do not want to show. For hiding mysql-remoteaccess, emailroute and legacy file manager, the following needs to be added:

file=>mysql-remoteaccess,skipobj=>1
file=>emailroute,skipobj=>1
file=>legacy_filemanager,skipobj=>1

You can find all file names to use for each icon in /usr/local/cpanel/base/frontend/x3/dynamicui.conf

That's all.
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
43
348
somewhere over the rainbow
cPanel Access Level
Root Administrator
As I mentioned on the other thread where this information was posted, this is great information but it only hides the icon without removing the actual interface from being accessible:

http://forums.cpanel.net/f145/abili...-cpanel-case-10474-a-82145-p2.html#post907711

In the instance of the Email Delivery Route page, it might not be a big deal that it could still be accessed by someone who knows the actual direct url. It would be a big deal for the cPanel > Remote MySQL area to be visible still via the direct url, since a customer could still add remote MySQL access hosts there.
 

kjg

Well-Known Member
Mar 2, 2004
180
8
168
As I mentioned, this is a way to handle the issue during the time it takes for cPanel to solve this in the more accurate way. When searching for a solution I found the first tickets regarding this from summer 2009, so it seems to be not so easy to solve it in the correct way. While waiting, this might be of some help.

Also, if you have CSF (or similar) installed on the server, customers adding a remote mysql host via the actual direct url will not be a real issue, since it will not work until the port is opened in CSF.

Hiding the icon will get rid of most support questions from clients regarding this for many of us on the servers where we do not allow remote mysql access. Just having the icon visible generates questions from a number of customers, including from those who have no idea what it is. Take my word for it :)

edit: cPanelTristan, I did not see your comment on the other thread before posting this. I agreee 100% that moving the pages should also be done. Thank you for that info.
 
Last edited: