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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

SOLVED Block emails to unknown recipient

Discussion in 'E-mail Discussions' started by a.rayman, Mar 14, 2017.

  1. a.rayman

    a.rayman Member

    Joined:
    Dec 7, 2016
    Messages:
    6
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    United Kingdom
    cPanel Access Level:
    Root Administrator
    Hello,

    After checking Mail Delivery Reports, I can see that emails are being successfully received to email accounts that don't exist - they are marked as spam, but I would like to see them rejected.

    Is this possible?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,419
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Yes, you can change the "Default Address" option for the associated cPanel accounts to "Discard the email while your server processes it by SMTP time with an error message":

    Default Address - Documentation - cPanel Documentation

    This will ensure delivery attempts to non-existent email accounts are rejected.

    Thank you.
     
  3. a.rayman

    a.rayman Member

    Joined:
    Dec 7, 2016
    Messages:
    6
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    United Kingdom
    cPanel Access Level:
    Root Administrator
    Thank you for the help.

    Incase anyone is looking to have it Reject by default for all cPanel accounts: WHM >> Tweak Settings >> Select "Fail" for "Initial default/catch-all forwarder destination"
     
    cPanelMichael likes this.
Loading...

Share This Page