On Mon, 23 Dec 2019 14:50:36 -0500 Todd Zullinger <tmz@xxxxxxxxx> wrote: > 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@xxxxxxxxxxx > >> * ^Resent-From:.*user@xxxxxxxxxxx > >> $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@xxxxxxxxxxx > { > :0: > * ^Resent-From:.*user@xxxxxxxxxxx > $HOME/Mail/sent/. > } > > But the explicit mention in the docs that the conditions > were AND'ed made me think it should work without that. Thanks! I will try this. However, I have also realized that internal e-mails sent through Outlook do not have this Resent-From field in the mail header. Is it possible to have .procmailrc not find the Resent-From field and then proceed? Thank you again very much!! Best wishes, Ranjan > > -- > Todd -- Important Notice: This mailbox is ignored: e-mails are set to be deleted on receipt. Please respond to the mailing list if appropriate. For those needing to send personal or professional e-mail, please use appropriate addresses. _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx 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@xxxxxxxxxxxxxxxxxxxxxxx