Re: [exim] Combine hosts/sender_domains in condition?

Top Page
Delete this message
Reply to this message
Author: Jasen Betts
Date:  
To: exim-users
Subject: Re: [exim] Combine hosts/sender_domains in condition?
On 2021-09-07, MRob via Exim-users <exim-users@???> wrote:
> Hellos, I was trying to write a clause that needs to combine
> 'sender_domains' and 'hosts' in *OR* condition so I can't put on two
> separate lines.
>
> Is only way for this to repeat the full clause, once with sender_domains
> and one with hosts?



if it was an accept or deny rule you could just have another
rule for the other condition

So it must be a require rule

change it to a deny rule and invert both conditions.
De Morgan's theorem.

--
Jasen.