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.

Prevent email from being send from server domain

Discussion in 'E-mail Discussions' started by Mugoma, Apr 22, 2017.

  1. Mugoma

    Mugoma Well-Known Member

    Joined:
    Aug 1, 2016
    Messages:
    74
    Likes Received:
    4
    Trophy Points:
    8
    Location:
    Nairobi
    cPanel Access Level:
    Root Administrator
    Hello,

    We have seen many emails send from server domain (e.g. user@example.server.com), majority of which are spam from exploits.

    We would like to block any message from server name. Every user should use their own domain to send email.
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    15,768
    Likes Received:
    313
    Trophy Points:
    433
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    If you visit this location:
    WebHost Manager »Service Configuration »Exim Configuration Manager, Basic Editor tab, and then ACL Options tab just below that, enable this option:

     
  3. Mugoma

    Mugoma Well-Known Member

    Joined:
    Aug 1, 2016
    Messages:
    74
    Likes Received:
    4
    Trophy Points:
    8
    Location:
    Nairobi
    cPanel Access Level:
    Root Administrator
    If I understand well the option `Reject remote mail sent to the server's hostname` means any mail send to the server hostname is rejected. What we want is the reverse: `Reject mail sent FROM the server's hostname`.

    Am I missing something?
     
  4. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    15,768
    Likes Received:
    313
    Trophy Points:
    433
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
  5. Mugoma

    Mugoma Well-Known Member

    Joined:
    Aug 1, 2016
    Messages:
    74
    Likes Received:
    4
    Trophy Points:
    8
    Location:
    Nairobi
    cPanel Access Level:
    Root Administrator
    The link you provide doesn't say anything about how to prevent a user from sending from server hostname.

    We also enabled "Reject remote mail sent to the server's hostname" as suggested earlier but it doesn't prevent email from being send from server hosname.
     
  6. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    15,768
    Likes Received:
    313
    Trophy Points:
    433
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Sure it does. If the email is not coming from an actual email, it's coming from nobody.

     
Loading...

Share This Page