[Users] Filter rule combinations
edodd at billiau.net
Mon Mar 25 09:28:12 CET 2019
On Mon, 25 Mar 2019 07:45:55 +0100
wwp <subscript at free.fr> wrote:
> Hello Adrian,
> On Sun, 24 Mar 2019 21:48:58 +0000 Adrian <adrian at aeolian.org.uk>
> > Hi all
> > Can you create a filter rule with a combination of AND OR and
> > parentheses? e.g.
> > mails that come from any board member (From contains A or B or C...)
> > AND
> > are NOT sent to a general mailing list (Subject does not contain
> > "[TheList]")
> > Is this possible?
> Yes and no, but I guess that in your case it's a no, but.
> You cannot have AND and OR in expressions themselves, unless you use
> regular expressions that can match like OR ("(a|b)"). Similarly,
> prioritizing using parenthesis is not possible. You can define
> multiple expressions in a filter rule, logically chained with AND or
> OR, but not mix those AND and OR operators; you can define multiple
> rules, then chaining of all this (logical flow), including
> stop-actions, allows to match in a complex manner anyway.
Mine may not be the best solution
but I present it anyway
Make a different directory for each - "Board" and "Mailing_List"
The first filter sends every mail for [TheList] to "Mailing_List"
The second filter sends mails from A to "Board"
The third filter sends mails from B to "Board"
The fourth filter sends mails from C to "Board"
Personal mails from A B and C you will need to send to some other place
More information about the Users