The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Completely disable mail for all hostings on server

Discussion in 'E-mail Discussions' started by ch.ederer, Jul 18, 2011.

  1. ch.ederer

    ch.ederer Registered

    Joined:
    Jul 18, 2011
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    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
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,448
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    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. :)
     
  3. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,448
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hmm, you'll need to be able to edit the MX entry to redirect email for the domain. Be sure the option for this is enabled in that Features List you create.
     
  4. ch.ederer

    ch.ederer Registered

    Joined:
    Jul 18, 2011
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    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?
     
  5. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    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.
     
  6. ch.ederer

    ch.ederer Registered

    Joined:
    Jul 18, 2011
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Great, that worked! Thanks a lot!
     
Loading...

Share This Page