[Dovecot] Can't access to shared mailbox

Angel L. Mateo amateo at um.es
Tue Feb 26 14:49:25 EET 2013


Hello,

	I have a user sharing a folder to me (and other users). This has worked 
for me for a time. And it is still working for some users, but not for me.

	I'm using thunderbird (17.0.3, ubuntu 12.04 package). My server is 
dovecot 2.1.9 (it's the same since it works). The user sharing its 
mailbox is:

$ sudo doveadm user t
userdb: t
   home      : /home/generica/02/001002
   uid       : 1002

	he is sharing its mailbox "cron". This is its dovecot-acl:

root at myotis31:/home/generica/02/001002/Maildir# cat dovecot-acl
user=<other user> kxeilprwts
user=<my user> kxeilprwts
user=<other user> kxeilprwts
user=<other user> kxeilprwts
user=<other user> kxeilprwts
user=<other user> kxeilprwts
user=<other user> kxeilprwts

	I can subscribe to this folder:

# sudo doveadm mailbox subscribe -u <myuser> shared.t.cron
# sudo doveadm mailbox list -u <myuser> -s
INBOX
...
...
shared.t.cron

	but when I try to access to this folder through thunderbird (what I 
really do in TB is subscribe/unsubscribe to it, because it is not 
actually listed in the folder list), I get:

Feb 26 13:35:03 myotis32 dovecot: imap(<myuser>): Error: Couldn't create 
namespace 'shared.' for user shared: userdb didn't return a home 
directory, but plugin setting quota used it (%h): dict:User 
quota::file:%h/Maildir/dovecot.quota

	With doveadm commands I can access to the shared folder from my user 
(not the user sharing):

$ sudo doveadm search -u <myuser> mailbox shared.t.cron | wc -l
652

	Other users can use this shared folder without any (apparent) problem.

	I have attached my doveconf -n.

	Any idea?

-- 
Angel L. Mateo Martínez
Sección de Telemática
Área de Tecnologías de la Información
y las Comunicaciones Aplicadas (ATICA)
http://www.um.es/atica
Tfo: 868889150
Fax: 868888337
-------------- next part --------------
# 2.1.9: /etc/dovecot/dovecot.conf
# OS: Linux 3.2.19um1 x86_64 Ubuntu 12.04.2 LTS 
auth_cache_size = 20 M
auth_cache_ttl = 1 days
auth_master_user_separator = *
auth_verbose = yes
default_process_limit = 1024
disable_plaintext_auth = no
log_timestamp = %Y-%m-%d %H:%M:%S
login_trusted_networks = 155.54.211.176/28
mail_access_groups = vmail
mail_gid = vmail
mail_location = maildir:~/Maildir:INDEX=/var/indexes/%2Ln/%Ln
mail_plugins = quota zlib lazy_expunge acl
mail_privileged_group = mail
maildir_very_dirty_syncs = 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
mdbox_rotate_size = 20 M
namespace {
  inbox = yes
  location = 
  prefix = 
  separator = .
}
namespace {
  hidden = yes
  list = no
  location = maildir:~/Maildir/expunged
  prefix = BORRADOS.
  separator = .
}
namespace {
  list = children
  location = maildir:%%h/Maildir:INDEX=~/Maildir/shared/%%u
  prefix = shared.%%u.
  separator = .
  subscriptions = no
  type = shared
}
passdb {
  args = /etc/dovecot/master-users
  driver = passwd-file
  master = yes
  pass = yes
}
passdb {
  args = /etc/dovecot/dovecot-ldap.conf.ext
  driver = ldap
}
passdb {
  args = session=yes cache_key=%Ln dovecot
  driver = pam
}
plugin {
  acl = vfile
  lazy_expunge = BORRADOS.
  quota = dict:User quota::file:%h/Maildir/dovecot.quota
  quota_rule = *:storage=10G
  quota_rule2 = Trash:storage=+1G
  sieve = ~/.dovecot.sieve
  sieve_dir = ~/sieve
  sieve_max_redirects = 15
  zlib_save = gz
  zlib_save_level = 6
}
postmaster_address = postmaster at um.es
protocols = imap pop3 lmtp sieve
service anvil {
  client_limit = 3075
}
service auth {
  client_limit = 4096
  unix_listener auth-userdb {
    mode = 0777
  }
}
service doveadm {
  inet_listener {
    port = 24245
  }
}
service imap {
  process_limit = 5120
  process_min_avail = 6
  vsz_limit = 512 M
}
service ipc {
  unix_listener ipc {
    user = dovecot
  }
}
service lmtp {
  inet_listener lmtp {
    port = 24
  }
  process_min_avail = 10
  vsz_limit = 512 M
}
service pop3 {
  process_min_avail = 6
}
ssl = no
ssl_cert = </etc/ssl/certs/dovecot.pem
ssl_key = </etc/ssl/private/dovecot.pem
userdb {
  driver = prefetch
}
userdb {
  args = /etc/dovecot/dovecot-ldap.conf.ext
  driver = ldap
}
protocol lda {
  mail_plugins = quota zlib lazy_expunge acl sieve
}
protocol imap {
  mail_plugins = quota zlib lazy_expunge acl imap_quota imap_acl
}
protocol lmtp {
  mail_plugins = quota zlib lazy_expunge acl sieve
}
protocol pop3 {
  pop3_logout_format = top=%t/%p, retr=%r/%b, del=%d/%m, in=%i, out=%o
}
local 155.54.211.160/27/27 {
  doveadm_password = ]dWhu5kB
}


More information about the dovecot mailing list