<div dir="ltr"><div>Dear Aki,</div><div>Many thanks again. Thanks for explaining this. <br></div><div>Very grateful for your assistance.</div><div>Thanks a bunch !<br></div><div>Kunal</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Feb 25, 2019 at 11:56 AM Aki Tuomi <<a href="mailto:aki.tuomi@open-xchange.com">aki.tuomi@open-xchange.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">At minimum directories <br>
<br>
/run/media/computer/Storage/<br>
<br>
need to have o+x, so you can do<br>
<br>
chmod o+x /run /run/media /run/media/computer /run/media/computer/Storage<br>
<br>
and<br>
<br>
chown -R vmail:vmail /run/media/computer/Storage/Email<br>
<br>
Aki<br>
<br>
> On 25 February 2019 18:47 Kunal A. via dovecot <<a href="mailto:dovecot@dovecot.org" target="_blank">dovecot@dovecot.org</a>> wrote:<br>
> <br>
> <br>
> Dear Aki,<br>
> I have given permission to the folders Storage/Email to vmail.<br>
> But the upper hierarchy is not under vmail .<br>
> <br>
> Full directory = /run/media/computer/Storage/Email<br>
> <br>
> /run/media/computer = not vmail <br>
> Storage/Email = vmail<br>
> <br>
> How do I get this corrected ? It seems like vmail needs access through all through run/media/computer .<br>
> <br>
> Please excuse my ignorance as I am not very familiar with filesystem permissions. :-/ <br>
> <br>
> Sincere apologies for the trouble.<br>
> <br>
> Thanks<br>
> Kunal A.<br>
> <br>
> <br>
> <br>
> <br>
> <br>
> <br>
> <br>
> <br>
> On Mon, Feb 25, 2019 at 11:36 AM Aki Tuomi <<a href="mailto:aki.tuomi@open-xchange.com" target="_blank">aki.tuomi@open-xchange.com</a>> wrote:<br>
> > I would only run it for the mail folders to be safe.<br>
> > <br>
> > Aki<br>
> > <br>
> > > On 25 February 2019 18:34 Kunal A. via dovecot <<a href="mailto:dovecot@dovecot.org" target="_blank">dovecot@dovecot.org</a>> wrote:<br>
> > > <br>
> > > <br>
> > > Dear Aki,<br>
> > > Many thanks for your feedback. Its what I figured I should do but I was not sure how safe it was.<br>
> > > <br>
> > > Would it make sense to execute the following to /run/media/computer so that the user/group is vmail?<br>
> > > sudo chown -R vmail:vmail to the /run folder ? <br>
> > > <br>
> > > Also if this practice is safe to perform? <br>
> > > <br>
> > > Thanks<br>
> > > Kunal A<br>
> > > <br>
> > > <br>
> > > <br>
> > > On Mon, Feb 25, 2019 at 11:20 AM Aki Tuomi <<a href="mailto:aki.tuomi@open-xchange.com" target="_blank">aki.tuomi@open-xchange.com</a>> wrote:<br>
> > > > <br>
> > > > > On 25 February 2019 18:19 Aki Tuomi via dovecot <<a href="mailto:dovecot@dovecot.org" target="_blank">dovecot@dovecot.org</a>> wrote:<br>
> > > > > <br>
> > > > > <br>
> > > > > > On 25 February 2019 17:56 Kunal A. via dovecot <<a href="mailto:dovecot@dovecot.org" target="_blank">dovecot@dovecot.org</a>> wrote:<br>
> > > > > > <br>
> > > > > > <br>
> > > > > > Hey Guys!<br>
> > > > > > 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. <br>
> > > > > > <br>
> > > > > > My error msg is listed below : -<br>
> > > > > > <br>
> > > > > > 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)<br>
> > > > > > 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 <br>
> > > > > > <br>
> > > > > <br>
> > > > > You need to give write permissions to vmail on /run/media/computer/Storage/Email<br>
> > > > > <br>
> > > > > You can <br>
> > > > > - change owner to vmail<br>
> > > > > - change group to vmail and add rwx for group<br>
> > > > > - use posix ACLs<br>
> > > > > - change mode to 0777 (unsafe)<br>
> > > > > <br>
> > > > > Aki<br>
> > > > <br>
> > > > And the same applies for all files & directories under /run/media/computer/Storage/Email<br>
> > > > <br>
> > > > Aki<br>
> > > ><br>
> ><br>
</blockquote></div>