On 05/20/2012 09:57 AM, Frank Bonnet wrote:
Le 19/05/2012 22:49, Timo Sirainen a écrit :
On 19.5.2012, at 23.40, Frank Bonnet wrote:
Le 19/05/2012 20:44, Timo Sirainen a écrit :
On Fri, 2012-05-18 at 14:31 +0200, Frank Bonnet wrote:
I'm trying to setup a server with public mailboxes only but I cannot succeed. Do you still have specific users? Do you want the users to have subscriptions? Do you need ACLs? yes I need specific users using ACL and yes I would like users have subsciptions OK, so then you need to have a per-user mail_location for the subscriptions. Something like:
namespace { list = children location = maildir:/var/mail/public prefix = public/ separator = / subscriptions = no type = public } namespace inbox { location = maildir:/var/lib/dovecot/empty:CONTROL=/var/mail/user/%u prefix = / inbox = yes }
With the "empty" directory being non-writable, the users can't create any private mailboxes, but with the writable control directory they can store subscriptions there.
I've configured as the followin , but I am unable to list folders inside Thunderbird with the "Subscribe" menu
# 2.1.6: /usr/local/etc/dovecot/dovecot.conf # OS: FreeBSD 7.4-RELEASE-p3 amd64 auth_debug = yes debug_log_path = /var/log/dovecot/debug.log disable_plaintext_auth = no info_log_path = /var/log/dovecot/info.log log_path = /var/log/dovecot/dovecot.log mail_debug = yes mail_full_filesystem_access = yes 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 = children location = maildir:/var/mail/public prefix = public/ separator = / subscriptions = no type = public } namespace inbox { inbox = yes location = maildir:/var/lib/dovecot/empty:CONTROL=/var/lib/dovecot/indexes/%u 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 = /usr/local/etc/dovecot/dovecot-ldap.conf.ext driver = ldap } plugin { acl = vfile sieve = ~/.dovecot.sieve sieve_dir = ~/sieve }
userdb { args = /usr/local/etc/dovecot/dovecot-ldap.conf.ext driver = ldap } protocol imap { mail_plugins = " imap_acl acl" }