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.

HOW: Uncomment a line in Exim config.

Discussion in 'General Discussion' started by SuperBaby, Oct 28, 2005.

  1. SuperBaby

    SuperBaby Well-Known Member

    Joined:
    Nov 27, 2003
    Messages:
    331
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Thailand
    cPanel Access Level:
    Website Owner
    Twitter:
    I am trying to uncomment one of these two lines. I looked into the Exim Configuration Editor but not sure what to do.

    # rbl_domains = rbl.maps.vix.com
    # rbl_domains = rbl.maps.vix.com

    I tried to edit it manually via SSH but found out that these lines exist in many files. I tried to edit exim.conf but after I clicked the Save button in Exim Configuration Editor, the old thing is re-written. Which is the one I should edit?

     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    You should only make changes using the exim configuration editor. If you want to use RBL's then you can put them in the ACL section using that editor in the usual format (search the forums and/or the web).
     
  3. yayyo

    yayyo Well-Known Member

    Joined:
    Jul 10, 2004
    Messages:
    61
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    London, UK
    cPanel Access Level:
    Root Administrator
    I believe that rbl.maps.vix.com closed down or went to a subscription only service, no?
    I have been using the spamhaus rbl for several weeks and it has dramatically reduced the amount of spam we receive.

    At your own risk:-
    Go to WHM >> Service Configuration >> Exim Configuration Editor >> Switch to Advanced Mode
    Scroll down to the three text input boxes just below "begin acl"
    In the *middle* box find the line " accept hosts = :" and just after that line insert the following
    Code:
    #**# RBL List Begin
    #**#
    #
    # Always accept mail to postmaster & abuse
    #
    accept domains = +local_domains
    local_parts = postmaster:abuse
    #
    # Check sending hosts against DNS black lists.
    # Reject message if address listed in blacklist.
    deny message =  ${sender_host_address} is listed at ${dnslist_domain}; See ${dnslist_text}
        !hosts = +relay_hosts
        !authenticated = *
        dnslists = zen.spamhaus.org : bl.spamcop.net
    #**#
    #**# RBL List End
    It works for us, YMMV
    Marty
     
    #3 yayyo, Oct 28, 2005
    Last edited: Feb 6, 2007
  4. SuperBaby

    SuperBaby Well-Known Member

    Joined:
    Nov 27, 2003
    Messages:
    331
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Thailand
    cPanel Access Level:
    Website Owner
    Twitter:
    yayyo,

    I followed your instruction and all went fine. Thanks!

    I sent an email to the test robot at nelson-sbl-test@crynwr.com and I got ONE reply (see below) from the robot. Does that mean it is working?

     
  5. yayyo

    yayyo Well-Known Member

    Joined:
    Jul 10, 2004
    Messages:
    61
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    London, UK
    cPanel Access Level:
    Root Administrator
    New zen.spamhaus.org anti spam RBL zone

    I just updated my post above with some extra lines from Chirpy. Also, there is a new zen.spamhaus.org anti spam RBL zone which replaces sbl-xbl.spamhaus.org

    The new combined zone includes SBL (spam block list) , XBL (eXploits block list) and the new PBL (Policy block list).

    The Spamhaus PBL is a DNSBL database of end-user IP address ranges which should not be delivering unauthenticated SMTP email to any Internet mail server except those provided for specifically by an ISP for that customer's use.

    At our server it has further reduced the amount of spam we receive... YMMV

    More info:-

    http://www.spamhaus.org/zen/
    http://www.spamhaus.org/pbl/index.lasso

    I hope that helps,
    Marty
     
Loading...

Share This Page