Hi Somuchfun, on Sat, 6 Dec 2003 17:40:59 -0800 you wrote:
> I am using rbl checking on Exim 4 right now but it seems to check
> incoming and outgoing message which is annoying if you check for
> dynablocks. Is there a way to restrict the rbl checking only for
> incoming smtp traffic?
Firstly, be cautious about your use of terms: "incoming" and "outgoing"
don't have the meanings I think you're inferring here: they're all
"incoming" as far as Exim is concerned. I know what you mean here, but it
can sometimes get confusing! What I think you mean is something "messages
that are coming from a host I'm allowing relaying from".
The answer depends on how you are allowing relaying (e.g. based on a set
of fixed IPs? Or based on authentication?) but generally speaking the
answer is to change your ACL rule about DNSBLs to something like:
deny message = $dnslist_text
hosts = !+relay_from_hosts
!authenticated = *
dnslists = whatever
which means that this rule will be skipped for hosts in the
"relay_from_hosts" list and authenticated sessions.
Tim