On 25 February 2019 18:19 Aki Tuomi via dovecot <dovecot@dovecot.org> wrote:
On 25 February 2019 17:56 Kunal A. via dovecot <dovecot@dovecot.org> wrote:
Hey Guys! Many thanks for your feedback. I have kind of gotten it to work but I just struggling to get the permissions of the folder correct. Highly appreciate if someone could help me set the correct permission settings for it . Terribly sorry for my ignorance.
My error msg is listed below : -
doveadm(vmail): Error: stat(/run/media/computer/Storage/Email/tmp) failed: Permission denied (euid=5000(vmail) egid=5000(vmail) missing +x perm: /run/media/computer, dir owned by 0:0 mode=0750) doveadm(vmail): Error: Can't open mailbox Storage/Email: stat(/run/media/computer/Storage/Email/tmp) failed: Permission denied (euid=5000(vmail) egid=5000(vmail) missing +x perm: /run/media/computer, dir owned by 0:0
You need to give write permissions to vmail on /run/media/computer/Storage/Email
You can
- change owner to vmail
- change group to vmail and add rwx for group
- use posix ACLs
- change mode to 0777 (unsafe)
Aki
And the same applies for all files & directories under /run/media/computer/Storage/Email
Aki