dovecot Digest, Vol 154, Issue 14

Steffen Kaiser skdovecot at smail.inf.fh-brs.de
Thu Feb 18 08:11:26 UTC 2016


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, 17 Feb 2016, Richard Platel wrote:

> "namespace/inbox/mailbox=Junk namespace/inbox/mailbox/Junk/name"="Spam"
> seems to initialize the folder somehow so that the subsequent
> "namespace/inbox/mailbox/Junk/auto"="subscribe"
> and
> "namespace/inbox/mailbox/Junk/special_use"="\Junk"
> have something to act upon.
>
> (the first line doesn't work quite properly, however - it ends up
> causing a folder named "" to show up)
>
> we've noticed that if we set a very minimal config for the mailbox in
> the main config (that wouldn't cause the mailbox to be autocreated),
> that this also initializes the folder name allowing for subsequent auto
> and subscribe directives to be processed for it:
> namespace inbox {
> inbox = yes
> mailbox "Spam" {
>   auto = no
> }
> }

you separate each part with /'s, IMHO:

namespace/inbox/inbox=yes
namespace/inbox/mailbox/Spam/auto=no

BUT I recall something, that you cannot have "NO" or "FALSE" for boolean 
values in ExtraFields. If the option is present, it is treated as "yes", 
regardless of the value. 
Maybe that changed in current version of Dovecot.

- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEVAwUBVsV8rnz1H7kL/d9rAQJL4wgAkpQWZvqKzl/EeZV1YliUOcGx8OVlHRu0
BERMvVWvp3bzA5gIenPognWPgvMTluxv+EkaD1jVJBFPUZs4VsyIYWkloGo+oW9C
injAV9k0fwiAHTLXFBF3HsjTxzpUzH1BUszAhbhqQkYewIQkSzLOTiq/lVher2cR
aRa+5BYA1tFCooWbGJfMY8QPRnjqHjqqsaF4nDsFHXMWyDmb/ivzWogTff1l8cey
bmj0x+oRCmhddv2VM+reWGirHtVtaF51rC4n/DaY0V6BdBluzdGAT9Hg5FkbZIbA
O732U5pL6MdqNIht5BOz/7vsgTnu9fVosMERc8fc1SE04mPFbb7M4w==
=jfBe
-----END PGP SIGNATURE-----


More information about the dovecot mailing list