[MlMt] nested submailboxes ?

2015-09-09 Thread Max Rydahl Andersen

Hey,

Wondering if ever considered allowing nested sub mailboxes ?

I have a filter that get all my mails from a bugzilla system (issue 
tracker) where I have sub mailboxes being the value of 
X-Bugzilla-Product so I automatically gets the mails grouped by product.


That gives me a nice overview of which are seeing most traffic and then 
let me quickly navigate to where my focus are today.


But then within each product it would be nice if it had sub mailboxes pr 
X-Bugzilla-Id.


I could hardcode a set of virtual boxes for this but that would then not 
catch when a new value for the product shows up.


Just a thought and feature wish ;)

/max
http://about.me/maxandersen
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] Anyway to create a sub-mailbox from a bugzilla bug?

2015-09-09 Thread Max Rydahl Andersen

On 8 Sep 2015, at 20:24, Kee Hinckley wrote:

Bugzilla puts a dozen headers in the email, but none of them actually 
contain the bug number. Is there anyway to extract something from the 
subject and use it to make a submailbox?


`Subject: [Morpheus][Bug 412711] New: trying to ingest all 20 cox 
localities runs out of memory`


Note that the "New: " is only there once, so grouping by title catches 
everything _except_ the first one.


I got this for jira: ${subject/.*(([^)]*))(.*)/$1/}

Which will extract JBIDE-1235 from "(JBIDE-1235) la la la "

but struggling getting it to work properly with bugzilla, but I assume 
its just me

not getting the proper characters escaped.


/max
http://about.me/maxandersen
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] Anyway to create a sub-mailbox from a bugzilla bug?

2015-09-09 Thread Benny Kjær Nielsen

On 9 Sep 2015, at 13:02, Max Rydahl Andersen wrote:


On 8 Sep 2015, at 20:24, Kee Hinckley wrote:

Bugzilla puts a dozen headers in the email, but none of them actually 
contain the bug number. Is there anyway to extract something from the 
subject and use it to make a submailbox?


`Subject: [Morpheus][Bug 412711] New: trying to ingest all 20 cox 
localities runs out of memory`


Note that the "New: " is only there once, so grouping by title 
catches everything _except_ the first one.


I got this for jira: ${subject/.*(([^)]*))(.*)/$1/}

Which will extract JBIDE-1235 from "(JBIDE-1235) la la la "

but struggling getting it to work properly with bugzilla, but I assume 
its just me

not getting the proper characters escaped.


If this is for the mailbox name format then I don't think it's quite 
what Kee asks for. He wants the partitioning to be based on a substring 
of the subject header. If he cannot use `prefix` or `blob` then he needs 
a custom specifier.


I think [this 
thread](https://www.mail-archive.com/mailmate%40lists.freron.com/msg02220.html) 
describes a similar problem and the low level solution.


--
Benny
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] nested submailboxes ?

2015-09-09 Thread Benny Kjær Nielsen

On 9 Sep 2015, at 9:58, Max Rydahl Andersen wrote:


Wondering if ever considered allowing nested sub mailboxes ?


Not seriously. Part of the problem, of course, is how it should be 
configured. I guess it would be by allowing an array of submailbox 
settings for a mailbox instead of a single set.


I do like a particular aspect of such a feature. It could generalize the 
“Submailbox for the messages of each account” setting which is 
currently hardcoded while it could just be based on the virtual 
`#source` header using the general submailbox settings. (This setting 
essentially requires nested submailboxes, but the code for this is not 
generalized to do what you want.)


--
Benny
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate