jss said:
I would like to move mail to a certain folder that is either to a certain
person or from that person. There seems to be no choice of how to string
together multiple criteia; all you get is AND.
Is there a way around this short of the tedious and stooopid making a rule
for TO and another for FROM?
TIA
Rules are OR'ed together in the order they are listed in the rules list.
AND'ing is done within a rule.
What you propose can't be done within a single rule, anyway. "to a
certain person" means you are sending an e-mails and "from that person"
means you are receiving an e-mail. A rule cannot test on both received
and sent e-mails. You will need one RECEIVING rule and another SENDING
rule.
Or are you just testing on received e-mails where someone is listed in
the To or From headers? For that, you'll need 2 receiving rules: one to
check if that someone is in the To header and another to check if that
someone is in the From header (i.e., the sender). In this case, you
should use the stop-clause in both rules since whichever triggers first
is all you care about. Leaving out the stop-clause can incur unwanted
side effects since subsequent rules are also exercised against the same
message.
rule1: from <someone>
<action>
stop processing more rules
rule2: sent to <someone>
<action>
stop processing more rules
If someone is in From, rule 1 fires (and no further rules are
exercised). If someone is in To, rule 1 is skipped and rule 2 fires (and
no further rules are exercised). If someone is in both From and To,
rule 1 fires (and no further rules are exercised). If someone is not in
either From or To, both rules 1 and 2 are skipped and further rules are
exercised.
In an OR, only 1 condition needs to be true. If the first condition is
true, you don't need to waste time testing the other conditions.