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

On Thu, 18 Feb 2016, Steffen Kaiser wrote:
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.

Hmm, it's documented for passwd ExtraFields, but not for UserDB's:

http://wiki2.dovecot.org/PasswordDatabase/ExtraFields
http://wiki2.dovecot.org/UserDatabase/ExtraFields

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

iQEVAwUBVsV9+3z1H7kL/d9rAQIfjgf8CdD6x+vyaNpAlYZI+b6YO2Z9V7YuwtEz
NOhIoQaNuwRSVM770vM24mh+Tt3pYJ69tw8SaX4gNCYVt0XdVsGJL0UKAEv28MvP
/3PXPw4Kb4VfGEP8GBNuw8642qCRZQSBswl+TnFccJodEZprun5b2NvLGXbXZ39R
0iZFxdTmx0d026fzyA/YyUPQGwfeu+jtdTHFMCmuqJQA6tDQ5xxjb9hYXCFIgPM9
4b1S0Zz7xYyH/ZcqktQATcDhkl8R+ZKfck/jV6+humDEu6iSqLGaeQt2J8UOi2xe
AGFrE4xkRWSCRlnF45oxDr6m6YOEM9MtVVsV6lGpXWQDRkWvMXWmWw==
=teiW
-----END PGP SIGNATURE-----

Reply via email to