Results 1 to 9 of 9

Thread: Exim SMTP+AUTH & RBL

  1. #1
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Feb 2004
    Location
    Ann Arbor, MI
    Posts
    22
    cPanel/WHM Access Level

    DataCenter Provider

    Default Exim SMTP+AUTH & RBL

    We would like to be able to allow users to send mail who authenticate via SMTP+AUTH even if their IP is on a DNSBL... has anyone successfully done this? Currently if they're on the RBL it won't let them get to that point even. I tried to search but couldn't find much information regarding this. Thanks!

  2. #2
    Member
    Join Date
    Dec 2004
    Posts
    388

    Default

    Quote Originally Posted by bmuthig
    We would like to be able to allow users to send mail who authenticate via SMTP+AUTH even if their IP is on a DNSBL... has anyone successfully done this? Currently if they're on the RBL it won't let them get to that point even. I tried to search but couldn't find much information regarding this. Thanks!
    not sure which guide you used for your RBL implementation but if you have these 3 files for RBL.

    /usr/local/cpanel/base/eximacl/rv_rbl_receiver_domain_whitelist
    /usr/local/cpanel/base/eximacl/rv_rbl_server_ip_whitelist
    /usr/local/cpanel/base/eximacl/rv_rbl_sender_address_whitelist

    All 3 seems quite straight forward. In your case, you need to add the users to the last file.

  3. #3
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Feb 2004
    Location
    Ann Arbor, MI
    Posts
    22
    cPanel/WHM Access Level

    DataCenter Provider

    Default That's a start

    That would at least allow us to do something after a user complains but I'd still like an automated solution for this situation if possible... people getting dirty DHCP IP addresses and then getting pissed at us when they can't send mail!

  4. #4
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,496

    Default

    You need to post how you've implemented RBL blocking in the ACL section of exim.conf so that we can advise on what changes you need to make.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  5. #5
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Feb 2004
    Location
    Ann Arbor, MI
    Posts
    22
    cPanel/WHM Access Level

    DataCenter Provider

    Default ACLs...

    #!!#######################################################!!#
    #!!# This new section of the configuration contains ACLs #!!#
    #!!# (Access Control Lists) derived from the Exim 3 #!!#
    #!!# policy control options. #!!#
    #!!#######################################################!!#

    #!!# These ACLs are crudely constructed from Exim 3 options.
    #!!# They are almost certainly not optimal. You should study
    #!!# them and rewrite as necessary.

    begin acl



    #!!# 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 = :

    # RBL lists

    drop dnslists = relays.ordb.org :\
    sbl-xbl.spamhaus.org :\
    list.dsbl.org :\
    bl.spamcop.net :\
    porn.rhs.mailpolice.com

    message = your mail server $sender_host_address is in a black list \
    at $dnslist_domain ($dnslist_text)


    Let me know if you need more?

  6. #6
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,496

    Default

    If you modify the drop section to read like this it should ignore users that have authenticated:

    Code:
     drop dnslists = relays.ordb.org :\
        sbl-xbl.spamhaus.org :\
        list.dsbl.org :\
        bl.spamcop.net :\
        porn.rhs.mailpolice.com
        !hosts = +relay_hosts
        !authenticated = *
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  7. #7
    Member
    Join Date
    Jan 2004
    Location
    Manhattan
    Posts
    37

    Default

    Adding those two lines ended up causing some problems. We're not sure exactly what conditions caused outgoing emails to fail, but I do not recommend anyone use those options as printed.

    Basically we had a couple customers complain of emails no longer being sent from their PHP apps (which had previously been working for an extended period of time with no problems). In one case, emails were delivered to local mail boxes with no problem, but were lost into the void for non-local deliveries. No errors in /var/log/exim_mainlog either ... sort of a mystery to me at the moment.
    High Fidelity Hosting, Inc

  8. #8
    Member
    Join Date
    Aug 2005
    Posts
    20

    Default

    On the very top of exim.conf (edit using WHM), is there any lines below:

    domainlist rbl_blacklist = lsearch;/etc/rblblacklist
    domainlist rbl_bypass = lsearch;/etc/rblbypass
    hostlist rbl_whitelist = lsearch;/etc/relayhosts : partial-lsearch;/etc/rblwhitelist
    If it's there, you may add your domain.com on /etc/rblbypass, it works for my server to exclude domain who don't want to use RBLs.

    Thanks.

  9. #9
    Member
    Join Date
    Jan 2004
    Posts
    21

    Default

    I'm looking too a way to bypass DNSBL list from senders of my server (authentifycateds).

    Some of my 100% legal users get theirs IP black-listed cause that lists usually blocks the entire /24 range, and they have a fixed ip.

Similar Threads

  1. Exim / SA / smtp auth issues
    By dclaw in forum E-mail Discussions
    Replies: 2
    Last Post: 07-24-2008, 05:37 PM
  2. CPanel & SMTP Auth
    By VISL in forum E-mail Discussions
    Replies: 1
    Last Post: 07-17-2007, 10:00 PM
  3. Exim experts: blocking non auth smtp
    By clook in forum cPanel & WHM Discussions
    Replies: 10
    Last Post: 03-31-2007, 08:27 PM
  4. Exim SMTP AUTH
    By bradlinux in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 05-22-2006, 05:02 PM
  5. Exim & SMTP Auth (disallow some users?)
    By networkalive in forum cPanel & WHM Discussions
    Replies: 4
    Last Post: 12-26-2003, 07:09 PM