inbox parameter is ignored within location config for public namespaces?
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@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
Hello,
Debug logfile: dovecot: imap(m.user@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@foo.eu dovecot: imap(m.user@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@foo.eu, control=, inbox=/home/vmail/foo.eu/bos/MAILDIR/.INBOX, alt= dovecot: imap(m.user@foo.eu): Debug: acl: initializing backend with data: vfile dovecot: imap(m.user@foo.eu): Debug: acl: acl username = m.user@foo.eu dovecot: imap(m.user@foo.eu): Debug: acl: owner = 0 dovecot: imap(m.user@foo.eu): Debug: acl vfile: Global ACL directory: (none)
Everything looks fine, not sure why INBOX is not working correctly :-(
2014-11-09 18:24 GMT+01:00 Dieter Knopf dieterknopf@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@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
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Fri, 14 Nov 2014, Dieter Knopf wrote:
Debug logfile: dovecot: imap(m.user@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@foo.eu dovecot: imap(m.user@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@foo.eu, control=, inbox=/home/vmail/foo.eu/bos/MAILDIR/.INBOX, alt= dovecot: imap(m.user@foo.eu): Debug: acl: initializing backend with data: vfile dovecot: imap(m.user@foo.eu): Debug: acl: acl username = m.user@foo.eu dovecot: imap(m.user@foo.eu): Debug: acl: owner = 0 dovecot: imap(m.user@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@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@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-----
Ohh :-(
Is there really no way with a symlink or something like that? Not sure if i can configure the root path in clients like Thunderbird...
2014-11-14 11:12 GMT+01:00 Steffen Kaiser skdovecot@smail.inf.fh-brs.de:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Fri, 14 Nov 2014, Dieter Knopf wrote:
Debug logfile: dovecot: imap(m.user@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@foo.eu dovecot: imap(m.user@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@foo.eu, control=, inbox=/home/vmail/foo.eu/bos/MAILDIR/.INBOX, alt= dovecot: imap(m.user@foo.eu): Debug: acl: initializing backend with data: vfile dovecot: imap(m.user@foo.eu): Debug: acl: acl username = m.user@foo.eu dovecot: imap(m.user@foo.eu): Debug: acl: owner = 0 dovecot: imap(m.user@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@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@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-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Mon, 17 Nov 2014, Dieter Knopf wrote:
Is there really no way with a symlink or something like that? Not sure if i can configure the root path in clients like Thunderbird...
2014-11-14 11:12 GMT+01:00 Steffen Kaiser skdovecot@smail.inf.fh-brs.de:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Fri, 14 Nov 2014, Dieter Knopf wrote:
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?
I tested the following:
cd /home/vmail/foo.eu/bos/MAILDIR ln -s .INBOX/* .
- -> BOS becomes selectable, actually the LIST response changes from:
- LIST (\Noselect \HasChildren) "." BOS
- -to-
- LIST (\HasChildren) "." BOS
You have "INBOX" still, but my version of Thunderbird does not select "BOS", because it tries to select "BOS.BOS".
mkdir .BOS chown ... .BOS cd .BOS ln -s ../{do*,new,cur,tmp} .
makes BOS selectable for Thunderbird, but now you have 3 INBOXes ... .
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux)
iQEVAwUBVGoEsHz1H7kL/d9rAQJIoAgAgTur3BZYqBVXz5s0+xbWhPHtrurstGGH SuzliEfeicLzU37Eaor8xdF3b9pxxlQr4AxJp8F3XF9ktlDTXLS7RahId2EHD0MA xMh80iHH/DZuYkvBTnMNe+OMRdvKolA7owiausBGXFCtUuTF+rmKWHNKZeMQnhOJ rlrF5osbO0s0gWQpAwnvKwU/WToBGvIg8L4ZCogSc/CW0pTZypizmhMZ322/FPt5 VMQbvG+gn9morzURLBD+5RxnVRcC42aQgZp2yuMUzhd35PV0mdbCS+peklW5mlRJ hKzXgBt4bBjKZw1ZF0M24ZaTfYoIswBZY8iiUYznCnpAk4OAMFhpGw== =IsU7 -----END PGP SIGNATURE-----
participants (2)
-
Dieter Knopf
-
Steffen Kaiser