Shared mailboxes not showing up in shared namespace
Hi,
I think I have configured everything correctly but for some reason I can’t get a list of the shared mailboxes to show up.
When I run:
doveadm acl debug -u m.markov Shared/d.marteva/INBOX
doveadm(root): Debug: Skipping module doveadm_fts_plugin, because dlopen() failed: /usr/lib/dovecot/modules/doveadm/lib20_doveadm_fts_plugin.so: undefined symbol: fts_backend_rescan (this is usually intentional, so just ignore this message) doveadm(m.markov): Debug: Added userdb setting: plugin/=yes doveadm(m.markov): Debug: Effective uid=1000, gid=1000, home=/home/vmail/domain.com/m.markov doveadm(m.markov): Debug: Namespace inbox: type=private, prefix=, sep=/, inbox=yes, hidden=no, list=yes, subscriptions=yes location=maildir:~/Maildir doveadm(m.markov): Debug: maildir++: root=/home/vmail/domain.com/m.markov/Maildir, index=, indexpvt=, control=, inbox=/home/vmail/domain.com/m.markov/Maildir, alt= doveadm(m.markov): Debug: acl: initializing backend with data: vfile doveadm(m.markov): Debug: acl: acl username = m.markov@domain.com doveadm(m.markov): Debug: acl: owner = 1 doveadm(m.markov): Debug: acl vfile: Global ACLs disabled [ Read 8 lines ] doveadm(m.markov): Debug: Namespace : type=public, prefix=Public/, sep=/, inbox=no, hidden=no, list=yes, subscriptions=yes location=maildir:/home/vmail/Public:INDEXPVT=~/Maildir/Publics doveadm(m.markov): Debug: maildir++: root=/home/vmail/Public, index=, indexpvt=/home/vmail/domain.com/m.markov/Maildir/Public, control=, inbox=, alt=ext ^T To Spell doveadm(m.markov): Debug: acl: initializing backend with data: vfile doveadm(m.markov): Debug: acl: acl username = m.markov@domain.com doveadm(m.markov): Debug: acl: owner = 0 doveadm(m.markov): Debug: acl vfile: Global ACLs disabled doveadm(m.markov): Debug: Namespace : type=shared, prefix=Shared/%u/, sep=/, inbox=no, hidden=no, list=yes, subscriptions=yes location=maildir:/home/vmail/domain.com/%u/Maildir:INDEXPVT=~/Maildir/shared/%u doveadm(m.markov): Debug: shared: root=/var/run/dovecot, index=, indexpvt=, control=, inbox=, alt= doveadm(m.markov): Debug: acl: initializing backend with data: vfile doveadm(m.markov): Debug: acl: acl username = m.markov@domain.com doveadm(m.markov): Debug: acl: owner = 0 doveadm(m.markov): Debug: acl vfile: Global ACLs disabled doveadm(m.markov): Debug: maildir++: root=/home/vmail/domain.com/d.marteva/Maildir, index=, indexpvt=/home/vmail//d.marteva/Maildir/shared/d.marteva, control=, inbox=/home/vmail/domain.com/d.marteva/Maildir, alt= doveadm(m.markov): Debug: acl: initializing backend with data: vfile doveadm(m.markov): Debug: acl: acl username = d.marteva doveadm(m.markov): Debug: acl: owner = 1 doveadm(m.markov): Debug: acl vfile: Global ACLs disabled doveadm(m.markov): Debug: maildir++: root=/home/vmail/domain.com/d.marteva/Maildir, index=, indexpvt=/home/vmail/domain.com/m.markov/Maildir/shared/d.marteva, control=, inbox=/home/vmail/domain.com/d.marteva/Maildir, alt= doveadm(m.markov): Debug: acl: initializing backend with data: vfile doveadm(m.markov): Debug: acl: acl username = m.markov@domain.com doveadm(m.markov): Debug: acl: owner = 0 doveadm(m.markov): Debug: acl vfile: Global ACLs disabled doveadm(m.markov): Info: Mailbox 'INBOX' is in namespace 'Shared/d.marteva/' doveadm(m.markov): Info: Mailbox path: /home/vmail/domain.com/d.marteva/Maildir doveadm(m.markov): Info: Per-user private flags in mailbox: \Seen doveadm(m.markov): Debug: acl vfile: reading file /home/vmail/domain.com/d.marteva/Maildir/dovecot-acl doveadm(m.markov): Info: User m.markov@domain.com has rights: lookup read write create doveadm(m.markov): Info: Mailbox found from dovecot-acl-list doveadm(m.markov): Info: User d.marteva found from ACL shared dict doveadm(m.markov): Info: Mailbox Shared/d.marteva/INBOX is visible in LIST
Here is how I have defined the namespace:
namespace { type = shared separator = / prefix = Shared/%%u/ # a) Per-user seen flags. Maildir indexes are shared. (INDEXPVT requires v2.2+) location = maildir:/home/vmail/domain.com/%%u/Maildir:INDEXPVT=~/Maildir/shared/%%u # b) Per-user seen flags. Maildir indexes are not shared. If users have direct filesystem level access to their mails, this is a safer option: #location = maildir:%%h/Maildir:INDEX=~/Maildir/shared/%%u:INDEXPVT=~/Maildir/shared/%%u subscriptions = yes # list = children list=yes }
And here is the ACL config:
plugin { #acl = vfile:/etc/dovecot/global-acls:cache_secs=300 acl = vfile }
# To let users LIST mailboxes shared by other users, Dovecot needs a # shared mailbox dictionary. For example: plugin { #acl_shared_dict = file:/var/lib/dovecot/shared-mailboxes acl_shared_dict = file:/home/vmail/domain.com/shared-mailboxes2 #acl_lookup_dict = file:/home/vmail/domain.com/shared-mailboxes }
Any suggestions?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Thu, 30 Jun 2016, Marti Markov wrote:
I think I have configured everything correctly but for some reason I can’t get a list of the shared mailboxes to show up.
When I run:
doveadm acl debug -u m.markov Shared/d.marteva/INBOX
doveadm(m.markov): Info: User d.marteva found from ACL shared dict doveadm(m.markov): Info: Mailbox Shared/d.marteva/INBOX is visible in LIST
did you've tried:
http://wiki2.dovecot.org/PreAuth
/usr/local/libexec/dovecot/imap -u m.markov 1 LIST "" "*" 2 LOGOUT
?
Maybe the client does not list them.
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1
iQEVAwUBV3Yjqnz1H7kL/d9rAQIoSQgAvKFsSKxMdt82a/1p52bikwkje4YoqGjK duStP9qG2AtkkRPbbNc8JWki20xixyW7XagIP39dGwd+yNVlkMZAVna0KGIFNUwk 9eVC1lMPax9lc0kq7Fw+EqwpPtFwuGe41eAsyP3JE51VlEbnA74oPGadJJe/6cM8 /3sMCxXC9PlxgoKhwFoqggnEeH0Dx6wkHqXsLT3lCnSwtQHX8ZaKlRkEaVBvTVvO ogu/9V/RZH6mhiVdlcYEDXDNoAZ7dh7ZgLqI2nCJm1AoTjpAyjnskhFT+1l5sOC0 +tEb7Rfl7zAp+eJy6X9RaX9nuDzIGSTRfHBeTV9rMVXrz005FYHZpg== =uU9/ -----END PGP SIGNATURE-----
I don’t seem to have that install on my Debian machine.
But I have done this:
1 LIST "" %
- LIST (\HasNoChildren) "/" confirmed-spam
- LIST (\HasChildren) "/" Archive
- LIST (\HasNoChildren \Sent) "/" Sent
- LIST (\HasChildren \Trash) "/" Trash
- LIST (\HasNoChildren) "/" Spam
- LIST (\HasChildren) "/" Archives
- LIST (\HasNoChildren \Drafts) "/" Drafts
- LIST (\HasNoChildren \Junk) "/" Junk
- LIST (\HasNoChildren) "/" Unwanted
- LIST (\HasNoChildren) "/" confirmed-ham
- LIST (\Noselect \HasChildren) "/" Public
- LIST (\Noselect \HasNoChildren) "/" Shared
- LIST (\HasNoChildren) "/" INBOX 1 OK List completed. 7 LIST * *
- LIST (\HasNoChildren) "/" confirmed-spam
- LIST (\HasChildren) "/" Archive
- LIST (\HasNoChildren) "/" Archive/2015
- LIST (\HasNoChildren \Sent) "/" Sent
- LIST (\HasChildren \Trash) "/" Trash
- LIST (\HasNoChildren) "/" Trash/Junk
- LIST (\HasNoChildren) "/" Spam
- LIST (\HasChildren) "/" Archives
- LIST (\HasNoChildren) "/" Archives/2015
- LIST (\HasNoChildren) "/" Archives/2011
- LIST (\HasNoChildren \Drafts) "/" Drafts
- LIST (\HasNoChildren \Junk) "/" Junk
- LIST (\HasNoChildren) "/" Unwanted
- LIST (\HasNoChildren) "/" confirmed-ham
- LIST (\Noselect \HasChildren) "/" Public
- LIST (\HasNoChildren) "/" Public/office3
- LIST (\HasNoChildren) "/" Public/office4
- LIST (\Noselect \HasNoChildren) "/" Shared
- LIST (\HasNoChildren) "/" INBOX 7 OK List completed.
By connecting using openssl
from a remote machine.
On 1 Jul 2016, at 09:02, Steffen Kaiser <skdovecot@smail.inf.fh-brs.de> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Thu, 30 Jun 2016, Marti Markov wrote:
I think I have configured everything correctly but for some reason I can’t get a list of the shared mailboxes to show up.
When I run:
doveadm acl debug -u m.markov Shared/d.marteva/INBOX
doveadm(m.markov): Info: User d.marteva found from ACL shared dict doveadm(m.markov): Info: Mailbox Shared/d.marteva/INBOX is visible in LIST
did you've tried:
http://wiki2.dovecot.org/PreAuth
/usr/local/libexec/dovecot/imap -u m.markov 1 LIST "" "*" 2 LOGOUT
?
Maybe the client does not list them.
- -- Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1
iQEVAwUBV3Yjqnz1H7kL/d9rAQIoSQgAvKFsSKxMdt82a/1p52bikwkje4YoqGjK duStP9qG2AtkkRPbbNc8JWki20xixyW7XagIP39dGwd+yNVlkMZAVna0KGIFNUwk 9eVC1lMPax9lc0kq7Fw+EqwpPtFwuGe41eAsyP3JE51VlEbnA74oPGadJJe/6cM8 /3sMCxXC9PlxgoKhwFoqggnEeH0Dx6wkHqXsLT3lCnSwtQHX8ZaKlRkEaVBvTVvO ogu/9V/RZH6mhiVdlcYEDXDNoAZ7dh7ZgLqI2nCJm1AoTjpAyjnskhFT+1l5sOC0 +tEb7Rfl7zAp+eJy6X9RaX9nuDzIGSTRfHBeTV9rMVXrz005FYHZpg== =uU9/ -----END PGP SIGNATURE-----
You should have it. Otherwise imap wouldn't work. It's probably under /usr/lib/dovecot or /usr/lib/x86_64/dovecot
Aki
On July 2, 2016 at 11:11 PM Marti Markov <marti1234@gmail.com> wrote:
I don’t seem to have that install on my Debian machine.
But I have done this:
1 LIST "" %
- LIST (\HasNoChildren) "/" confirmed-spam
- LIST (\HasChildren) "/" Archive
- LIST (\HasNoChildren \Sent) "/" Sent
- LIST (\HasChildren \Trash) "/" Trash
- LIST (\HasNoChildren) "/" Spam
- LIST (\HasChildren) "/" Archives
- LIST (\HasNoChildren \Drafts) "/" Drafts
- LIST (\HasNoChildren \Junk) "/" Junk
- LIST (\HasNoChildren) "/" Unwanted
- LIST (\HasNoChildren) "/" confirmed-ham
- LIST (\Noselect \HasChildren) "/" Public
- LIST (\Noselect \HasNoChildren) "/" Shared
- LIST (\HasNoChildren) "/" INBOX 1 OK List completed. 7 LIST * *
- LIST (\HasNoChildren) "/" confirmed-spam
- LIST (\HasChildren) "/" Archive
- LIST (\HasNoChildren) "/" Archive/2015
- LIST (\HasNoChildren \Sent) "/" Sent
- LIST (\HasChildren \Trash) "/" Trash
- LIST (\HasNoChildren) "/" Trash/Junk
- LIST (\HasNoChildren) "/" Spam
- LIST (\HasChildren) "/" Archives
- LIST (\HasNoChildren) "/" Archives/2015
- LIST (\HasNoChildren) "/" Archives/2011
- LIST (\HasNoChildren \Drafts) "/" Drafts
- LIST (\HasNoChildren \Junk) "/" Junk
- LIST (\HasNoChildren) "/" Unwanted
- LIST (\HasNoChildren) "/" confirmed-ham
- LIST (\Noselect \HasChildren) "/" Public
- LIST (\HasNoChildren) "/" Public/office3
- LIST (\HasNoChildren) "/" Public/office4
- LIST (\Noselect \HasNoChildren) "/" Shared
- LIST (\HasNoChildren) "/" INBOX 7 OK List completed.
By connecting using
openssl
from a remote machine.On 1 Jul 2016, at 09:02, Steffen Kaiser <skdovecot@smail.inf.fh-brs.de> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Thu, 30 Jun 2016, Marti Markov wrote:
I think I have configured everything correctly but for some reason I can’t get a list of the shared mailboxes to show up.
When I run:
doveadm acl debug -u m.markov Shared/d.marteva/INBOX
doveadm(m.markov): Info: User d.marteva found from ACL shared dict doveadm(m.markov): Info: Mailbox Shared/d.marteva/INBOX is visible in LIST
did you've tried:
http://wiki2.dovecot.org/PreAuth
/usr/local/libexec/dovecot/imap -u m.markov 1 LIST "" "*" 2 LOGOUT
?
Maybe the client does not list them.
- -- Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1
iQEVAwUBV3Yjqnz1H7kL/d9rAQIoSQgAvKFsSKxMdt82a/1p52bikwkje4YoqGjK duStP9qG2AtkkRPbbNc8JWki20xixyW7XagIP39dGwd+yNVlkMZAVna0KGIFNUwk 9eVC1lMPax9lc0kq7Fw+EqwpPtFwuGe41eAsyP3JE51VlEbnA74oPGadJJe/6cM8 /3sMCxXC9PlxgoKhwFoqggnEeH0Dx6wkHqXsLT3lCnSwtQHX8ZaKlRkEaVBvTVvO ogu/9V/RZH6mhiVdlcYEDXDNoAZ7dh7ZgLqI2nCJm1AoTjpAyjnskhFT+1l5sOC0 +tEb7Rfl7zAp+eJy6X9RaX9nuDzIGSTRfHBeTV9rMVXrz005FYHZpg== =uU9/ -----END PGP SIGNATURE-----
Aki, you were right. It was at /usr/lib/dovecot
Here is the output:
root@mail:~# /usr/lib/dovecot/imap -u m.markov
- PREAUTH [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS SPECIAL-USE BINARY MOVE ACL RIGHTS=texk] Logged in as m.markov@domain.com 1 LIST "" "*"
- LIST (\HasNoChildren) "/" confirmed-spam
- LIST (\HasNoChildren \Trash) "/" Trash
- LIST (\HasNoChildren) "/" SpamLikely
- LIST (\HasNoChildren) "/" Spam
- LIST (\HasNoChildren) "/" "Sent Items"
- LIST (\HasNoChildren) "/" Archive
- LIST (\HasNoChildren \Drafts) "/" Drafts
- LIST (\HasNoChildren) "/" Notes
- LIST (\HasNoChildren) "/" TeamViewer
- LIST (\HasNoChildren \Sent) "/" "Sent Messages"
- LIST (\HasNoChildren) "/" confirmed-ham
- LIST (\Noselect \HasChildren) "/" Public
- LIST (\HasNoChildren) "/" Public/office3
- LIST (\HasNoChildren) "/" Public/office4
- LIST (\HasNoChildren) "/" Public/support
- LIST (\HasNoChildren) "/" Public/root
- LIST (\HasNoChildren) "/" Public/updates
- LIST (\HasNoChildren) "/" Public/postmaster
- LIST (\Noselect \HasChildren) "/" Shared
- LIST (\Noselect \HasChildren) "/" Shared/d.marteva
- LIST (\HasNoChildren) "/" Shared/d.marteva/INBOX
- LIST (\HasNoChildren) "/" INBOX 1 OK List completed. 2 LOGOUT
It does list the shared mailbox but it never shows up in either OX App Suite or Thunderbird.
On 3 Jul 2016, at 15:04, aki.tuomi@dovecot.fi wrote:
You should have it. Otherwise imap wouldn't work. It's probably under /usr/lib/dovecot or /usr/lib/x86_64/dovecot
Aki
On July 2, 2016 at 11:11 PM Marti Markov <marti1234@gmail.com> wrote:
I don’t seem to have that install on my Debian machine.
But I have done this:
1 LIST "" %
- LIST (\HasNoChildren) "/" confirmed-spam
- LIST (\HasChildren) "/" Archive
- LIST (\HasNoChildren \Sent) "/" Sent
- LIST (\HasChildren \Trash) "/" Trash
- LIST (\HasNoChildren) "/" Spam
- LIST (\HasChildren) "/" Archives
- LIST (\HasNoChildren \Drafts) "/" Drafts
- LIST (\HasNoChildren \Junk) "/" Junk
- LIST (\HasNoChildren) "/" Unwanted
- LIST (\HasNoChildren) "/" confirmed-ham
- LIST (\Noselect \HasChildren) "/" Public
- LIST (\Noselect \HasNoChildren) "/" Shared
- LIST (\HasNoChildren) "/" INBOX 1 OK List completed. 7 LIST * *
- LIST (\HasNoChildren) "/" confirmed-spam
- LIST (\HasChildren) "/" Archive
- LIST (\HasNoChildren) "/" Archive/2015
- LIST (\HasNoChildren \Sent) "/" Sent
- LIST (\HasChildren \Trash) "/" Trash
- LIST (\HasNoChildren) "/" Trash/Junk
- LIST (\HasNoChildren) "/" Spam
- LIST (\HasChildren) "/" Archives
- LIST (\HasNoChildren) "/" Archives/2015
- LIST (\HasNoChildren) "/" Archives/2011
- LIST (\HasNoChildren \Drafts) "/" Drafts
- LIST (\HasNoChildren \Junk) "/" Junk
- LIST (\HasNoChildren) "/" Unwanted
- LIST (\HasNoChildren) "/" confirmed-ham
- LIST (\Noselect \HasChildren) "/" Public
- LIST (\HasNoChildren) "/" Public/office3
- LIST (\HasNoChildren) "/" Public/office4
- LIST (\Noselect \HasNoChildren) "/" Shared
- LIST (\HasNoChildren) "/" INBOX 7 OK List completed.
By connecting using
openssl
from a remote machine.On 1 Jul 2016, at 09:02, Steffen Kaiser <skdovecot@smail.inf.fh-brs.de> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Thu, 30 Jun 2016, Marti Markov wrote:
I think I have configured everything correctly but for some reason I can’t get a list of the shared mailboxes to show up.
When I run:
doveadm acl debug -u m.markov Shared/d.marteva/INBOX
doveadm(m.markov): Info: User d.marteva found from ACL shared dict doveadm(m.markov): Info: Mailbox Shared/d.marteva/INBOX is visible in LIST
did you've tried:
http://wiki2.dovecot.org/PreAuth
/usr/local/libexec/dovecot/imap -u m.markov 1 LIST "" "*" 2 LOGOUT
?
Maybe the client does not list them.
- -- Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1
iQEVAwUBV3Yjqnz1H7kL/d9rAQIoSQgAvKFsSKxMdt82a/1p52bikwkje4YoqGjK duStP9qG2AtkkRPbbNc8JWki20xixyW7XagIP39dGwd+yNVlkMZAVna0KGIFNUwk 9eVC1lMPax9lc0kq7Fw+EqwpPtFwuGe41eAsyP3JE51VlEbnA74oPGadJJe/6cM8 /3sMCxXC9PlxgoKhwFoqggnEeH0Dx6wkHqXsLT3lCnSwtQHX8ZaKlRkEaVBvTVvO ogu/9V/RZH6mhiVdlcYEDXDNoAZ7dh7ZgLqI2nCJm1AoTjpAyjnskhFT+1l5sOC0 +tEb7Rfl7zAp+eJy6X9RaX9nuDzIGSTRfHBeTV9rMVXrz005FYHZpg== =uU9/ -----END PGP SIGNATURE-----
On July 3, 2016 at 6:46 PM Marti Markov <marti1234@gmail.com> wrote:
Aki, you were right. It was at /usr/lib/dovecot
Here is the output:
- LIST (\Noselect \HasChildren) "/" Shared
- LIST (\Noselect \HasChildren) "/" Shared/d.marteva
- LIST (\HasNoChildren) "/" Shared/d.marteva/INBOX
Can you try
doveadm mailbox subscribe -u yourusername Shared/d.marteva/INBOX
Aki
Tried it but now luck in either OX App Suite or Thunderbird.
The thing is that it isn’t even listed as a subscribeable folder. For example I have a Public namespace at that lists all the public mailboxes but Shared doesn’t list anything.
I installed an addon in Thunderbird for ACL and that lists correct permissions on the INBOX folders. (Users having lookup & read permissions).
I can post the doveconf output if you want?
On 3 Jul 2016, at 16:52, aki.tuomi@dovecot.fi wrote:
On July 3, 2016 at 6:46 PM Marti Markov <marti1234@gmail.com> wrote:
Aki, you were right. It was at /usr/lib/dovecot
Here is the output:
- LIST (\Noselect \HasChildren) "/" Shared
- LIST (\Noselect \HasChildren) "/" Shared/d.marteva
- LIST (\HasNoChildren) "/" Shared/d.marteva/INBOX
Can you try
doveadm mailbox subscribe -u yourusername Shared/d.marteva/INBOX
Aki
Here is the doveconf -n
output:
root@mail:~# doveconf -n
# 2.2.13: /etc/dovecot/dovecot.conf
# OS: Linux 3.14.32-xxxx-grs-ipv6-64 x86_64
auth_debug = yes
auth_default_realm = domain.com
auth_mechanisms = plain login
auth_verbose = yes
imapc_host = imap-mail.outlook.com
mail_gid = vmail
mail_home = /home/vmail/%d/%n
mail_location = maildir:~/Maildir
mail_plugins = acl
mail_shared_explicit_inbox = yes
mail_uid = vmail
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 ihave
namespace {
list = yes
location = maildir:/home/vmail/Public:INDEXPVT=~/Maildir/Public
prefix = Public/
separator = /
subscriptions = yes
type = public
}
namespace {
list = children
location = maildir:/home/vmail/domain.com/%%u/Maildir:INDEXPVT=~/Maildir/shared/%%u
prefix = Shared/%%u/
separator = /
subscriptions = yes
type = shared
}
namespace inbox {
inbox = yes
location =
mailbox Drafts {
special_use = \Drafts
}
mailbox Junk {
special_use = \Junk
}
mailbox Sent {
special_use = \Sent
}
mailbox "Sent Messages" {
special_use = \Sent
}
mailbox Trash {
special_use = \Trash
}
prefix =
separator = /
type = private
}
passdb {
args = /etc/dovecot/dovecot-ldap.conf.ext
driver = ldap
}
plugin {
acl = vfile
acl_shared_dict = file:/home/vmail/domain.com/shared-mailboxes2
sieve = ~/.dovecot.sieve
sieve_before = /etc/dovecot/sieve/dovecot.sieve
sieve_dir = ~/sieve
}
postmaster_address = postmaster@domain.com
protocols = " imap lmtp sieve"
service auth {
unix_listener auth-client {
group = Debian-exim
mode = 0660
user = Debian-exim
}
}
service imap-login {
inet_listener imap {
port = 0
}
inet_listener imaps {
port = 993
ssl = yes
}
}
service lmtp {
unix_listener lmtp {
mode = 0666
}
}
ssl = required
ssl_cert = </etc/dovecot/mail.domain.com.pem
ssl_key = </etc/dovecot/private/mail.domain.com.private.pem
ssl_key_password = ###########
userdb {
args = /etc/dovecot/dovecot-ldap.conf.ext
driver = ldap
}
userdb {
args = /etc/dovecot/dovecot-ldap-shared_mailboxes.conf.ext
driver = ldap
override_fields = mail=maildir:/home/vmail/Public/.%n
}
verbose_ssl = yes
protocol lmtp {
mail_plugins = acl sieve
}
protocol imap {
mail_plugins = acl imap_acl
}
On 3 Jul 2016, at 16:58, Marti Markov <marti1234@gmail.com> wrote:
Tried it but now luck in either OX App Suite or Thunderbird.
The thing is that it isn’t even listed as a subscribeable folder. For example I have a Public namespace at that lists all the public mailboxes but Shared doesn’t list anything.
I installed an addon in Thunderbird for ACL and that lists correct permissions on the INBOX folders. (Users having lookup & read permissions).
I can post the doveconf output if you want?
On 3 Jul 2016, at 16:52, aki.tuomi@dovecot.fi wrote:
On July 3, 2016 at 6:46 PM Marti Markov <marti1234@gmail.com> wrote:
Aki, you were right. It was at /usr/lib/dovecot
Here is the output:
- LIST (\Noselect \HasChildren) "/" Shared
- LIST (\Noselect \HasChildren) "/" Shared/d.marteva
- LIST (\HasNoChildren) "/" Shared/d.marteva/INBOX
Can you try
doveadm mailbox subscribe -u yourusername Shared/d.marteva/INBOX
Aki
participants (3)
-
aki.tuomi@dovecot.fi
-
Marti Markov
-
Steffen Kaiser