Chris' solution seems neater and simpler; I always forget about using
setting variables like that. (Starts musing on how to rewrite a somewhat
convoluted test in my own Exim config!)

On 5 April 2017 at 16:06, Chris Siebenmann <[email protected]> wrote:

> Something like:
>
>         warn
>                 local_parts = <recipient 1> : <recipient 2>
>                 set acl_m0_nocommit = 1
>

However I'd guess you want to stick with using *recipients* instead of
*local_parts* though to check the full email address rather than just the
local part (to the left of the "@"). Otherwise it would trigger on an
address elsewhere in the world that happened to use the same local part as
one of the recipients you're checking for.

Cheers,
Mike B-)

-- 
Systems Administrator & Change Manager
IT Services, University of York, Heslington, York YO10 5DD, UK
Tel: +44-(0)1904-323811

Web: www.york.ac.uk/it-services
Disclaimer: www.york.ac.uk/docs/disclaimer/email.htm
-- 
## 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/

Reply via email to