Ranjan Maitra wrote:
> Conditions are AND'ed by default, so if you want to only
> match messages which have both From and Resent-From headers,
> you can add another condition to your recipe:
>
> :0:
> * ^From.*user(a)outlook.com
> * ^Resent-From:.*user@outlook.com
> $HOME/Mail/sent/.
>
However, all mail that has the Resent-From field still
goes to my sent mail. Typically, From appears later than
Resent-From in my mail. I will try again with the order
switched and report.
Does the order matter?
Interesting. I don't think the order should matter there,
but I could easily be wrong. If the conditions are being
AND'ed, then it shouldn't matter. If they aren't, then it
could -- but it also probably wouldn't be doing quite what
you want then.
Maybe I'm misunderstanding the docs on how conditions are
AND'ed. When I first thought about it, I was expecting to
suggest writing it something like:
:0
* ^From.*user(a)outlook.com
{
:0:
* ^Resent-From:.*user@outlook.com
$HOME/Mail/sent/.
}
But the explicit mention in the docs that the conditions
were AND'ed made me think it should work without that.
--
Todd