<div class="markdown">
<p dir="auto">Dear list</p>

<p dir="auto">I'm throwing myself on your mercy trying to sort out a smart mailbox. My colleagues have recently all taken to including a graphic, usually (but not always) called image001.png. It's beyond them to have it inline (as I do:)).</p>

<p dir="auto">However these colleagues also send me a lot of attachments that I need to be able to find fairly quickly. I've been trying to create a smart mailbox that </p>

<ul>
<li>contains messages from a particular set of individuals (that bit I can do!),</li>
<li>contain attachments that are NOT image001.png (or image002.png)</li>
</ul>

<p dir="auto">Sometimes these messages have the image AND a Word file (for instance, or pdf), sometimes they only have the Word file (etc).</p>

<p dir="auto">I thought this would be fairly straightforward but seem not to be able to get the logic right. This is partly because X-attachment-type doesn't work as I expected (I thought I could write 'docx' in there but that returns nothing).</p>

<p dir="auto">The smart mailboxes I've tried usually build like this:</p>

<p dir="auto">Meet all conditions</p>

<ol>
<li value=1>Identify the people</li>
<li value=2>Check there are attachments at all ('Attachment-Count' 'exists')</li>
</ol>

<p dir="auto">AT this point I have tried to think how to check what you could write as</p>

<p dir="auto">If attachment count is 1<br>
and attachment name is image001.png<br>
then exclude from smart mailbox</p>

<p dir="auto">But I can't translate that successfully into smart mailbox rules. Sometimes there are multiple word docs, for instance and there may be a signature graphic - or not.</p>

<p dir="auto">I'm currently trying it by having multiple smart mailboxes which is the only way I see to exclude things but that is also not turning out as I hoped...;)</p>

</div>