Nevertheless, the subscriptions file needs to be there.

Aki

On 15.3.201911.28, Kunal A. wrote:
Dear Aki,
Got it corrected. Many thanks for pointing it out. There is another error about suscriptions. I don't have any folder with subscriptions. See the error below :-

Mar 15 05:22:10 machine dovecot[4804]: imap(email1@example.com)<4970><XjWwkh6EBsAAAAAAAAAAAAAAAAAAAAAB>: Error: stat(/mnt/computer/Email/fastmail/subscriptions) failed: Permission denied

dr-xr-xr-x root  root  /
drwxr-xr-x root  root  mnt
drwxr-xr-x vmail vmail computer
drwxrwxr-x vmail vmail Email
drwxrwxr-x vmail vmail fastmail
                       subscriptions - No such file or directory

Best Regards


On Fri, Mar 15, 2019 at 3:02 AM Aki Tuomi <aki.tuomi@open-xchange.com> wrote:


On 15.3.2019 8.40, Kunal A. via dovecot wrote:
Hey,
Could someone help figure out whats wrong with my config based on the debug below?

What I am trying to achieve is to get email1@example.com to read emails in the Public directory that is stored on /run/media/computer/Storage/Email/fastmail/Archive with the preface Public/Archive  .

The ACL has been set for anyone with permissions to lookup,read,write as shown below:-

doveadm acl get -u email1@example.com Public/Archive
ID     Global Rights                                               
anyone        lookup read write    

But when I try to access the emails for email1@example.com , there are no folders.
Could someone here help review my debug log and advise what could be causing this (dovecot -n output is provided below the debug message)

Many thanks for assistance.
Thanks


Mar 15 01:29:28 machine dovecot[2100]: imap(email1@example.com)<5167><i8fdSBuE8uMAAAAAAAAAAAAAAAAAAAAB>: Error: open(/run/media/computer/Storage/Email/fastmail/dovecot-acl-list) failed: Permission denied

Mar 15 01:29:28 machine dovecot[2100]: imap(email1@example.com)<5167><i8fdSBuE8uMAAAAAAAAAAAAAAAAAAAAB>: Error: stat(/run/media/computer/Storage/Email/fastmail) failed: Permission denied (euid=5000(vmail) egid=5000(vmail) missing +w perm: /run/media/computer/Storage/Email/fastmail stat(/run/media/computer/Storage/Email/fastmail) failed: Permission denied, dir owned by 0:0 mode=0775)

Mar 15 01:29:28 machine dovecot[2100]: imap(email1@example.com)<5167><i8fdSBuE8uMAAAAAAAAAAAAAAAAAAAAB>: Error: stat(/run/media/computer/Storage/Email/fastmail/.temp.e480machine.5167.a6506e27bd37a68a) failed: Permission denied

Mar 15 01:30:14 machine dovecot[2100]: imap(email1@example.com)<5167><i8fdSBuE8uMAAAAAAAAAAAAAAAAAAAAB>: Error: mkdir(/run/media/computer/Storage/Email/fastmail) failed: Permission denied (euid=5000(vmail) egid=5000(vmail) missing +w perm: /run/media/computer, we're not in group 0(root), dir owned by 0:0 mode=0775)


Maybe try fix these?


Aki