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

Top Page
Delete this message
Reply to this message
Author: Marc Sherman
Date:  
To: Dave Lugo
CC: exim-users
Subject: 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