[MlMt] $MailFlagBit0

Randall Gellens mailmate at randy.pensive.org
Sun Jul 27 18:19:06 EDT 2025


On 26 Jul 2025, at 20:05, Benny Kjær Nielsen wrote:

> On 14 Jul 2025, at 1:38, Randall Gellens wrote:
>
>> Based on advice from Benny from years ago, some of my older rules use 
>> the following sequence of actions to set a gray flag on messages:
>>
>> [Set Tag/Keyword] [Flagged]
>> [Remove Tag/Keyword] [$MailFlagBit0]
>> [Set Tag/Keyword] [$MailFlagBit1]
>> [Set Tag/Keyword] [$MailFlagBit2]
>>
>> I want to duplicate this in another rule just now, using r6272, and 
>> in the available values in the pop-up for both Set and Remove 
>> Tag/Keyword, I only see $MailFlagBit1 and $MailFlagBit2, not 
>> $MailFlagBit0.
>>
>> I chose an available value, quit MailMate, edited 
>> Library/Application\ Support/MailMate/Mailboxes.plist to change the 
>> value to $MailBit0, and it works as expected.
>
> This would also be the expected behavior. This workaround is fine.
>
>> Is $MailFlagBit0 identical to $Flagged and not needed now?
>
> No, it was missing in your popup because MailMate did not find this 
> keyword on any existing messages. MailMate only lists what it can find 
> and then you ran into the problem that you had no way to set a 
> seemingly non-existing IMAP keyword. But you found a workaround and 
> after using it then the missing keyword should appear in the popup.

I use the gray color for suspected spam, and such messages are usually 
either deleted or have the flag unset, so MM likely won't find messages 
with this flag set.

> Another workaround would be to force MailMate to acknowledge the 
> existence of these bits by explicitly assigning them tag names in the 
> Tags settings pane -- but this would likely be annoying in other parts 
> of the interface (although it would allow using it once to force the 
> IMAP keyword into existence).

To get the gray color I need to set bits 1 and 2 and be sure bit 0 is 
unset. Is there a way to assign a name to this combination?


--Randall
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freron.com/pipermail/mailmate/attachments/20250727/398d8c13/attachment-0001.htm>


More information about the mailmate mailing list