[Exim] Re: reject/accept order

Top Page
Delete this message
Reply to this message
Author: Randy Bush
Date:  
To: exim users
Subject: [Exim] Re: reject/accept order
>> i have the pop-before-smtp hack in. i also have duls checking. it seems
>> that duls reject, i.e. rbl_domains, is checked before host_accept_relay.
>> is there some other way i should be doing this?
> a look at the source clarifies things a bit. the rbl check is after the
> host_accept_relay check. problem is the rbl check is done despite the
> connection being from a host in the host_accept_relay list. i am trying
> a small grotty hack which i have also sent to philip.


instead, i should have read a bit more deeply. Pete Naylor <pete@???>
pointed out that

    host_accept_relay = "127.0.0.1/32 : 147.28.0.0/16 : \
            /usr/local/etc/exim/popauth"
    rbl_hosts = "!/usr/local/etc/exim/popauth:*"
    rbl_domains = rbl.maps.vix.com:dul.maps.vix.com:relays.mail-abuse.org


does the right thing. the trick is the second command.

randy