Skip to main content

Anyway to reject outgoing email if the sender domain doesn't host in the server.

Comments

4 comments

  • cPanelMichael
    Hello :) The following option under the "Mail" tab in "WHM Home " Service Configuration " Exim Configuration Manager" might be helpful: "EXPERIMENTAL: Rewrite From: header to match actual sender" Per it's description: If you enabled this option, the From: header will be rewritten to be the email address of the actual message sender. If you choose the "remote" option, only messages that are being sent to remote destinations will be affected. This should help you to detect which account is sending out the SPAM. Also, the following document is a good place to start: cPanel - Prevent Email Abuse Thank you.
    0
  • belon_cfy
    [quote="cPanelMichael, post: 1609732">Hello :) The following option under the "Mail" tab in "WHM Home " Service Configuration " Exim Configuration Manager" might be helpful: "EXPERIMENTAL: Rewrite From: header to match actual sender" Per it's description: If you enabled this option, the From: header will be rewritten to be the email address of the actual message sender. If you choose the "remote" option, only messages that are being sent to remote destinations will be affected. This should help you to detect which account is sending out the SPAM. Also, the following document is a good place to start: cPanel - Prevent Email Abuse Thank you.
    Hi , The option is good for tracing however it can't mitigate the issue on sending with forge address. I will prefer to reject those email instead of alter the header.
    0
  • cPanelMichael
    It really depends on how the sender's address is being spoofed. Is it simply the "FROM" part of the message header that is spoofed? Typically, the best way to resolve this issue is to disable or suspend the offending user from your system. Also, enabling SpamAssassin for outgoing email might help to prevent the message from sending out to the remote server. Thank you.
    0
  • mpkapadia
    Hello You Can Try This. Go to Exim Configuration > Advanced Settings Find this custom_begin_ratelimit ( In this Section which is blank by default add the 2 lines below ) Note - Not under custom_begin_ratelimit_spam ( Be careful ) ----------------------------------------------------------- deny ! sender_domains = lsearch;/etc/localdomains ! domains = lsearch;/etc/localdomains ----------------------------------------------------------- Regards.
    0

Please sign in to leave a comment.