Skip to main content

Prevent email from being send from server domain

Comments

6 comments

  • Infopro
    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: Reject remote mail sent to the server's hostname Reject mail at SMTP time if the recipient is an address of the primary hostname of this server. No remote mail should normally be received for the primary hostname, and this has recently become a common spam target.
    0
  • Mugoma
    ACL Options

    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?
    0
  • Infopro
    The documentation should be of some use to you: How to Prevent Email Abuse - cPanel Knowledge Base - cPanel Documentation
    0
  • Mugoma
    The documentation should be of some use to you

    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.
    0
  • Infopro
    Sure it does. If the email is not coming from an actual email, it's coming from nobody. Prevent "nobody" from sending mail This setting denies the nobody user the ability to send mail to a remote address. The setting defaults to On. Note: PHP and CGI scripts generally run as the nobody user. To use a PHP or CGI script to send mail, enable the suEXEC or mod_php modules in your Apache configuration.
    0
  • postcd
    The pitfall of enabling "Reject remote mail sent to the server's hostname" is that your outgoing e-mail may be in higher risk of being marked as a SPAM in my oppinion. Why? Because your FROM/sender mailbox (cpanelusername@server.host.name) can not accept e-mail. It seems to be considered bad practice by some SPAM filters, i faced issue where all my e-mails were denied because of this. PHP scripts using mail() function are sending on behalf of that internal (hostname) mailbox.
    0

Please sign in to leave a comment.