I just noticed you implemented the Dovecot Environment Extension. Thanks!
maybe it helps somebody to get this referenced in this thread
https://raw.githubusercontent.com/dovecot/pigeonhole/master/doc/rfc/spec-bos...
example: default folder is accessible with:
${env.vnd.dovecot.default_mailbox}
Greetz Matze
Am Mon, 10 Aug 2015 17:05:58 +0200 schrieb Stephan Bosch stephan@rename-it.nl:
Op 8/10/2015 om 4:29 PM schreef Steffen Kaiser:
On Mon, 10 Aug 2015, matthias lay wrote:
Dear Stephan,
If you find this code OK, please merge it into Pigeonhole.
Non-standard entries like this require a vnd.dovecot prefix.
I find this information useful, too. The +detail and the default mailbox are not necessarily the same. Maybe, there is a namespace to expose this information easily?
The Pigeonhole internals support custom variable namespaces. The extdata plugin uses this too, so adding something like that is architecturally not problematic.
I would make this dependent on an extension like "vnd.dovecot.environment", so that non-standard features are only added when this is in the require line. Currently, the "auth" envelope field (CMUSieve) is the only exception and I like to keep it that way.
I'll give this a look. Also, are there any other environment items that may be useful?
Regards,
Stephan.