Re: [exim] RBL + Recipient only whitelist

Top Pagina
Delete this message
Reply to this message
Auteur: Magnus Holmgren
Datum:  
Aan: exim-users
Onderwerp: Re: [exim] RBL + Recipient only whitelist
On tisdagen den 23 september 2008, David Jacobson wrote:
> deny    message       = rejected because $sender_host_address is in a black
> list at $dnslist_domain\n$dnslist_text
>         !senders       = +rbl_whitelist
>         dnslists      = zen.spamhaus.org

>
> I now need to expand this to state that the rbl_whitelist should only take
> place for 5 domains and the rest ignore the rbl_whitelist.


1) Duplicate the entire statement, substituting

!domains = +rbl_whitelist_domains

for the !senders condition.

2) Create a sub-ACL

rbl_whitelist:
   accept domains = +rbl_whitelist_domains
          senders = +rbl_whitelist


Use !acl = rbl_whitelist in the main ACL.

3) Use a string expansion that yields different sender lists depending on the
domain, or a single condition that yields true or false depending on both
sender and target domain.

BTW, don't you get a lot of forged sender addresses?

-- 
Magnus Holmgren        holmgren@???
                       (No Cc of list mail needed, thanks)


"Exim is better at being younger, whereas sendmail is better for
Scrabble (50 point bonus for clearing your rack)" -- Dave Evans