Kevin,
I tried your suggestion but it does not work. I wonder if it even could work
the way you suggested it because local_domains has domain names in it and
the rbl lists do ip address lookups so both are not really compatible.
Perhaps the solution is to not run authenticated senders through the rbl
lists?
> -----Original Message-----
> From: exim-users-admin@???
> [mailto:exim-users-admin@exim.org] On Behalf Of Kevin Reed
> Sent: Saturday, December 06, 2003 5:52 PM
> To: exim-users@???
> Subject: Re: [Exim] Rbl checking only for incoming messages
>
> Somuchfun said:
> > Hello everyone,
> > 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?
> >
> > This is what I have right now as part of my ACLs:
>
> This ACL needs to change...
>
> > deny message = $sender_host_address is listed \
> > at $dnslist_domain
> > dnslists = list.dsbl.org : \
> > sbl.spamhaus.org : \
> > bl.spamcop.net : \
> > relays.ordb.org : \
> > korea.services.net : \
> > china.blackholes.us : \
> > russia.blackholes.us
>
> Assuming you have a domain list of your local domains you can
> use hosts
> with a negated local_domains list to accomplish this...
>
> deny message = $sender_host_address is listed at $dnslist_domain
> hosts = !+local_domains
> dnslists = list.dsbl.org : \
> sbl.spamhaus.org : \
> bl.spamcop.net : \
> relays.ordb.org : \
> korea.services.net : \
> china.blackholes.us : \
> russia.blackholes.us
>
> --
> Kevin W. Reed - TNET Services, Inc.
> Unoffical Exim MTA Info Forums - http://exim.got-there.com/forums
>
>
>
>
> --
>
> ## List details at
> http://www.exim.org/mailman/listinfo/exim-users Exim details
> at http://www.exim.org/ ##
>
>