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!

Make Exim prevent spam from being forwarded?

Discussion in 'E-mail Discussion' started by Valetia, Mar 13, 2014.

  1. Valetia

    Valetia Well-Known Member

    Joined:
    Jun 20, 2002
    Messages:
    213
    Likes Received:
    1
    Trophy Points:
    168
    cPanel Access Level:
    Root Administrator
    How do you make Exim not forward email that is detected as spam by SpamAssassin?

    Such email messages are causing blacklisting and rate limiting issues with the destination mail servers like Gmail, Yahoo, AOL, etc. that block the server's IP even though the email is simply passing through and not originating from it.

    Headers found within the forwarded email clearly show that SpamAssassin has correctly classified them as being spam, while they were passing through the server! Surely there is a way to prevent such messages from being forwarded?
     
  2. vanessa

    vanessa Well-Known Member
    PartnerNOC

    Joined:
    Sep 26, 2006
    Messages:
    834
    Likes Received:
    29
    Trophy Points:
    178
    Location:
    Virginia Beach, VA
    cPanel Access Level:
    DataCenter Provider
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Valetia

    Valetia Well-Known Member

    Joined:
    Jun 20, 2002
    Messages:
    213
    Likes Received:
    1
    Trophy Points:
    168
    cPanel Access Level:
    Root Administrator
    Thanks for the link, but the information in that thread does not seem to contain the solution to the issue (i.e. make Exim prevent spam from being forwarded).

    That thread discusses methods of having SpamAssassin scan forwarded email (which appears to already be the case at this time, since SpamAssassin headers do show up in forwarded messages), but nothing about how to prevent the actual forwarding of the detected spam.
     
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,827
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    You would have to change the nature of how you forward email. Instead of using a traditional forwarder, setup user-level filter rules that check for the SpamAssassin subject flag and discard the message before redirecting the email. Or, you could enable "Spam Auto-Delete" so that messages marked as SPAM are deleted automatically.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

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