> -----Original Message-----
> From: exim-users-bounces@???
> [mailto:exim-users-bounces@exim.org] On Behalf Of Sub Zero
> Sent: 06 July 2005 02:59
> To: exim-users@???
> Subject: RE: [exim] mail-from exception to rbl
>
> PS: Updated as:
>
> deny message = rejected because the sending host \
> $sender_host_address is in a
> black list at \
> $dnslist_domain\n$dnslist_text
> dnslists = rbl.liquidweb.com : list.dsbl.org : \
> dnsbl.ahbl.org : dnsbl.njabl.org : \
> sbl-xbl.spamhaus.org :
> relays.ordb.org : \
> dnsbl.sorbs.net : cbl.abuseat.org :
> bl.spamcop.net
> !sender_domains = lsearch;/etc/localdomains
> !senders = @@lsearch;/etc/localsenders
> !hosts = +relay_hosts
> !authenticated = *
>
> What will this do? Imo, this denies if in dnslists unless it
> is either in sender_domains ot senders or hosts directives; right?
Yes, that's what it will do. However you should move the !sender_domains etc
up to the top of the stanza, otherwise you'll be checking the RBLs
needlessly if the sender is whitelisted.
- Mark