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!

Global Email Filtering

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

  1. jdw_id

    jdw_id Member

    Joined:
    Apr 28, 2011
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    51
    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

    Joined:
    Nov 20, 2014
    Messages:
    1,017
    Likes Received:
    45
    Trophy Points:
    28
    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 "163.com" (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 "

    reject_domains:

    driver = redirect
    # RBL Blacklist incoming hosts
    domains = +exim_blacklist
    allow_fail
    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
     
  3. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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