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!

block email header server-wide?

Discussion in 'E-mail Discussion' started by christi1, Jun 19, 2006.

  1. christi1

    christi1 Well-Known Member

    Joined:
    Oct 20, 2003
    Messages:
    65
    Likes Received:
    0
    Trophy Points:
    156
    Location:
    Texas, USA
    Is there a way to search for a specific pattern in an email header and block it server-wide across ALL domains??

    I've tried the following in the Exim Editor via WHM, but exim throws errors on restart:

    # Spamtrap
    if
    $message_headers contains "XXX"
    or $message_headers contains "XX"
    then
    fail text "Your mail is not welcome on this server."
    seen finish
    endif

    Any insight would be appreciated.
     
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