On 11 May 2016, at 8:47, Benny Kjær Nielsen wrote:
On 11 May 2016, at 14:15, Benjamin Coddington wrote:
formatString =
"${list-id.identifier}${X-Bugzilla-Status:+${X-Bugzilla-Status} for
${X-Bugzilla-Assigned-To}}";
Ah, yes - I should have provided this info. The list-id.identifier
value always works. It is the two BZ headers that start to fail.
Apologies for leaving this out.
Ah, I think I see a potential problem. Try lowercasing everything.
Headers are not case sensitive and although I haven't explicitly
required lowercase in format strings then it might be an issue
somewhere if they are not lowercased.
Bingo. That's fixed it. I am extremely happy.
I've turned up the logging, nothing seems relevant other than:
"Warning: Unknown field parser 'list-id.body'" at startup or when
viewing an outline for a mailbox for the first time. That message
is still output even if I remove my outlineColumns.plist file
entirely.
...
Yes, I've checked these, (and just checked again to be sure).. I
don't do any customizations for list-id elsewhere. I think that
output is a false trail.
Still, it shouldn't happen and I'd like to know why it happens, but
it's probably not related to your main problem.
OK, let me know how else to help.
Or maybe this:
defaults read com.freron.MailMate | grep 'list-id.body'
Nope.. nothing.
Maybe also try with the `-i` option to make sure casing is ignored.
Yes, I've tried this.. nothing. :/
..Ben uses lots of grep variations..
Ah ha! Deleting this mailbox makes the "Warning: Unknown field parser
'list-id.body'" message go away:
{ mailboxes = (
{ filter = "list-id.identifier exists";
name = "Mail Lists";
parentUUID = "MAILBOXES";
set = "ALL_MESSAGES";
uuid = "ED25D917-27D5-4204-8E91-8243AF6DF446";
},
);
}
Thanks very much for your help! You've made a great mailer.
Ben
So, it must be something with the two BZ headers. Maybe I need to
write a parser for them? List-id works reliably.
No, a parser is just going to complicate debugging.
--
Benny
_______________________________________________
mailmate mailing list
[email protected]
https://lists.freron.com/listinfo/mailmate
_______________________________________________
mailmate mailing list
[email protected]
https://lists.freron.com/listinfo/mailmate