Hi,
I can't access a shared folder , when I try to debug
doveadm acl debug -u john.doe shared/ a_shared_mail /inbox
I receive this message:
doveadm acl debug -u john.doe shared/a_shared_mail/inbox doveadm(john.doe): Error: stat(/home/a_shared_mail/Maildir/.inbox) failed: Permission denied doveadm(john.doe): Error: stat(/home/a_shared_mail/Maildir/.inbox) failed: Permission denied doveadm(john.doe): Error: stat(/home/a_shared_mail/Maildir/.inbox/tmp) failed: Permission denied (euid=1003(john.doe) egid=1004(john.doe) missing +x perm: /home/a_shared_mail/Maildir, dir owned by 1006:1007 mode=0700) doveadm(john.doe): Error: Can't open mailbox shared/a_shared_mail/inbox:Internal error occurred. Refer to server log for more information. [2014-02-10 17:30:42]
unfortunately I don't see anything useful in my logs:
Feb 10 17:27:59 ip-xx-xx-xxx-xx dovecot: master: Warning: Killed with signal 15 (by pid=1 uid=0 code=kill)
Feb 10 17:27:59 ip-xx-xx-xxx-xx dovecot: log: Warning: Killed with signal 15 (by pid=1 uid=0 code=kill)
Feb 10 17:27:59 ip-xx-xx-xxx-xx dovecot: master: Dovecot v2.0.19 starting up (core dumps disabled)
Feb 10 17:30:23 ip-xx-xx-xxx-xx dovecot: auth: Debug: Loading modules from directory: /usr/lib/dovecot/modules/auth
Feb 10 17:30:23 ip-xx-xx-xxx-xx dovecot: auth: Debug: Module loaded: /usr/lib/dovecot/modules/auth/libdriver_mysql.so
Feb 10 17:30:23 ip-xx-xx-xxx-xx dovecot: auth: Debug: auth client connected (pid=3398)
Feb 10 17:30:28 ip-xx-xx-xxx-xx dovecot: auth: Debug: client in: AUTH#0111#011PLAIN#011service=imap#011secured#011lip=127.0.0.1#011rip=127.0.0.1#011lport=143#011rport=40438#011resp=AHRlY2huaWNzADFMd01Hek0wZjdIVzc3dWZaaWhBWUdlSTJIWmQ5cEdi
Feb 10 17:30:28 ip-xx-xx-xxx-xx dovecot: auth-worker: Debug: Loading modules from directory: /usr/lib/dovecot/modules/auth
Feb 10 17:30:28 ip-xx-xx-xxx-xx dovecot: auth-worker: Debug: Module loaded: /usr/lib/dovecot/modules/auth/libdriver_mysql.so
Feb 10 17:30:28 ip-xx-xx-xxx-xx dovecot: auth-worker: Debug: pam(a_shared_mail,127.0.0.1): lookup service=dovecot
Feb 10 17:30:28 ip-xx-xx-xxx-xx dovecot: auth-worker: Debug: pam(a_shared_mail,127.0.0.1): #1/1 style=1 msg=Password:
Feb 10 17:30:28 ip-xx-xx-xxx-xx dovecot: auth: Debug: client out: OK#0111#011user=a_shared_mail
Feb 10 17:30:28 ip-xx-xx-xxx-xx dovecot: auth: Debug: master in: REQUEST#0113071934465#0113398#0111#011530aafc2ed51a8ee026b48c2bfa924d3
Feb 10 17:30:28 ip-xx-xx-xxx-xx dovecot: auth: Debug: passwd(a_shared_mail,127.0.0.1): lookup
Feb 10 17:30:28 ip-xx-xx-xxx-xx dovecot: auth: Debug: master out: USER#0113071934465#011a_shared_mail#011system_groups_user=a_shared_mail#011uid=1006#011gid=1007#011home=/home/a_shared_mail
Feb 10 17:30:28 ip-xx-xx-xxx-xx dovecot: imap-login: Login: user=
my dovecot -n is this:
# 2.0.19: /etc/dovecot/dovecot.conf # OS: Linux 3.2.0-58-virtual x86_64 Ubuntu 12.04.4 LTS ext4 auth_debug = yes auth_debug_passwords = yes auth_verbose = yes disable_plaintext_auth = no hostname = remote.xxxx.xx mail_debug = yes mail_location = maildir:/home/%u/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 ihave namespace { inbox = yes location = prefix = separator = / type = private } namespace { list = children location = maildir:%%h/Maildir:INDEX=%h/Maildir/shared/%%u prefix = shared/%%u/ separator = / subscriptions = yes type = shared } passdb { driver = pam } plugin { acl = vfile acl_shared_dict = file:/var/lib/dovecot/shared-mailboxes sieve = ~/.dovecot.sieve sieve_dir = ~/sieve } postmaster_address = xxx@xx.xx protocols = " imap sieve pop3 sieve" service dict { unix_listener dict { group = mail mode = 0660 user = vmail } } service managesieve-login { inet_listener sieve { port = 4190 } } ssl_cert =
The permissions on /var/lib/dovecot/ are these:
-rw-r--r-- 1 vmail mail 0 Feb 7 18:07 shared-mailboxes -rw-r--r-- 1 vmail mail 230 Feb 10 15:55 ssl-parameters.dat
But the dict file it's always empty, I tried almost everything and I don't understand where I'm doing wrong.
Best regards Francesco
participants (1)
-
develop