Hi Timo, I've got a weird problem on our dovecot. We're trying to setup private shared folder access. I have 2 users. tom at mailbox.com and system at mailbox.com. I have set the ACL's on all the folders (and subfolders) on system at mailbox.com. However, I'm not getting any of them listed when I check tom at mailbox.com <mailto:tom at mailbox.com's> 's IMAP folders. Our configuration is below (we're migrating from Courier hence the INBOX.): In 10-mail.conf: namespace { type = private prefix = INBOX. separator = . inbox = yes list = yes hidden = yes } namespace { type = shared separator = . prefix = INBOX.Shared.%%u location = maildir:%%h/Maildir:INDEX=~/Maildir/Shared/%%u subscriptions = no list = children } mail_plugins = acl protocol imap { mail_plugins = $mail_plugins imap_acl } In 90-acl.conf: plugin { #acl = vfile:/etc/dovecot/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/vpopmail/domains/%d/shared-mailboxes } Have I missed anthing!?!? Thanks in advance! Tom
On 2011-09-15 9:40 AM, Tom Clark <tom at elysium.ltd.uk> wrote:> Have I missed anthing!?!?Only to please not copy/paste from your config files, but post output of doveconf -n. This ensures that your settings really are what you think they are. -- Best regards, Charles
Fair enough. Here is output from doveconf -n # 2.0.13: /etc/dovecot/dovecot.conf # OS: Linux 2.6.35.6-45.fc14.x86_64 x86_64 Fedora release 14 (Laughlin) auth_debug_passwords = yes auth_verbose = yes auth_verbose_passwords = plain base_dir = /var/run/dovecot/ disable_plaintext_auth = no first_valid_uid = 1 login_greeting = Ready mail_debug = yes mail_location = maildir:~/Maildir mail_plugins = acl 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 mbox_write_locks = fcntl namespace { hidden = yes inbox = yes list = yes location prefix = INBOX. separator = . type = private } namespace { list = children location maildir:/var/vpopmail/domains/%d/%%n/Maildir:INDEX=~/Maildir/Shared/%d/%%u prefix = INBOX.Shared.%%u separator = . subscriptions = no type = shared } passdb { driver = vpopmail } plugin { acl = vfile acl_shared_dict = file:/var/vpopmail/domains/%d/shared-mailboxes sieve = ~/.dovecot.sieve sieve_dir = ~/sieve } ssl_cert = </etc/pki/tls/certs/imap.pem ssl_key = </etc/pki/tls/certs/imap.pem userdb { driver = vpopmail } protocol imap { mail_plugins = acl imap_acl ssl = yes ssl_cert = </etc/pki/tls/certs/imap.pem ssl_key = </etc/pki/tls/certs/imap.pem } protocol pop3 { ssl = yes ssl_cert = </etc/pki/tls/certs/pop3.pem ssl_key = </etc/pki/tls/certs/pop3.pem } I have made some progress. %%d was only returning mailbox not mailbox.com. Tom -----Original Message----- From: dovecot-bounces at dovecot.org [mailto:dovecot-bounces at dovecot.org] On Behalf Of Charles Marcus Sent: 15 September 2011 3:23 PM To: dovecot at dovecot.org Subject: Re: [Dovecot] Shared folder not listing On 2011-09-15 9:40 AM, Tom Clark <tom at elysium.ltd.uk> wrote:> Have I missed anthing!?!?Only to please not copy/paste from your config files, but post output of doveconf -n. This ensures that your settings really are what you think they are. -- Best regards, Charles