I am trying to get a shared folder to work. I created a directory /var/mail/CS:
drwxr-xr-x 3 root root 4096 Mar 10 16:09 /var/mail/CS
Inside of that I put
-rw-rw---- 1 root cs 0 Mar 10 16:49 dovecot-shared drwxrws--- 5 root cs 4096 Mar 10 16:09 .Incoming
When I try to subscribe to Incoming, I get the following error:
Mar 10 16:45:17 scacifs02-lnx dovecot: imap-login: Login: user=<stephen>, method=PLAIN, rip=10.212.202.63, lip=10.212.166.21, TLS Mar 10 16:45:17 scacifs02-lnx dovecot: IMAP(stephen): mkdir(/var/mail/CS/cur) failed: Permission denied Mar 10 16:45:28 scacifs02-lnx dovecot: IMAP(stephen): Connection closed
whats happening here? Why is dovecot even trying to create var/mail/CS/cur?
Version = 1.0.7
protocols: imaps listen: * ssl_cert_file: /etc/pki/dovecot/certs/scacifs02-lnx.dovecot.crt ssl_key_file: /etc/pki/dovecot/private/scacifs02-lnx.dovecot.key disable_plaintext_auth: yes login_dir: /var/run/dovecot/login login_executable: /usr/libexec/dovecot/imap-login mail_location: maildir:~/Maildir maildir_copy_with_hardlinks: yes namespace: type: private separator: / inbox: yes namespace: type: public separator: / prefix: CS/ location: maildir:/var/mail/CS:CONTROL=~/Maildir/CS:INDEX=~/Maildir/CS auth default: passdb: driver: pam userdb: driver: passwd-file args: /etc/imap.passwd
-- Stephen Carville