Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

How to COMPLETELY block ALL outbound mail?

Discussion in 'E-mail Discussion' started by MauriceW, Aug 4, 2014.

  1. MauriceW

    MauriceW Registered

    Feb 28, 2014
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator

    We have a dedicated server with several domains configured. For all domains we use an external SMTP service to send out emails. Our websites send mail via this external SMTP service. So there is no need for the server to send out any mail.

    Still we see mail going out, like bounce messages, non delivery reports and we even had some spam sending issues in the recent past.

    So I have some questions:

    1. Is it possible to configure WHM/CPanel to use our external SMTP server too, so that server/system emails are still sent to us?
    2. And is it possible to COMPLETELY block ALL outbound email on our server, so that it simply cannot send email anymore by itself? (but still be able to receive mail)

    How can I achieve both?

    Any help would be appreciated.
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Hello :)

    1. You could setup a smart host using the following option under the "Mail" tab in "WHM Home » Service Configuration » Exim Configuration Manager":

    "Smarthost support"

    2. You may find the following thread helpful:

    How Do I Block One Domain From Sending Email From My Server?

    It's intended for one domain name, but could apply to all domain names if configured slightly differently.

    Thank you.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice