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.*u...@outlook.com
>>     * ^Resent-From:.*u...@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.*u...@outlook.com
    {
        :0:
        * ^Resent-From:.*u...@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

Attachment: signature.asc
Description: PGP signature

_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org

Reply via email to