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's not working

Discussion in 'General Discussion' started by Kris-DigitX, Sep 15, 2004.

  1. Kris-DigitX

    Kris-DigitX Registered

    Joined:
    Sep 15, 2004
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    HI,

    I added RBL's in /etc/exim.conf

    rbl_domains = sbl-xbl.spamhaus.org/reject : \
    relays.ordb.org/reject : \
    list.dsbl.org/reject : \
    dnsbl.sorbs.net/reject : \
    ipwhois.rfc-ignorant.org/reject

    But when ever I restart I get this error.

    Starting exim: 2004-09-15 12:59:30 Exim configuration error in line 186 of /etc/exim.conf:
    main option "rbl_domains" unknown
    [FAILED]
    Starting exim-smtps: 2004-09-15 12:59:30 Exim configuration error in line 186 of /etc/exim.conf:
    main option "rbl_domains" unknown
    [FAILED]

    regards,
    Krishna
     
  2. bking

    bking Well-Known Member

    Joined:
    Mar 1, 2004
    Messages:
    206
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Sydney
    try

    deny message = Access denied - $sender_host_address is listed \
    at $dnslist_domain
    dnslists = sbl-xbl.spamhaus.org : \
    relays.ordb.org : \
    list.dsbl.org : \
    dnsbl.sorbs.net : \
    ipwhois.rfc-ignorant.org

    I put this just below the
    check_recipient:
    accept hosts = :

    section...
     
  3. drmike

    drmike Active Member

    Joined:
    Jul 8, 2004
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Charlotte, NC
    I see the original poster's issue as I had it as well. Within these forums, both methods are listed as being correct.

    -drmike
     
  4. bking

    bking Well-Known Member

    Joined:
    Mar 1, 2004
    Messages:
    206
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Sydney
    I *think* it depends on the version of exim?
     
  5. Elikster

    Elikster Well-Known Member

    Joined:
    Feb 8, 2003
    Messages:
    119
    Likes Received:
    1
    Trophy Points:
    18
    Correct Setting

    BTW...place it under the ACL List section like this:

    #!!# ACL that is used after the RCPT command
    check_recipient:
    # Exim 3 had no checking on -bs messages, so for compatibility
    # we accept if the source is local SMTP (i.e. not over TCP/IP).
    # We do this by testing for an empty sending host field.
    accept hosts = :

    <--------------Add here ------------->

    #**#
    #**# RBL List Begin
    #**#
    accept domains = +local_domains
    local_parts = postmaster:abuse
    #
    # Check sending hosts against DNS black lists.
    # Accept all locally generated messages
    # Reject message if address listed in blacklist.
    deny message = Message rejected because $sender_fullhost \
    is blacklisted at $dnslist_domain see $dnslist_text
    !hosts = +relay_hosts
    !authenticated = *
    dnslists = dnsbl.njabl.org : \
    bl.spamcop.net : \
    sbl.spamhaus.org : \
    list.dsbl.org : \
    cbl.abuseat.org : \
    relays.ordb.org

    #**#
    #**# RBL List End
    #**#
     
    #5 Elikster, Sep 15, 2004
    Last edited: Sep 15, 2004
  6. drmike

    drmike Active Member

    Joined:
    Jul 8, 2004
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Charlotte, NC
    I *think* it does as well but none of the posts I've seen here or elsewhere list which go with which. Then you get the ones that 127 IPs in there as well...

    -drmike
     
  7. Elikster

    Elikster Well-Known Member

    Joined:
    Feb 8, 2003
    Messages:
    119
    Likes Received:
    1
    Trophy Points:
    18
    Exim Version

    It works with 4.x series with no problem. That what mine is for.
     
Loading...

Share This Page