On 2021-09-08, MRob via Exim-users <exim-users@exim.org> wrote: > On 2021-09-08 05:03, Jasen Betts via Exim-users wrote: >> On 2021-09-07, MRob via Exim-users <exim-users@exim.org> 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.
make two deny rules. deny sender_domains = +thing message = I don't like that domain deny hosts = +thing message = I don't like that host -- Jasen. -- ## 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/