Completely disable mail for all hostings on server

ch.ederer

Registered
Jul 18, 2011
4
0
51
We are setting up cPanel / WHM in order to give webhosting to our customers. As we are selling mail accounts on another platform (with collaboration etc.), we would like to completely disable email features for all domains.

Does anyone know how to do this?

Thanks a lot in advance!
Christian
 

Infopro

Well-Known Member
May 20, 2003
17,113
511
613
Pennsylvania
cPanel Access Level
Root Administrator
Twitter
I think you could create a new Feature List and Package to accomplish this. First create the Feature List called NoEmail (or whatever you like) and disable email features here. There are several. Next, Add a Package(s) and set that to have 0 email, email lists.

Create a new account, give it that package and make sure its using that new Feature List.

This should work I think. Let us know. :)
 

ch.ederer

Registered
Jul 18, 2011
4
0
51
I tried to disable all features, but I do not find two of them. There are still left:

- EMail Delivery Route
- Import Addresses/Forwarders

in the customers panel. Does anyone know how to disable these features?
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
40
248
somewhere over the rainbow
cPanel Access Level
Root Administrator
To disable Email Delivery Route that option would be "Ability to Trace an email address" one in Feature Manager for the feature list. Unfortunately, you would need to issue the following command as this isn't properly being detected when disabled in the feature list currently:

Code:
echo "deliveryreport=0" >> /var/cpanel/features/featurelistname
Please replace featurelistname with the name of your feature list, so if it were noemail it would be /var/cpanel/features/noemail for the path for the above command.

We have case #47931 about this feature not disabling properly when being deselected in the feature list.

As for the "Import Addresses/Forwarders" option, that is likely the "CSV Import (Email & Forwarders)" one in WHM's Feature Manager for the feature list.