[MlMt] Initial questions on mailmate

Max Rydahl Andersen max.andersen at gmail.com
Sun Jan 12 18:23:55 EST 2014


>> C. Is there any documentation for the various expressions that can be 
>> used in things like mailbox name format ?
>> i.e. ${#source.path.noinbox} ? I can see some of these in the dialog 
>> that comes up if I choose "Other..." for 'sub mailbox for each unique 
>> value' but
>> these has no description thus leaving me a bit guessing at times.
>
> No. The `${#source.path.noinbox}` is a bit of a special case (it's a 
> hack). You can use the Statistics layout (View ▸ Layout) to play 
> with values. The tricky part is when to add a prefixed `#` in a format 
> string. This is needed for virtual headers (not real email headers). 
> In some cases two `#` are needed. These are for virtual headers which 
> are never saved to disk. These are implementation details which have 
> leaked into a few features in MailMate, but they are not documented.
>
> Note that format strings are (badly) documented 
> [here](http://manual.mailmate-app.com/format_string_syntax). They are 
> actually quite flexible if you know how to use regular expressions.

which regular expression dialect is it ?

I tried using:

${subject}/JBIDE-(.*)/JBIDE-\1

to have it show a subfolder per unique JIRA number mentioned in subject.

But it kept just using the full subject.

What am I doing wrong ?

/max


More information about the mailmate mailing list