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.

RBL Checks to Reject Known Spammers

Discussion in 'General Discussion' started by lamp, Nov 23, 2006.

  1. lamp

    lamp Well-Known Member

    Joined:
    Dec 22, 2003
    Messages:
    111
    Likes Received:
    0
    Trophy Points:
    16
    Hello,

    I would like to configure exim to reject mail coming from known spammers; like the ones that appear in lists found at spamhaus.org (other lists would be good too).

    Do you know of any tutorial on how to do this.

    I know that I have to edit the exim configuration file: one of the 3 consecutive textboxes that start with 'begin acl'

    Your help is appreciated.
    Lamp
     
  2. Un Area

    Un Area Well-Known Member

    Joined:
    Nov 16, 2006
    Messages:
    78
    Likes Received:
    0
    Trophy Points:
    6
    You may add this under begin acl in /etc/exim.conf

    # RBLS CHECKING ACL
    deny message = Message rejected - $sender_fullhost is in an RBL, see $dnslist_text
    !hosts = +relay_hosts
    !authenticated = *
    dnslists = bl.spamcop.net : sbl-xbl.spamhaus.org
    #RBL Bypass Local Domain List
    !domains = +rbl_bypass


    That will setup spamcop and spamhaus databases for RBL checking. :)

    Bye!
     
    #2 Un Area, Nov 23, 2006
    Last edited: Nov 23, 2006
  3. katmai

    katmai Well-Known Member

    Joined:
    Mar 13, 2006
    Messages:
    526
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Brno, Czech Republic
    Starting exim: 2006-11-23 21:56:35 Exim configuration error in line 228 of /etc/exim.conf:
    missing or malformed ACL name
    [FAILED]
    Starting exim-smtps: 2006-11-23 21:56:35 Exim configuration error in line 228 of /etc/exim.conf:
    missing or malformed ACL name
    [FAILED]


    after adding your acl in exim.conf - begin acl area...
     

Share This Page