[MlMt] Submailboxes for partial subject
Joshua Kehn
josh at kehn.us
Fri Mar 21 17:10:15 EDT 2014
Done, that was a really informative post, thanks!
In case anyone else is looking for FogBugz / MailMate customization
here's what I'm using:
subject = {
// ...
specifierCaptures = {
// ...
4 = { specifier = "body"; type="noTabs"; parsers = (
"words", "FogBugz" ); };
};
};
FogBugz = {
specifierRegex = 'FogBugz\s\(Case
(\d+)\)\s([a-zA-Z0-9\s]+)-\s.+';
specifierCaptures = {
1 = { specifier = "fogbugz-case"; };
2 = { specifier = "fogbugz-project"; };
};
};
--jk
On 20 Mar 2014, at 12:08, Torsten Grust wrote:
> Hi Joshua,
>
> On 20 Mar 2014, at 16:21, Joshua Kehn wrote (with possible deletions):
>> I use FogBugz and I get notification emails from the system with
>> subjects like this:
>>
>> FogBugz (Case 1711) PROJECT NAME - Some Case title
>>
>> I could design a regular expression like:
>>
>> FogBugz\s\(Case \d+\)\s([a-zA-Z0-9\s]+)-\s.+
>>
>> I'd like to create distinct sub mailboxes for the matched group
>> (Project Name). Is this possible and if so how to do it?
>
> that should be entirely possible. I have used a quite similar setup
> for a few years now. It is described in this post to the mailing
> list:
>
> http://lists.freron.com/mailmate/2012-February/000197.html
>
> Beware: there is some plist-editing involved.
>
> Cheers,
> --Torsten
>
> --
> | Torsten "Teggy" Grust
> |
> Torsten.Grust at gmail.com_______________________________________________
> mailmate mailing list
> mailmate at lists.freron.com
> http://lists.freron.com/listinfo/mailmate
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freron.com/pipermail/mailmate/attachments/20140321/75f781b7/attachment.html>
More information about the mailmate
mailing list