Prevent email from being send from server domain
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.
-
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 -
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 -
The documentation should be of some use to you: How to Prevent Email Abuse - cPanel Knowledge Base - cPanel Documentation 0 -
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 -
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 -
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.
Comments
6 comments