Re: [MlMt] Submailbox naming
Is it possible to delete a single sub-smart-mailbox? On 3 Jul 2016, at 10:17, John D. Muccigrosso wrote: I’m trying to name sub mailboxes to a smart mailbox by the account name. The default os source.path results in several with the same name “INBOX”, which of course isn’t very helpful. What’s the magic word to use here (if there is one)? TIA. John ___ mailmate mailing list mailmate@lists.freron.com https://lists.freron.com/listinfo/mailmate ___ mailmate mailing list mailmate@lists.freron.com https://lists.freron.com/listinfo/mailmate
Re: [MlMt] Submailbox naming
On 3 Jul 2016, at 19:17, John D. Muccigrosso wrote: I’m trying to name sub mailboxes to a smart mailbox by the account name. The default os source.path results in several with the same name “INBOX”, which of course isn’t very helpful. What’s the magic word to use here (if there is one)? Source > Path > Noinbox -- Gruß Mike ___ mailmate mailing list mailmate@lists.freron.com https://lists.freron.com/listinfo/mailmate
Re: [MlMt] Submailbox naming
On 3 Jul 2016, at 20:31, Howard Wettstein wrote: Is it possible to delete a single sub-smart-mailbox? If the subfolder corresponds to a source (smart) mailbox, you could exclude the source folder in the mailboxes tab. Or maybe you can define a condition which will do it. -- Gruß Mike ___ mailmate mailing list mailmate@lists.freron.com https://lists.freron.com/listinfo/mailmate
Re: [MlMt] Submailbox naming
That's the default I was talking about. I'm trying to get the account name, not the mailbox title. So "gmail" instead of INBOX, for example. John Muccigrosso On Jul 3, 2016, at 16:51, Mike Brasch wrote: On 3 Jul 2016, at 19:17, John D. Muccigrosso wrote: I’m trying to name sub mailboxes to a smart mailbox by the account name. The default os source.path results in several with the same name “INBOX”, which of course isn’t very helpful. What’s the magic word to use here (if there is one)? Source > Path > Noinbox ___ mailmate mailing list mailmate@lists.freron.com https://lists.freron.com/listinfo/mailmate
Re: [MlMt] Submailbox naming
On 4 Jul 2016, at 10:14, John D. Muccigrosso wrote: That's the default I was talking about. I'm trying to get the account name, not the mailbox title. So "gmail" instead of INBOX, for example. John Muccigrosso On Jul 3, 2016, at 16:51, Mike Brasch wrote: On 3 Jul 2016, at 19:17, John D. Muccigrosso wrote: I’m trying to name sub mailboxes to a smart mailbox by the account name. The default os source.path results in several with the same name “INBOX”, which of course isn’t very helpful. What’s the magic word to use here (if there is one)? Source > Path > Noinbox Playing around a bit with this and I tried using the options from the “for each unique value of” drop-down menu. Still not getting me the “Description” for each account, but at least I can tell which is which. Here’s what I’m currently using: ${#source.server.user/%40/@/} which pulls the user name and returns the @ to its original form instead of the encoded %40 that gets reported originally. I’ve also got that dropdown set to “Source > Server” which for me results in one sub-mailbox for each account I have. Another one I was playing with pulls the server address parts: ${#source.server.domain.second-level}.${#source.server.domain.top-level} to yield something like “gmail.com”, but since I have two gmail accounts, that wasn’t specific enough. Again, I’d prefer to show the same Description that gets pulled from my Internet Accounts System pref pane. John ___ mailmate mailing list mailmate@lists.freron.com https://lists.freron.com/listinfo/mailmate
Re: [MlMt] Submailbox naming
On 3 Jul 2016, at 19:17, John D. Muccigrosso wrote: I’m trying to name sub mailboxes to a smart mailbox by the account name. The default os source.path results in several with the same name “INBOX”, which of course isn’t very helpful. What’s the magic word to use here (if there is one)? It's non-trivial (and a bit hardcoded), but the Unread mailbox shows how it can be done: ${#source.path.noinbox} — ${#source.#name} The first part is the mailbox name, but without INBOX when it's the kind of IMAP account in which all mailboxes are children of the INBOX. The latter is the name of the account as seen in the IMAP account editor. -- Benny ___ mailmate mailing list mailmate@lists.freron.com https://lists.freron.com/listinfo/mailmate
Re: [MlMt] Submailbox naming
On 5 Jul 2016, at 9:04, Benny Kjær Nielsen wrote: On 3 Jul 2016, at 19:17, John D. Muccigrosso wrote: I’m trying to name sub mailboxes to a smart mailbox by the account name. The default os source.path results in several with the same name “INBOX”, which of course isn’t very helpful. What’s the magic word to use here (if there is one)? It's non-trivial (and a bit hardcoded), but the Unread mailbox shows how it can be done: ${#source.path.noinbox} — ${#source.#name} The first part is the mailbox name, but without INBOX when it's the kind of IMAP account in which all mailboxes are children of the INBOX. The latter is the name of the account as seen in the IMAP account editor. Perfect. I just used the last bit, since I’m already only looking at inboxes. Is there a list of things that work with a leading #? And I think this is a good thing to add to the docs, which I might get to sometime soon on github. :-) John ___ mailmate mailing list mailmate@lists.freron.com https://lists.freron.com/listinfo/mailmate
Re: [MlMt] Submailbox naming
On 2016-07-05 18:34:57 (+0530), Benny Kjær Nielsen wrote: It's non-trivial (and a bit hardcoded), but the Unread mailbox shows how it can be done: ${#source.path.noinbox} — ${#source.#name} The first part is the mailbox name, but without INBOX when it's the kind of IMAP account in which all mailboxes are children of the INBOX. The latter is the name of the account as seen in the IMAP account editor. Note that `${#source.path.noinbox}` only strips the INBOX from children of INBOX, it doesn't become the empty string for INBOX itself. That's probably a reasonable implementation but it took me a bit of fiddling before I figure out that what I wanted for my setup is: ${#source-name:/downcase} ${#source.path.noinbox/INBOX//} This piece of wisdom may be helpful to others with a similar setup to mine (and similar OCD). :) Philip -- Philip Paeps Senior Reality Engineer Ministry of Information ___ mailmate mailing list mailmate@lists.freron.com https://lists.freron.com/listinfo/mailmate
Re: [MlMt] Submailbox naming
On 5 Jul 2016, at 16:56, John D. Muccigrosso wrote: Is there a list of things that work with a leading #? And I think this is a good thing to add to the docs, which I might get to sometime soon on github. :-) No, this is still undocumented. The best you can get is the `specifiers.plist` within the MailMate application bundle. (It is, by the way, possible to create your own additional file of specifiers -- another almost undocumented feature.) -- Benny ___ mailmate mailing list mailmate@lists.freron.com https://lists.freron.com/listinfo/mailmate
Re: [MlMt] Submailbox naming
On 6 Jul 2016, at 3:51, Philip Paeps wrote: On 2016-07-05 18:34:57 (+0530), Benny Kjær Nielsen wrote: It's non-trivial (and a bit hardcoded), but the Unread mailbox shows how it can be done: ${#source.path.noinbox} — ${#source.#name} The first part is the mailbox name, but without INBOX when it's the kind of IMAP account in which all mailboxes are children of the INBOX. The latter is the name of the account as seen in the IMAP account editor. Note that `${#source.path.noinbox}` only strips the INBOX from children of INBOX, it doesn't become the empty string for INBOX itself. That's probably a reasonable implementation but it took me a bit of fiddling before I figure out that what I wanted for my setup is: ${#source-name:/downcase} ${#source.path.noinbox/INBOX//} This piece of wisdom may be helpful to others with a similar setup to mine (and similar OCD). :) So it looks like we’ve got some good examples out there. I wonder if we could get a good working set for better documentation and what the best way to do that would be. I’m happy to fork the manual on github. Would others be able to do that, or perhaps just email to me? John ___ mailmate mailing list mailmate@lists.freron.com https://lists.freron.com/listinfo/mailmate