[MlMt] Search parameter request: All Message With Tags

Benny Kjær Nielsen mailinglist at freron.com
Mon Sep 9 07:03:21 EDT 2013


On 8 Sep 2013, at 21:15, Ralph Alvy wrote:

> I don't see a way to create a Smart Mailbox that sees all and only 
> messages with Tags. Is there a way to do this?

Yes, but I'm not 100% sure it always works as expected (when changing 
tags or tags preferences): There is a virtual header named `##tags` 
which should contain the subset of items in IMAP flags/keywords which 
have been mapped to tags in the preferences. You can find it by using 
the “Other...” menu item when selecting the header in the search 
condition. In that view it is displayed as `#Tags*` (how these headers 
are presented is something that should be improved).

Using that you should be able to make a simple search like this:

	#Tags exists

In case somebody wonders about the use of hash symbols then the header 
naming scheme is as follows:

| Number of #s           | Examples | Meaning |
| :---------------------:|----------|---------|
| 0                      | from, to, subject  | A real header from the 
email    |
| 1                      | #flags, #unquoted | A virtual header stored 
on disk |
| 2                      | ##tags   | A virtual header computed when 
needed |

Of course, most users do not need to know this :-)

-- 
Benny
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freron.com/pipermail/mailmate/attachments/20130909/374b919f/attachment.html>


More information about the mailmate mailing list