29.03.2025 15:32, Markus Winkler via dovecot пишет:
Hi Anton,
On 28.03.25 19:01, Anton Shevtsov via dovecot wrote:
Now I want to add shared folder functionality. I am defining namespaces and doing it wrong (maybe)
could you please show the output of 'doveconf -n'?
# 2.3.21.1 (d492236fa0): /etc/dovecot/dovecot.conf # Pigeonhole version 0.5.21.1 (49005e73) # OS: Linux 5.10.235-std-def-alt1 x86_64 ALT Server 10.4 (Mendelevium) ext4 # Hostname: sogo-srv.mydomain.zone first_valid_gid = 5 first_valid_uid = 5 mail_debug = yes mail_gid = mail mail_home = /var/mail/%d/%n mail_location = maildir:/var/mail/%d/%n:UTF-8:INBOX=/var/mail/%d/%n/Inbox mail_plugins = acl mail_uid = mail managesieve_notify_capability = mailto managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date index ihave duplicate mime foreverypart extracttext vacation-seconds imapflags notify mbox_write_locks = fcntl namespace { list = children location = maildir:/var/mail/%d/%n/:INDEX=/var/mail/%d/%n/shared/%%u:INDEXPVT=/var/mail/%d/%n/shared/%%u prefix = shared/%%u/ separator = / subscriptions = no type = shared } namespace inbox { inbox = yes location = mailbox Drafts { auto = subscribe special_use = \Drafts } mailbox Junk { auto = subscribe special_use = \Junk } mailbox Sent { auto = subscribe special_use = \Sent } mailbox "Sent Messages" { special_use = \Sent } mailbox Trash { auto = subscribe special_use = \Trash } prefix = separator = / type = private } passdb { args = /etc/dovecot/master-users driver = passwd-file master = yes pass = yes } passdb { args = /etc/dovecot/dovecot-ldap.conf.ext driver = ldap } plugin { acl = vfile acl_shared_dict = file:/var/mail/%d/shared-mailboxes.db sieve = file:/var/spool/mail/%Ld/%n/sieve;active=/var/spool/mail/%Ld/%n/active.sieve sieve_extensions = +notify +imapflags +vacation-seconds +vacation +date +relational sieve_user_log = /tmp/sievelog.txt } protocols = imap lmtp submission sieve sieve service auth { unix_listener /var/spool/postfix/private/auth { group = postfix mode = 0600 user = postfix } } service imap-login { inet_listener imap { port = 0 } } service pop3-login { inet_listener pop3 { port = 0 } inet_listener pop3s { port = 0 } } service stats { unix_listener stats-reader { group = mail mode = 0660 user = mail } unix_listener stats-writer { group = mail mode = 0660 user = mail } } ssl = required ssl_cert = </var/lib/ssl/certs/dovecot.pem ssl_key = # hidden, use -P to show it userdb { args = /etc/dovecot/dovecot-ldap.conf.ext driver = ldap } protocol lmtp { mail_plugins = acl acl sieve } protocol lda { hostname = mydomain.zone mail_plugins = acl sieve acl postmaster_address = da-01@mydomain.zone } protocol imap { mail_plugins = acl imap_acl acl }