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

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Marc Sherman
Date:  
À: Dave Lugo
CC: exim-users
Sujet: 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