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

Page principale
Supprimer ce message
Répondre à ce message
Auteur: MRob
Date:  
À: exim-users
Sujet: Re: [exim] Combine hosts/sender_domains in condition?
On 2021-09-08 05:03, Jasen Betts via Exim-users wrote:
> 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.


It's a deny rule, but I can't change it to accept because if it doesn't
match I want it to continue to the next clause.