Re: [exim] Recipient whitelisting from dnslist check

Top Page
Delete this message
Reply to this message
Author: Alvaro Uría
Date:  
To: Dave Pooser
CC: exim-users
Subject: Re: [exim] Recipient whitelisting from dnslist check
Hi,

Thank you for all your help :-)

Dave Pooser [20/05/09 09:23 -0500] escribió:
> > I've seen how to whitelist a domain (domainlist) or a host (hostlist)
> > from RBL checking but I don't know if it can be done for a few
> > recipients (ie. localpart@???), and how would be done (note it
> > wouldn't be a general whitelist, only for bypassing RBL checks).
>
> Here's a sample (mind the linewrap):
>
>   deny    message       = Message rejected because $sender_host_address is
> listed at $dnslist_domain\n$dnslist_text
>           !hosts    = +whitelisted
>           !localparts = localpart : postmaster : motherinlaw
>           dnslists      = zen.spamhaus.org : sip.invaluement.com

>
> As a practical matter, you'd probably define a file with the local parts in
> question instead of listing 'em all in the .conf file.


The problem with that is if you handle more than one domain. I wouldn't
like to whitelist (I mean, bypass RBL checks) "localpart@???"
and "localpart@???" (just one of them).

Best regards,
Alvaro.