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

Pàgina inicial
Delete this message
Reply to this message
Autor: Marc Sherman
Data:  
A: Dave Lugo
CC: exim-users
Assumpte: 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