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!

Block all local domain email not from my server.

Discussion in 'E-mail Discussion' started by serichards, Mar 24, 2014.

  1. serichards

    serichards Well-Known Member

    Dec 11, 2012
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Website Owner
    I keep getting spam using my domain from address being sent to the same to address as that email account. I find this irritating. If I have all the server security/SPF/DKIM etc on why on earth is this rubbish not being rejected? It's clearly not from my server and my server is the ONLY legitimate source of my domain from address so one from anywhere else with my domain on it should be binned as far as I am concerned.

    I only send my domain email via my own server's smtp therefore any mail that is not sent from there from my domains is FAKE. How do I stop it?

    Is there a handy rule about stopping all email where the from and to address are the same? That would do it as well.

    I have a blacklist with several domains in the ACL and also referenced in the transport section. If I put my own domain in there will it bypass that for local addresses ie legitimate ones I've sent for testing or will it block all of them? I also wouldn't want it to have the result of blocking all email to my domain from everywhere else as some of it is legit (but none with my from address from another server)

    What's the best way of doing this?

    Is it possible to add some kind of dns record so that any other mail server can check to make sure that it is only my server that has sent mail from my domain? It seems to me some kind of whitelist method is also needed so that these oxygen thieves sending spam are cut off at the knees.
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    May 20, 2003
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    In your cPanel > Mail > Set Default Address, what are your settings here?
    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