The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Global Email Filtering

Discussion in 'E-mail Discussions' started by jdw_id, Jun 25, 2015.

  1. jdw_id

    jdw_id Member

    Apr 28, 2011
    Likes Received:
    Trophy Points:
    Hi All

    One of my account got spam, I try use Account Level Filtering in CPanel..
    It works succefully...

    But now, spammer send same spam to other account / domain on that server.

    Rather than use Account Level Filtering on every account, i looking for same feature on whm..
    But i can't find those on whm (i have root access)...

    How to setup Global Spam Filtering ?

    Thank you
  2. keat63

    keat63 Well-Known Member

    Nov 20, 2014
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    you could create your own exim blacklist, but this involves adding domain names to a list manually.

    Create a file named /etc/eximblacklist and add the entry "" (without quotes). That is, add the domains you need to blacklist one per line.

    Now go to WHM >> Exim configuration editor >> Advanced Editor.

    Add the below lines in the first section just below the line "#!!# cPanel Exim 4 Config"

    domainlist exim_blacklist = lsearch;/etc/eximblacklist

    Now add inside the section under "ROUTERS CONFIGURATION "


    driver = redirect
    # RBL Blacklist incoming hosts
    domains = +exim_blacklist
    data = :fail: Connection rejected: SPAM source $domain is manually blacklisted.

    Save the configuration and see the exim error log. You can see the domain blocked.

    Courtesy of Frank

Share This Page