Re: [exim] Exim ACL - Opt-out of spam check

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Marc Sherman
Fecha:  
A: Dave Lugo
Cc: exim-users
Asunto: Re: [exim] Exim ACL - Opt-out of spam check
Dave Lugo wrote:
>
> $domain can be gotten in the DATA acl using something like this:
>
> ${lc:${extract{2}{@}{$recipients}}}
>
> (the lc may be unneeded)


That's not a great idea, for the same reason that $domain isn't
available in the DATA acl in the first place; $recipients might well
contian multiple addresses, possibly with different domains. Your
solution returns the domain of the _first_ address in the list.

- Marc