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.

Disable Mail Functions

Discussion in 'E-mail Discussions' started by webdatago, Aug 3, 2017.

  1. webdatago

    webdatago Member

    Joined:
    Jan 23, 2015
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    How do we disable mail functions(sending & receiving) of mail on cPanel & WHM 64.0 (build 36)
     
    #1 webdatago, Aug 3, 2017
    Last edited by a moderator: Aug 3, 2017
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,064
    Likes Received:
    1,287
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Are you attempting to disable the ability for PHP scripts to use PHP's mail function, or are you simply wanting to disable all incoming and outgoing email for an account?

    Thank you.
     
  3. webdatago

    webdatago Member

    Joined:
    Jan 23, 2015
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    wanting to disable all incoming and outgoing emails on the server for all accounts, as wel as php script to be able to use mail functions.

    Just give me the procedure for all
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,064
    Likes Received:
    1,287
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    You can disable the Exim, Imap, and POP3 services via "WHM Home » Service Configuration » Service Manager". Additionally, you can choose which features show up in cPanel using "WHM Home » Packages » Feature Manager » Feature List" if you want to ensure cPanel users are not presented with the option to create email accounts or access webmail. You will also need to enable the "WHM >> SMTP Restrictions" option to prevents users from bypassing the mail server to send mail.

    Thank you.
     
Loading...

Share This Page