Re: [exim] lists & string expansions

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Merlin Hartley
Data:  
Para: Oleg
CC: exim-users
Assunto: Re: [exim] lists & string expansions
You can replace that condition with this:

          domains       = +local_domains




--
Merlin Hartley
IT Systems Engineer
MRC Mitochondrial Biology Unit
Wellcome Trust/MRC Building
Hills Road
Cambridge
CB2 0XY
UK

On 2 Jul 2014, at 14:15, Oleg <lego12239@???> wrote:

> Hello.
>
> I use the next acl for MAIL FROM:
>
>  deny  message = You must authenticate youself before using this domain
>        condition = ${if inlist{$sender_address_domain}{LOCALDOMAIN}}
>        ! authenticated = *

>
> I use macros LOCALDOMAIN because a domains list isn't expanded. E.g.:
>
>  deny  message = You must authenticate youself before using this domain
>        condition = ${if inlist{$sender_address_domain}{+local_domains}}
>        ! authenticated = *

>
> doesn't work.
>
> Do anybody know how use lists in string expansions?
>
> --
> ## List details at https://lists.exim.org/mailman/listinfo/exim-users
> ## Exim details at http://www.exim.org/
> ## Please use the Wiki with this list - http://wiki.exim.org/