Re: [exim] Whitelist by address, not domain

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Rob Munsch
Data:  
Para: exim users
Asunto: Re: [exim] Whitelist by address, not domain
Giuliano Gavazzi wrote:
> On 13 Dec 2006, at 21:35, Rob Munsch wrote:
>> Poking around, i *think* what i want is
>>
>>    accept
>>      senders = lsearch*@;/etc/exim4/local_whitelist

>>
>> with the address(es) i want to whilist in /etc/exim4/local_whitelist,
>> and that should match fred@??? and not all of foo.com. i think.
>
> depending on the previous acls in your configuration and on your
> policy you might be missing one thing or two:
>
> 1) you must check that the recipient is local
>
> 2) you might want to check that the recipient exists
>
> # list of senders that are unconditionally accepted
> # (and with recipient in the local domains)
> accept  domains         = +local_domains
>          senders         = @@partial-lsearch;/etc/exim4/ 
> whitelist_senders
>          verify          = recipient

>
>
> (thinking of it, the last two line might be better swapped, if
> verifying the local recipient is less expensive than the lookup)
>
> In whitelist_senders you may have addresses as:
>
> domain user1 : user2
>
> for whitelisting those two users in domain, and:
>
> domain    *

>
> to whitelist a whole domain.
>
> Look towards the end of section 10.18 in the specs and you'll find
> how you can enter more elaborate values in that file or do other
> types of searches.


Thanks for the info; i'll look into that.

--
Rob Munsch
Solutions For Progress IT
www.solutionsforprogress.com