Re: [exim] Discard mail to certain recipients if the subject…

Góra strony
Delete this message
Reply to this message
Autor: Mike Brudenell
Data:  
Dla: Exim Users
Temat: Re: [exim] Discard mail to certain recipients if the subject matches a string
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 <cks@???> 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