Hello,
I am running Dovcecot 2.3.19 on Debian, and I am trying to get shared to work.
It's working if I do this:
namespace {
type = shared
separator = /
prefix = Team/%%u/
location = maildir:%%h/Maildir:INDEX=%h/Maildir/Team/%%u:INDEXPVT=%h/Maildir/Team/%%u
subscriptions = no
list = children
}
After setting some ACLs, I now have the following in LIST
output:
…
. LIST "" *
* LIST (\HasNoChildren) "/" INBOX
[…]
* LIST (\Noselect \HasChildren) "/" Team/rechnungseingang@example.org
* LIST (\HasNoChildren) "/" "Team/rechnungseingang@example.org/Archiv bearbeitete Rechnungen"
. OK List completed (0.003 + 0.000 + 0.007 secs).
However, since I am using Maildir, the default separator is .
, and
so I have to change the separator for the inbox
namespace, which
makes me feel uneasy. The system still uses .dotted.notation
on
the filesystem despite the namespace change, and subfolders and all
still work, but it still rubs me the wrong way to do this.
And yet, when I try to use .
like this:
separator = .
prefix = Team.%%u.
location = maildir:%%h/Maildir:INDEX=%h/Maildir/.Team,%%u:INDEXPVT=%h/Maildir/.Team.%%u
then nothing shows up in LIST
output. Any idea why this might be?
Thanks,
-- martin krafft | https://matrix.to/#/#madduck:madduck.net
"den stil verbessern, das heißt den gedanken verbessern." - friedrich nietzsche {: .blockquote }
spamtraps: madduck.bogus@madduck.net {: .hidden }
On 27/09/2023 12:03 EEST martin f krafft via dovecot dovecot@dovecot.org wrote:
Hello,
I am running Dovcecot 2.3.19 on Debian, and I am trying to get shared to work.
It's working if I do this:
namespace { type = shared separator = / prefix = Team/%%u/ location = maildir:%%h/Maildir:INDEX=%h/Maildir/Team/%%u:INDEXPVT=%h/Maildir/Team/%%u subscriptions = no list = children }
After setting some ACLs, I now have the following in
LIST
output:… . LIST "" * * LIST (\HasNoChildren) "/" INBOX […] * LIST (\Noselect \HasChildren) "/" Team/rechnungseingang@example.org * LIST (\HasNoChildren) "/" "Team/rechnungseingang@example.org/Archiv bearbeitete Rechnungen" . OK List completed (0.003 + 0.000 + 0.007 secs).
However, since I am using Maildir, the default separator is
.
, and so I have to change the separator for theinbox
namespace, which makes me feel uneasy. The system still uses.dotted.notation
on the filesystem despite the namespace change, and subfolders and all still work, but it still rubs me the wrong way to do this.And yet, when I try to use
.
like this:separator = . prefix = Team.%%u. location = maildir:%%h/Maildir:INDEX=%h/Maildir/.Team,%%u:INDEXPVT=%h/Maildir/.Team.%%u
then nothing shows up in
LIST
output. Any idea why this might be?Thanks,
-- martin krafft | https://matrix.to/#/#madduck:madduck.net Hi!
The physical (file system) separator and hierachy separator are not related. You can safely change the hierarchy separator to / .
There is nothing wrong about this.
The shared namespace should have list=children, and you will not see anything by default, unless you have acl_shared_dict and have actually shared a folder.
Aki
Regarding the following, written by "Aki Tuomi" on 2023-09-27 at 13:09 Uhr +0300:
The physical (file system) separator and hierachy separator are not related. You can safely change the hierarchy separator to / .
Okay, so what is it used for?
The shared namespace should have list=children, and you will not see anything by default, unless you have acl_shared_dict and have actually shared a folder.
Yeah, I have all of that. It works with /
, but when I use .
, it
stops working. ACLs/sharing stays the same.
Best,
-- martin krafft | https://matrix.to/#/#madduck:madduck.net
"glaube heißt nicht wissen wollen, was wahr ist." - friedrich nietzsche {: .blockquote }
spamtraps: madduck.bogus@madduck.net {: .hidden }
participants (2)
-
Aki Tuomi
-
martin f krafft