I'm trying to set up a smart mailbox to identify emails that
have been resent by MS Exchange but I also have the original
email.
When MS-Exchange resends, it adds the header
x-ms-exchange-parent-message-id. So, in the resent
message we have:
x-ms-exchange-parent-message-id:
<CAHcY=e8ybsYm_Z8ShnBKUTsG0pSWGLRznE1vquYbiJAmOAVg4Q@mail.gmail.com>
In the original email we have
Message-ID: <CAHcY=e8ybsYm_Z8ShnBKUTsG0pSWGLRznE1vquYbiJAmOAVg4Q@mail.gmail.com>
However, the condition 'X-Ms-Exchange-Parent-Message-Id'
is in 'All Messages' 'Message-Id' does not match any
emails.
Note that I have checked that the condition
'X-Ms-Exchange-Parent-Message-Id' is
'<CAHcY=e8ybsYm_Z8ShnBKUTsG0pSWGLRznE1vquYbiJAmOAVg4Q@mail.gmail.com>'
works correctly, i.e., it matches the resent message.
However, the condition 'Message-Id' is
'<CAHcY=e8ybsYm_Z8ShnBKUTsG0pSWGLRznE1vquYbiJAmOAVg4Q@mail.gmail.com>'
does not match any messages.
The condition 'Message-Id' is
'CAHcY=e8ybsYm_Z8ShnBKUTsG0pSWGLRznE1vquYbiJAmOAVg4Q@mail.gmail.com'
does match the one message that it should.
So it seems that something in the header processing is stripping
off the enclosing < and >
inconsistently, meaning that I can't write the conditions that I
need.