inbox parameter is ignored within location config for public namespaces?

Steffen Kaiser skdovecot at smail.inf.fh-brs.de
Fri Nov 14 10:12:05 UTC 2014


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

On Fri, 14 Nov 2014, Dieter Knopf wrote:

> Debug logfile:
> dovecot: imap(m.user at foo.eu): Debug: Namespace : type=public,
> prefix=BOS/, sep=/, inbox=no, hidden=no, list=yes, subscriptions=yes
> location=maildir:/home/vmail/foo.eu/bos/MAILDIR:INBOX=/home/vmail/foo.eu/bos/MAILDIR/.INBOX:INDEX=/home/vmail/foo.eu/bos/S_INDEX:INDEXPVT=/home/vmail/foo.eu/bos/S_INDEXPVT/m.user at foo.eu
> dovecot: imap(m.user at foo.eu): Debug: maildir++:
> root=/home/vmail/foo.eu/bos/MAILDIR,
> index=/home/vmail/foo.eu/bos/S_INDEX,
> indexpvt=/home/vmail/foo.eu/bos/S_INDEXPVT/m.user at foo.eu, control=,
> inbox=/home/vmail/foo.eu/bos/MAILDIR/.INBOX, alt=
> dovecot: imap(m.user at foo.eu): Debug: acl: initializing backend with data: vfile
> dovecot: imap(m.user at foo.eu): Debug: acl: acl username = m.user at foo.eu
> dovecot: imap(m.user at foo.eu): Debug: acl: owner = 0
> dovecot: imap(m.user at foo.eu): Debug: acl vfile: Global ACL directory: (none)
>
> Everything looks fine, not sure why INBOX is not working correctly :-(

I'm sort of thinking that each account has just one INBOX, which is the 
one from the namespace with inbox=yes.
Also, IMHO, public Maildir's never have the "root" useable, it is always 
"grey" regardless of the INBOX-setting. I think, I've read it several 
times on this list. You can see the public INBOX as sub-folder, but 
cannot "merge" it as root.

> 2014-11-09 18:24 GMT+01:00 Dieter Knopf <dieterknopf at gmail.com>:
>> Hello,
>>
>> i already asked a similiar question some month ago but still have no
>> fix for my problem :-(
>>
>> This is my global location option in 10-mail.conf:
>> mail_location =
>> maildir:/home/vmail/%d/%n/MAILDIR:INBOX=/home/vmail/%d/%n/MAILDIR/.INBOX:INDEX=/home/vmail/%d/%n/INDEX/
>>
>> This works fine, until i'm using a public namespace.
>>
>> The following namespace is a normal user too, every mail to bos at foo.eu
>> is stored in /home/vmail/foo.eu/bos/MAILDIR (within the INBOX-folder)
>> and this directory is used for the location of the namespace.
>>
>> Config:
>> namespace {
>>   type = public
>>   separator = /
>>   prefix = BOS/
>>   location = maildir:/home/vmail/foo.eu/bos/MAILDIR:INBOX=/home/vmail/foo.eu/bos/MAILDIR/.INBOX:INDEX=/home/vmail/foo.eu/bos/S_INDEX:INDEXPVT=/home/vmail/foo.eu/bos/S_INDEXPVT/%u
>>   subscriptions = yes
>> }
>>
>> The namespace itself works fine and without a problem, but the INBOX
>> folder is the main problem. Mail users agents like Thunderbird now
>> shows a folder structure like:
>>
>> BOS (grey, not useable)
>> - INBOX (the .INBOX folder)
>> - Other folder 1
>> - Other folder 2
>> - Other folder 3
>>
>> The INBOX-config works fine for every single user, but it don't work
>> on namespaces? Is this a bug?
>>
>> Thanks
>>
>> Dieter
>

- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQEVAwUBVGXVdXz1H7kL/d9rAQLyogf/T/Jf/uZrI2Y4Q9ypyLywcOdaZnVXTpJq
lwABkbSzHKf0Q08vePF981cqjPKKZ9RsX50wKjO7ilKtHH/8afQ6EQzzHEiZ8aJb
DcUhWZffpggYswPkmAN6clUVhf4Ay8RGKTyjlAyY8HFrWDvTqDsDOejywjXflw1d
nQs5BM2h8+b9judy9waaAGApw80dLS7ahq1NCKFlyd6NQ4HBotWZ+2kqDtt+4WDC
/efEa4RWwBaVjqQIvaZ96ZHkf40gFaHFGRw/nGzRLPKzaVYMZHgRF5///tEpOcIt
A2FXzkfr4ONLJy0OI1jaGh0rA/IhVOKCzNrwxnEIzM5/R5JPQZ2EIg==
=8eN6
-----END PGP SIGNATURE-----


More information about the dovecot mailing list