Hello, I have some Issues with Dovecots public folder. I only see the folder in users Mailbox but I cannot subscribe it or copy mails in it. My public file structure (folder: "/var/vmail/public/") looks like this: -rw-rw-rw- 1 ebox ebox 0 Feb 12 01:21 dovecot-acl-list drwxrwsrwx 2 ebox ebox 4096 Feb 12 00:31 test (Wierd thing is that "dovecot-acl-list" is empty, why?) content of "test" public folder is: -rw-r--r-- 1 root ebox 10 Feb 12 01:21 dovecot-acl I can see the folder in my mail accounts but I dont have access to it. I activated ACL and the log sais the plugin is loaded successfully Feb 12 12:54:19 mailand dovecot: imap: Debug: Module loaded: /usr/lib/dovecot/modules/lib02_imap_acl_plugin.so Feb 12 12:54:19 mailand dovecot: imap: Debug: Module loaded: /usr/lib/dovecot/modules/lib01_acl_plugin.so And the dovecot-acl file is loaded too Feb 12 12:54:19 mailand dovecot: imap(test at sxps.eu): Debug: acl vfile: reading file /var/vmail/public/test/dovecot-acl content of "/var/vmail/public/test/dovecot-acl" file is: anyone lr So i think everything is set up the right way but i'm still not able to access the public mal folder. Any suggestions? My Dovecot -n output # 2.0.19: /etc/dovecot/dovecot.conf # OS: Linux 3.2.0-58-generic x86_64 Ubuntu 12.04.4 LTS auth_gssapi_hostname = mailand.sxps.int auth_krb5_keytab = /etc/dovecot/dovecot.keytab auth_mechanisms = gssapi plain first_valid_gid = 116 first_valid_uid = 108 log_timestamp = "%Y-%m-%d %H:%M:%S " mail_debug = yes mail_gid = 116 mail_home = /var/vmail/sieve/%d/%u mail_location = maildir:~/Maildir:LAYOUT=fs mail_uid = 108 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 { inbox = yes location = prefix = separator = / type = private } namespace { hidden = no inbox = no list = yes location = maildir:/var/vmail/public:LAYOUT=fs prefix = public/ separator = / subscriptions = no type = public } passdb { args = /etc/dovecot/dovecot-ldap.conf driver = ldap } plugin { acl = vfile autocreate = Trash autocreate2 = Spam autocreate3 = Sent autocreate4 = Drafts autosubscribe = Trash autosubscribe2 = Spam autosubscribe3 = Sent autosubscribe4 = Drafts listescape_char = \ quota = maildir:User quota quota_rule = *:storage=0 sieve = /var/vmail/sieve/%d/%u/sieve-script sieve_dir = /var/vmail/sieve/%d/%u sieve_global_path = /var/vmail/sieve/default.sieve sieve_storage = /var/vmail/sieve/%d/%u } protocols = imap sieve service auth { executable = /usr/lib/dovecot/auth unix_listener /var/spool/postfix/private/auth { group = postfix mode = 0660 user = postfix } unix_listener auth-master { group = ebox mode = 0600 user = ebox } user = dovecot } service imap-login { inet_listener imap { address = * port = 143 } inet_listener imaps { address = * port = 993 } } service managesieve-login { inet_listener sieve { port = 4190 } } ssl_cert = </etc/dovecot/ssl/dovecot.pem ssl_key = </etc/dovecot/ssl/dovecot.pem userdb { args = /etc/dovecot/dovecot-ldap.conf driver = ldap } protocol imap { mail_plugins = listescape acl imap_acl } protocol lda { auth_socket_path = /var/run/dovecot/auth-master mail_plugins = sieve quota postmaster_address = admin at XX.eu } -- View this message in context: http://dovecot.2317879.n4.nabble.com/No-Access-to-public-folder-tp46696.html Sent from the Dovecot mailing list archive at Nabble.com.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, 12 Feb 2014, vupibi wrote:> I have some Issues with Dovecots public folder. > I only see the folder in users Mailbox but I cannot subscribe it or copy > mails in it.In another thread Timo said: "You can use "doveadm acl debug" command to try to figure out why a user can't see a shared mailbox. For example: doveadm acl debug -u user@domain Public/foo" That's one start. Another is: doveadm mailbox list -u user it should list all shared mailboxes, too. doveadm search -u user mailbox public/\* subject ....> My public file structure (folder: "/var/vmail/public/") looks like this: > > -rw-rw-rw- 1 ebox ebox 0 Feb 12 01:21 dovecot-acl-list > drwxrwsrwx 2 ebox ebox 4096 Feb 12 00:31 test > > (Wierd thing is that "dovecot-acl-list" is empty, why?)Because of "anyone", that is configured without the list file. However, as I understand the "public" namespace, no ACLs are required.> I can see the folder in my mail accounts but I dont have access to it.You mean you see "public/test", but don't see anything within, if you enter the mailbox? Or do you get an error, if you try to enter it? Are you sure, the structure is correct? Try to setup an account with mail_location = maildir:/var/vmail/public:LAYOUT=fs and verify it works at all. Maybe, make a 100% copy of that directory before: cp -a /var/vmail/public /var/vmail/testuser - -- Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQEVAwUBUv3Qt3D1/YhP6VMHAQK+gQf+OwpIk2ljglxXJ2xCinJFEmVTVd8oIm+O EibMM0xwLCx9a4WJ+UNc5cCGVG9GAGlBRifnE2yngE3y3gpAMDCGtpNDLSalTTWf NIBXqwQUfWAG1otuM6OwyU/PJAAkC6o8jHuV0/dkACnarlFMQLRFmGG31JTRAmqQ SX8Almxg9rCcsWxxKh9UvffHUSoPZPwZ7dGxiO5Z+SExF5MqAetAFhdTwyk+Uf6P LY/t0rWgYWiE34ZqabvyVAr/uRCFg0yiHeoHmNstMHXYz3j2MBCsfJeAbhsBJT0H PKEqOJQNQxuvpnT/fRgykQoqZU5WgjQkr8ttxUc9Q46K0qpCF12NJQ==QUpC -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, 12 Feb 2014, vupibi wrote:> I have some Issues with Dovecots public folder. > I only see the folder in users Mailbox but I cannot subscribe it or copy > mails in it.In another thread Timo said: "You can use "doveadm acl debug" command to try to figure out why a user can't see a shared mailbox. For example: doveadm acl debug -u user at domain Public/foo" That's one start. Another is: doveadm mailbox list -u user it should list all shared mailboxes, too. doveadm search -u user mailbox public/\* subject ....> My public file structure (folder: "/var/vmail/public/") looks like this: > > -rw-rw-rw- 1 ebox ebox 0 Feb 12 01:21 dovecot-acl-list > drwxrwsrwx 2 ebox ebox 4096 Feb 12 00:31 test > > (Wierd thing is that "dovecot-acl-list" is empty, why?)Because of "anyone", that is configured without the list file. However, as I understand the "public" namespace, no ACLs are required.> I can see the folder in my mail accounts but I dont have access to it.You mean you see "public/test", but don't see anything within, if you enter the mailbox? Or do you get an error, if you try to enter it? Are you sure, the structure is correct? Try to setup an account with mail_location = maildir:/var/vmail/public:LAYOUT=fs and verify it works at all. Maybe, make a 100% copy of that directory before: cp -a /var/vmail/public /var/vmail/testuser - -- Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQEVAwUBUv3Qt3D1/YhP6VMHAQK+gQf+OwpIk2ljglxXJ2xCinJFEmVTVd8oIm+O EibMM0xwLCx9a4WJ+UNc5cCGVG9GAGlBRifnE2yngE3y3gpAMDCGtpNDLSalTTWf NIBXqwQUfWAG1otuM6OwyU/PJAAkC6o8jHuV0/dkACnarlFMQLRFmGG31JTRAmqQ SX8Almxg9rCcsWxxKh9UvffHUSoPZPwZ7dGxiO5Z+SExF5MqAetAFhdTwyk+Uf6P LY/t0rWgYWiE34ZqabvyVAr/uRCFg0yiHeoHmNstMHXYz3j2MBCsfJeAbhsBJT0H PKEqOJQNQxuvpnT/fRgykQoqZU5WgjQkr8ttxUc9Q46K0qpCF12NJQ==QUpC -----END PGP SIGNATURE-----