[Dovecot] Syncing shared mailboxes
Hi, while trying to sync the mailboxes of several users who use and share their mailboxes dsync prints this message: dsync-local(user-who-uses-shared-mailbox): Warning: Subscriptions file /home/user-who-uses-shared-mailbox/Maildir/subscriptions: Removing invalid entry: shared/sharing-user/shared-folder The problem is: Every user has to subscribe the shared folder again after each run of dsync... Is dsync capable of syncing shared mailboxes? Are there any preliminaries to do so? thanks in advance, Knud
[Dovecot] noaclright
Hi, I recently upgraded to openSuse 12.1 which comes with dovecot 2.0.14. Because of mail-client-problems I am running one dovecot which requires authentication via a client-certificate and another one which can be used without a certificate. (Configurations can be found below.) Since the upgrade our shared mailbox is no longer visible. I tried to repair this by setting the ACLs once again (using imap-acl in Thunderbird) but every time I try to set a new ACL the tool says noaclright and dovecot logs the following messages: Dec 7 14:31:14 mailbox dovecot: imap(sharing-user): Error: fstat(/home/sharing-user/Maildir/.shared-folder/dovecot-acl.lock) failed: No such file or directory Dec 7 14:31:14 mailbox dovecot: imap(sharing-user): Error: file_dotlock_open(/home/sharing-user/Maildir/.shared-folder/dovecot-acl) failed: No such file or directory Needless to say the file exists and its contents looks like it should. (Every line is an ACL like user=testuser ilrws) I took a look at the changelog from 2.0.14 onwards and since it says nothing about my problem I am not looking forward to compiling dovecot myself and installing it. Any ideas why this is happening? Is this a known problem? Any help is appreciated, Knud Dovecot-on-port-992- mailbox:~ # dovecot -n # 2.0.14: /etc/dovecot/dovecot.conf # OS: Linux 3.1.0-1.2-desktop x86_64 openSUSE 12.1 (x86_64) auth_mechanisms = plain login auth_socket_path = /var/run/dovecot/auth-master default_client_limit = 1600 default_process_limit = 512 listen = * mail_location = maildir:~/Maildir:INBOX=~/Maildir/.INBOX 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=~/Maildir/shared/%%u prefix = shared/%%u/ separator = / subscriptions = no type = shared } passdb { driver = pam } plugin { acl = vfile:/etc/dovecot/acls:cache_secs=300 acl_shared_dict = file:/var/lib/dovecot/shared-mailboxes quota = maildir:alle Nutzer quota_rule = *:storage=1GB sieve = ~/.dovecot.sieve sieve_dir = ~/sieve } protocols = imap quota_full_tempfail = yes service auth { unix_listener /var/spool/postfix/private/auth { group = postfix mode = 0660 user = postfix } } service imap-login { inet_listener imap { port = 0 } inet_listener imaps { port = 992 ssl = yes } } ssl_ca = /etc/ssl/certs/graband-ca.pem ssl_cert = /etc/ssl/certs/mailbox5.crt ssl_key = /etc/ssl/private/mailbox.gpbs.net.key.pem userdb { driver = passwd } protocol imap { mail_plugins = acl imap_acl quota imap_quota } Dovecot-on-port-993- mailbox:~ # dovecot -c /etc/dovecot-cert/dovecot.conf -n # 2.0.14: /etc/dovecot-cert/dovecot.conf # OS: Linux 3.1.0-1.2-desktop x86_64 openSUSE 12.1 (x86_64) auth_mechanisms = plain login auth_socket_path = /var/run/dovecot-cert/auth-master auth_ssl_require_client_cert = yes base_dir = /var/run/dovecot-cert/ default_client_limit = 1600 default_process_limit = 512 listen = * mail_location = maildir:~/Maildir:INBOX=~/Maildir/.INBOX 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=~/Maildir/shared/%%u prefix = shared/%%u/ separator = / subscriptions = no type = shared } passdb { driver = pam } plugin { acl = vfile:/etc/dovecot/acls:cache_secs=300 acl_shared_dict = file:/var/lib/dovecot/shared-mailboxes quota = maildir:alle Nutzer quota_rule = *:storage=1GB sieve = ~/.dovecot.sieve sieve_dir = ~/sieve } protocols = imap quota_full_tempfail = yes service imap-login { inet_listener imap { port = 0 } inet_listener imaps { port = 993 ssl = yes } } ssl_ca = /etc/ssl/certs/graband-ca.pem ssl_cert = /etc/ssl/certs/mailbox5.crt ssl_key = /etc/ssl/private/mailbox.gpbs.net.key.pem ssl_verify_client_cert = yes userdb { driver = passwd } protocol imap { mail_plugins = acl imap_acl quota imap_quota } -