<div class="markdown">
<p dir="auto">On 11 Jan 2015, at 5:10, Matthew Cawood wrote:</p>
<blockquote>
<p dir="auto">In Apple Mail, I found it useful to flag anything that came via a mailing list with a yellow flag.</p>
<p dir="auto">In MailMate, pulling out emails from mailing lists is infinitely easier than in Apple Mail, but I can't figure out how to apply a yellow flag to everything that lands in the smart folder. Using a rule to apply one of the <$MailFlagBit> options doesn't seem to work.</p>
<p dir="auto">Yellow flags exist - they came across from Apple Mail, and I see from an earlier thread that they can be applied with the keyboard - but how do I get MailMate to apply them automatically?</p>
</blockquote>
<p dir="auto">The problem is that these are implemented (by Apple) using 3 IMAP keywords as bits (providing 8 different states although only 7 are used I believe). It's a clever solution, but it makes it a bit complicated to do in MailMate since the GUI only allows you to set 1 IMAP keyword with 1 rule action.</p>
<p dir="auto">Here are the default key bindings which also shows you how the various flags are generated:</p>
<pre><code>"F" = {
"0" = ( "removeTag:", "\\Flagged", "removeTag:", "$MailFlagBit0", "removeTag:", "$MailFlagBit1", "removeTag:", "$MailFlagBit2" );
"1" = ( "setTag:", "\\Flagged", "removeTag:", "$MailFlagBit0", "removeTag:", "$MailFlagBit1", "removeTag:", "$MailFlagBit2" );
"2" = ( "setTag:", "\\Flagged", "setTag:", "$MailFlagBit0", "removeTag:", "$MailFlagBit1", "removeTag:", "$MailFlagBit2" );
"3" = ( "setTag:", "\\Flagged", "removeTag:", "$MailFlagBit0", "setTag:", "$MailFlagBit1", "removeTag:", "$MailFlagBit2" );
"4" = ( "setTag:", "\\Flagged", "setTag:", "$MailFlagBit0", "setTag:", "$MailFlagBit1", "removeTag:", "$MailFlagBit2" );
"5" = ( "setTag:", "\\Flagged", "removeTag:", "$MailFlagBit0", "removeTag:", "$MailFlagBit1", "setTag:", "$MailFlagBit2" );
"6" = ( "setTag:", "\\Flagged", "setTag:", "$MailFlagBit0", "removeTag:", "$MailFlagBit1", "setTag:", "$MailFlagBit2" );
"7" = ( "setTag:", "\\Flagged", "removeTag:", "$MailFlagBit0", "setTag:", "$MailFlagBit1", "setTag:", "$MailFlagBit2" );
};
</code></pre>
<p dir="auto">Colors are (2-7) red, orange, yellow, green, blue, purple, gray. In otherwords, number 4 above is what you need to do to generate a yellow flag.</p>
<blockquote>
<p dir="auto">(One weakness of MailMate is the lack of options for visually marking emails. Beyond the standard red flag, there isn't much that's ready to hand.)</p>
</blockquote>
<p dir="auto">Agreed.</p>
<p dir="auto">-- <br>
Benny</p>
</div>