[Dovecot] Help with acl_shared_dict

Marcio Merlone marcio.merlone at a1.ind.br
Mon May 10 22:30:32 EEST 2010


Hi all,

I am trying to set up shared folders with dovecot 1.2.10-0xk1 on a 
ubuntu 8.04 server and so far so good. I managed to share a folder using 
GOSa GUI, but I cannot list it on Thunderbird yet, because of 
acl_shared_dict param (I guess).

I tried BDB as per the wiki:

plugin {
   acl_shared_dict = file:/var/lib/dovecot/shared-mailboxes.db
}

I gave shared-mailboxes.db 0666 perms but it keeps resetting permissions 
to 0600, which gives me "open(/var/lib/dovecot/shared-mailboxes.db) 
failed: Permission denied" errors. So I went to try sql dict, but could 
not find where to put sql server connection details like user, host, 
password.

dovecot -n (with sql dict):
# 1.2.10: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.24-27-server i686 Ubuntu 8.04.4 LTS
log_timestamp: %Y-%m-%d %H:%M:%S
protocols: imap imaps managesieve
ssl_cert_file: /etc/ssl/certs/dovecot.pem
ssl_key_file: /etc/ssl/private/dovecot.pem
disable_plaintext_auth: no
login_dir: /var/run/dovecot/login
login_executable(default): /usr/lib/dovecot/imap-login
login_executable(imap): /usr/lib/dovecot/imap-login
login_executable(managesieve): /usr/lib/dovecot/managesieve-login
mail_privileged_group: mail
mail_location: maildir:~/Maildir
mail_executable(default): /usr/lib/dovecot/imap
mail_executable(imap): /usr/lib/dovecot/imap
mail_executable(managesieve): /usr/lib/dovecot/managesieve
mail_plugins(default): quota imap_quota acl imap_acl
mail_plugins(imap): quota imap_quota acl imap_acl
mail_plugins(managesieve):
mail_plugin_dir(default): /usr/lib/dovecot/modules/imap
mail_plugin_dir(imap): /usr/lib/dovecot/modules/imap
mail_plugin_dir(managesieve): /usr/lib/dovecot/modules/managesieve
namespace:
   type: private
   separator: /
   inbox: yes
   list: yes
   subscriptions: yes
namespace:
   type: shared
   separator: /
   prefix: shared/%%u/
   location: maildir:%%h/Maildir:INDEX=~/Maildir/shared/%%u
   list: children
lda:
   postmaster_address: postmaster at a1.ind.br
   hostname: a1.ind.br
   mail_plugins: quota sieve acl
auth default:
   mechanisms: plain login
   passdb:
     driver: pam
     args: session=yes blocking=yes dovecot
   userdb:
     driver: passwd
   socket:
     type: listen
     client:
       path: /var/spool/postfix/private/dovecot
       mode: 436
       user: postfix
       group: postfix
plugin:
   quota: maildir:storage=10485760
   acl: vfile
   acl_anyone: allow
   acl_shared_dict: proxy::acl
dict:
   acl: mysql:/etc/dovecot-dict-sql.conf


(/etc/dovecot-dict-sql.conf is a copy from the wiki)


Have I missed something? Thanks and best regards.

-- 
Marcio Merlone



More information about the dovecot mailing list