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 at 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 at example.com Public/Archive ID Global Rights anyone lookup read write But when I try to access the emails for email1 at 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 Debug Message: Mar 15 01:26:47 machine dovecot[2100]: imap-login: Login: user=< email1 at example.com>, method=PLAIN, rip=::1, lip=::1, mpid=5167, secured, session=<i8fdSBuE8uMAAAAAAAAAAAAAAAAAAAAB> Mar 15 01:26:47 machine dovecot[2100]: imap(email1 at example.com)<5167><i8fdSBuE8uMAAAAAAAAAAAAAAAAAAAAB>: Debug: Loading modules from directory: /usr/lib64/dovecot Mar 15 01:26:47 machine dovecot[2100]: imap(email1 at example.com)<5167><i8fdSBuE8uMAAAAAAAAAAAAAAAAAAAAB>: Debug: Module loaded: /usr/lib64/dovecot/lib01_acl_plugin.so Mar 15 01:26:47 machine dovecot[2100]: imap(email1 at example.com)<5167><i8fdSBuE8uMAAAAAAAAAAAAAAAAAAAAB>: Debug: Module loaded: /usr/lib64/dovecot/lib02_imap_acl_plugin.so Mar 15 01:26:47 machine dovecot[2100]: imap(email1 at example.com)<5167><i8fdSBuE8uMAAAAAAAAAAAAAAAAAAAAB>: Debug: Module loaded: /usr/lib64/dovecot/lib10_quota_plugin.so Mar 15 01:26:47 machine dovecot[2100]: imap(email1 at example.com)<5167><i8fdSBuE8uMAAAAAAAAAAAAAAAAAAAAB>: Debug: Module loaded: /usr/lib64/dovecot/lib11_imap_quota_plugin.so Mar 15 01:26:47 machine dovecot[2100]: imap(email1 at example.com)<5167><i8fdSBuE8uMAAAAAAAAAAAAAAAAAAAAB>: Debug: Effective uid=5000, gid=5000, home=/var/mail/vhosts/ example.com/email1 Mar 15 01:26:47 machine dovecot[2100]: imap(email1 at example.com)<5167><i8fdSBuE8uMAAAAAAAAAAAAAAAAAAAAB>: Debug: quota: No quota setting - plugin disabled Mar 15 01:26:47 machine dovecot[2100]: imap(email1 at example.com)<5167><i8fdSBuE8uMAAAAAAAAAAAAAAAAAAAAB>: Debug: Namespace inbox: type=private, prefix=INBOX/, sep=/, inbox=yes, hidden=no, list=yes, subscriptions=yes location=maildir:~/Maildir Mar 15 01:26:47 machine dovecot[2100]: imap(email1 at example.com)<5167><i8fdSBuE8uMAAAAAAAAAAAAAAAAAAAAB>: Debug: maildir++: root=/var/mail/vhosts/example.com/email1/Maildir, index=, indexpvt=, control=, inbox=/var/mail/vhosts/example.com/email1/Maildir, altMar 15 01:26:47 machine dovecot[2100]: imap(email1 at example.com)<5167><i8fdSBuE8uMAAAAAAAAAAAAAAAAAAAAB>: Debug: acl: initializing backend with data: vfile Mar 15 01:26:47 machine dovecot[2100]: imap(email1 at example.com)<5167><i8fdSBuE8uMAAAAAAAAAAAAAAAAAAAAB>: Debug: acl: acl username = email1 at example.com Mar 15 01:26:47 machine dovecot[2100]: imap(email1 at example.com)<5167><i8fdSBuE8uMAAAAAAAAAAAAAAAAAAAAB>: Debug: acl: owner = 1 Mar 15 01:26:47 machine dovecot[2100]: imap(email1 at example.com)<5167><i8fdSBuE8uMAAAAAAAAAAAAAAAAAAAAB>: Debug: acl vfile: Global ACLs disabled Mar 15 01:26:47 machine dovecot[2100]: imap(email1 at example.com)<5167><i8fdSBuE8uMAAAAAAAAAAAAAAAAAAAAB>: Debug: Namespace : type=public, prefix=Public/, sep=/, inbox=no, hidden=no, list=children, subscriptions=yes location=maildir:/run/media/computer/Storage/Email/fastmail:LAYOUT=fs Mar 15 01:26:47 machine dovecot[2100]: imap(email1 at example.com)<5167><i8fdSBuE8uMAAAAAAAAAAAAAAAAAAAAB>: Debug: fs: root=/run/media/computer/Storage/Email/fastmail, index=, indexpvt=, control=, inbox=, altMar 15 01:26:47 machine dovecot[2100]: imap(email1 at example.com)<5167><i8fdSBuE8uMAAAAAAAAAAAAAAAAAAAAB>: Debug: acl: initializing backend with data: vfile Mar 15 01:26:47 machine dovecot[2100]: imap(email1 at example.com)<5167><i8fdSBuE8uMAAAAAAAAAAAAAAAAAAAAB>: Debug: acl: acl username = email1 at example.com Mar 15 01:26:47 machine dovecot[2100]: imap(email1 at example.com)<5167><i8fdSBuE8uMAAAAAAAAAAAAAAAAAAAAB>: Debug: acl: owner = 0 Mar 15 01:26:47 machine dovecot[2100]: imap(email1 at example.com)<5167><i8fdSBuE8uMAAAAAAAAAAAAAAAAAAAAB>: Debug: acl vfile: Global ACLs disabled Mar 15 01:26:47 machine dovecot[2100]: imap(email1 at example.com)<5167><i8fdSBuE8uMAAAAAAAAAAAAAAAAAAAAB>: Debug: Namespace : type=private, prefix=, sep=, inbox=no, hidden=yes, list=no, subscriptions=no location=fail::LAYOUT=none Mar 15 01:26:47 machine dovecot[2100]: imap(email1 at example.com)<5167><i8fdSBuE8uMAAAAAAAAAAAAAAAAAAAAB>: Debug: none: root=, index=, indexpvt=, control=, inbox=, altMar 15 01:28:37 machine dovecot[2100]: imap(email1 at example.com)<5167><i8fdSBuE8uMAAAAAAAAAAAAAAAAAAAAB>: Debug: Mailbox INBOX: Mailbox opened because: SELECT Mar 15 01:28:37 machine dovecot[2100]: imap(email1 at example.com)<5167><i8fdSBuE8uMAAAAAAAAAAAAAAAAAAAAB>: Debug: acl vfile: file /var/mail/vhosts/ example.com/email1/Maildir/dovecot-acl not found Mar 15 01:29:28 machine dovecot[2100]: imap(email1 at example.com)<5167><i8fdSBuE8uMAAAAAAAAAAAAAAAAAAAAB>: Debug: Mailbox Public/Archive: Mailbox opened because: SELECT Mar 15 01:29:28 machine dovecot[2100]: imap(email1 at example.com)<5167><i8fdSBuE8uMAAAAAAAAAAAAAAAAAAAAB>: Debug: acl vfile: no access to file /run/media/computer/Storage/Email/fastmail/Archive/dovecot-acl Mar 15 01:29:28 machine dovecot[2100]: imap(email1 at 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 at 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 at example.com)<5167><i8fdSBuE8uMAAAAAAAAAAAAAAAAAAAAB>: Debug: Namespace Public/: Using permissions from /run/media/computer/Storage/Email/fastmail: mode=0700 gid=default Mar 15 01:29:28 machine dovecot[2100]: imap(email1 at example.com)<5167><i8fdSBuE8uMAAAAAAAAAAAAAAAAAAAAB>: Error: stat(/run/media/computer/Storage/Email/fastmail/.temp.e480machine.5167.a6506e27bd37a68a) failed: Permission denied Mar 15 01:29:35 machine dovecot[2100]: imap(email1 at example.com)<5167><i8fdSBuE8uMAAAAAAAAAAAAAAAAAAAAB>: Debug: Mailbox INBOX/Public/Archive: Mailbox opened because: SELECT Mar 15 01:29:35 machine dovecot[2100]: imap(email1 at example.com)<5167><i8fdSBuE8uMAAAAAAAAAAAAAAAAAAAAB>: Debug: acl vfile: file /var/mail/vhosts/ example.com/email1/Maildir/.Public.Archive/dovecot-acl not found Mar 15 01:30:14 machine dovecot[2100]: imap(email1 at example.com)<5167><i8fdSBuE8uMAAAAAAAAAAAAAAAAAAAAB>: Debug: acl vfile: file /var/mail/vhosts/ example.com/email1/Maildir/.Trash/dovecot-acl not found Mar 15 01:30:14 machine dovecot[2100]: imap(email1 at 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) Mar 15 02:00:14 machine dovecot[2100]: imap(email1 at example.com)<5167><i8fdSBuE8uMAAAAAAAAAAAAAAAAAAAAB>: Disconnected for inactivity in=155 out=1494 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 dovecot -n Output : # 2.3.3 (dcead646b): /etc/dovecot/dovecot.conf # OS: Linux 4.20.14-200.fc29.x86_64 x86_64 Fedora release 29 (Twenty Nine) # Hostname: machine auth_mechanisms = plain login mail_debug = yes mail_gid = vmail mail_location = maildir:~/Maildir mail_plugins = acl quota mail_privileged_group = mail mail_uid = vmail mbox_write_locks = fcntl namespace { list = children location = maildir:/run/media/computer/Storage/Email/fastmail:LAYOUT=fs prefix = Public/ separator = / subscriptions = yes type = public } namespace inbox { inbox = yes list = yes location mailbox Drafts { special_use = \Drafts } mailbox Junk { special_use = \Junk } mailbox Sent { special_use = \Sent } mailbox "Sent Messages" { special_use = \Sent } mailbox Trash { special_use = \Trash } prefix = INBOX/ separator = / } passdb { driver = pam } passdb { args = /etc/dovecot/dovecot-sql.conf.ext driver = sql } plugin { acl = vfile acl_shared_dict = file:/var/mail/vhosts/example.com/Sharedbox } postmaster_address = postmaster at example.com protocols = imap pop3 service auth-worker { user = vmail } service auth { unix_listener /var/spool/postfix/private/auth { group = postfix mode = 0666 user = postfix } unix_listener auth-userdb { mode = 0600 user = vmail } user = dovecot } service imap-login { inet_listener imap { port = 143 } inet_listener imaps { port = 993 ssl = yes } } service lmtp { unix_listener /var/spool/postfix/private/dovecot-lmtp { group = postfix mode = 0600 user = postfix } } service pop3-login { inet_listener pop3 { port = 0 } inet_listener pop3s { port = 995 ssl = yes } } ssl = required ssl_cert = </etc/pki/dovecot/certs/dovecot.pem ssl_cipher_list = PROFILE=SYSTEM ssl_key = # hidden, use -P to show it userdb { driver = passwd } userdb { args = uid=vmail gid=vmail home=/var/mail/vhosts/%d/%n driver = static } protocol lmtp { mail_plugins = quota acl sieve quota } protocol lda { mail_plugins = quota acl sieve } protocol imap { mail_plugins = acl quota imap_acl quota acl imap_quota } -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20190315/d8a42a3d/attachment-0001.html>
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 at example.com > <mailto:email1 at 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 at example.com <mailto:email1 at example.com> > Public/Archive > ID???? Global Rights??????????????????????????????????????????????? > anyone??????? lookup read write???? > > But when I try to access the emails for email1 at example.com > <mailto:email1 at 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 at example.com > <mailto:email1 at 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 at example.com > <mailto:email1 at 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 at example.com > <mailto:email1 at 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 at example.com > <mailto:email1 at 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20190315/2f491d1e/attachment.html>
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 at example.com > <mailto:email1 at 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 at open-xchange.com > <mailto:aki.tuomi at 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 at example.com >> <mailto:email1 at 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 at example.com <mailto:email1 at example.com> >> Public/Archive >> ID???? Global Rights??????????????????????????????????????????????? >> anyone??????? lookup read write???? >> >> But when I try to access the emails for email1 at example.com >> <mailto:email1 at 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 at example.com >> <mailto:email1 at 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 at example.com >> <mailto:email1 at 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 at example.com >> <mailto:email1 at 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 at example.com >> <mailto:email1 at 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 >-------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20190315/2fe3fcd5/attachment.html>
It's a file, `touch subscriptions` Aki On 15.3.2019 11.36, Kunal A. wrote:> Oh okay. How do correct this? Create the file/folder for this?? ie > mkdir suscriptions ? > > > On Fri, Mar 15, 2019 at 5:29 AM Aki Tuomi <aki.tuomi at open-xchange.com > <mailto:aki.tuomi at open-xchange.com>> wrote: > > 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 at example.com >> <mailto:email1 at 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 at open-xchange.com <mailto:aki.tuomi at 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 at example.com >>> <mailto:email1 at 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 at example.com >>> <mailto:email1 at example.com> Public/Archive >>> ID???? Global >>> Rights??????????????????????????????????????????????? >>> anyone??????? lookup read write???? >>> >>> But when I try to access the emails for email1 at example.com >>> <mailto:email1 at 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 at example.com >>> <mailto:email1 at 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 at example.com >>> <mailto:email1 at 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 at example.com >>> <mailto:email1 at 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 at example.com >>> <mailto:email1 at 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 >>-------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20190315/04572e96/attachment.html>
Hey Aki, Many thanks for helping out. All the error messages are gone but it still isn't working. Is it possible for you to see the debug message and advise? Many Thanks Maillog Output: Mar 15 05:57:18 e480machine dovecot[6364]: master: Dovecot v2.3.3 (dcead646b) starting up for imap, pop3 Mar 15 14:37:41 e480machine dovecot[6368]: imap-login: Login: user=< email1 at example.com>, method=PLAIN, rip=::1, lip=::1, mpid=7044, secured, session=<WA9fVSaEOsQAAAAAAAAAAAAAAAAAAAAB> Mar 15 14:37:41 e480machine dovecot[6368]: imap(email1 at example.com)<7044><WA9fVSaEOsQAAAAAAAAAAAAAAAAAAAAB>: Debug: Loading modules from directory: /usr/lib64/dovecot Mar 15 14:37:41 e480machine dovecot[6368]: imap(email1 at example.com)<7044><WA9fVSaEOsQAAAAAAAAAAAAAAAAAAAAB>: Debug: Module loaded: /usr/lib64/dovecot/lib01_acl_plugin.so Mar 15 14:37:41 e480machine dovecot[6368]: imap(email1 at example.com)<7044><WA9fVSaEOsQAAAAAAAAAAAAAAAAAAAAB>: Debug: Module loaded: /usr/lib64/dovecot/lib02_imap_acl_plugin.so Mar 15 14:37:41 e480machine dovecot[6368]: imap(email1 at example.com)<7044><WA9fVSaEOsQAAAAAAAAAAAAAAAAAAAAB>: Debug: Module loaded: /usr/lib64/dovecot/lib10_quota_plugin.so Mar 15 14:37:41 e480machine dovecot[6368]: imap(email1 at example.com)<7044><WA9fVSaEOsQAAAAAAAAAAAAAAAAAAAAB>: Debug: Module loaded: /usr/lib64/dovecot/lib11_imap_quota_plugin.so Mar 15 14:37:41 e480machine dovecot[6368]: imap(email1 at example.com)<7044><WA9fVSaEOsQAAAAAAAAAAAAAAAAAAAAB>: Debug: Effective uid=5000, gid=5000, home=/var/mail/vhosts/ example.com/email1 Mar 15 14:37:41 e480machine dovecot[6368]: imap(email1 at example.com)<7044><WA9fVSaEOsQAAAAAAAAAAAAAAAAAAAAB>: Debug: quota: No quota setting - plugin disabled Mar 15 14:37:41 e480machine dovecot[6368]: imap(email1 at example.com)<7044><WA9fVSaEOsQAAAAAAAAAAAAAAAAAAAAB>: Debug: Namespace inbox: type=private, prefix=INBOX/, sep=/, inbox=yes, hidden=no, list=yes, subscriptions=yes location=maildir:~/Maildir Mar 15 14:37:41 e480machine dovecot[6368]: imap(email1 at example.com)<7044><WA9fVSaEOsQAAAAAAAAAAAAAAAAAAAAB>: Debug: maildir++: root=/var/mail/vhosts/example.com/email1/Maildir, index=, indexpvt=, control=, inbox=/var/mail/vhosts/example.com/email1/Maildir, altMar 15 14:37:41 e480machine dovecot[6368]: imap(email1 at example.com)<7044><WA9fVSaEOsQAAAAAAAAAAAAAAAAAAAAB>: Debug: acl: initializing backend with data: vfile Mar 15 14:37:41 e480machine dovecot[6368]: imap(email1 at example.com)<7044><WA9fVSaEOsQAAAAAAAAAAAAAAAAAAAAB>: Debug: acl: acl username = email1 at example.com Mar 15 14:37:41 e480machine dovecot[6368]: imap(email1 at example.com)<7044><WA9fVSaEOsQAAAAAAAAAAAAAAAAAAAAB>: Debug: acl: owner = 1 Mar 15 14:37:41 e480machine dovecot[6368]: imap(email1 at example.com)<7044><WA9fVSaEOsQAAAAAAAAAAAAAAAAAAAAB>: Debug: acl vfile: Global ACLs disabled Mar 15 14:37:41 e480machine dovecot[6368]: imap(email1 at example.com)<7044><WA9fVSaEOsQAAAAAAAAAAAAAAAAAAAAB>: Debug: Namespace : type=public, prefix=Public/, sep=/, inbox=no, hidden=no, list=children, subscriptions=yes location=maildir:/mnt/5ea86261-cfae-4e17-b21f-3a6c1a03d795/Email/fastmail:LAYOUT=fs Mar 15 14:37:41 e480machine dovecot[6368]: imap(email1 at example.com)<7044><WA9fVSaEOsQAAAAAAAAAAAAAAAAAAAAB>: Debug: fs: root=/mnt/5ea86261-cfae-4e17-b21f-3a6c1a03d795/Email/fastmail, index=, indexpvt=, control=, inbox=, altMar 15 14:37:41 e480machine dovecot[6368]: imap(email1 at example.com)<7044><WA9fVSaEOsQAAAAAAAAAAAAAAAAAAAAB>: Debug: acl: initializing backend with data: vfile Mar 15 14:37:41 e480machine dovecot[6368]: imap(email1 at example.com)<7044><WA9fVSaEOsQAAAAAAAAAAAAAAAAAAAAB>: Debug: acl: acl username = email1 at example.com Mar 15 14:37:41 e480machine dovecot[6368]: imap(email1 at example.com)<7044><WA9fVSaEOsQAAAAAAAAAAAAAAAAAAAAB>: Debug: acl: owner = 0 Mar 15 14:37:41 e480machine dovecot[6368]: imap(email1 at example.com)<7044><WA9fVSaEOsQAAAAAAAAAAAAAAAAAAAAB>: Debug: acl vfile: Global ACLs disabled Mar 15 14:37:41 e480machine dovecot[6368]: imap(email1 at example.com)<7044><WA9fVSaEOsQAAAAAAAAAAAAAAAAAAAAB>: Debug: Namespace : type=private, prefix=, sep=, inbox=no, hidden=yes, list=no, subscriptions=no location=fail::LAYOUT=none Mar 15 14:37:41 e480machine dovecot[6368]: imap(email1 at example.com)<7044><WA9fVSaEOsQAAAAAAAAAAAAAAAAAAAAB>: Debug: none: root=, index=, indexpvt=, control=, inbox=, altMar 15 14:37:41 e480machine dovecot[6368]: imap(email1 at example.com)<7044><WA9fVSaEOsQAAAAAAAAAAAAAAAAAAAAB>: Debug: Mailbox INBOX: Mailbox opened because: SELECT Mar 15 14:37:41 e480machine dovecot[6368]: imap(email1 at example.com)<7044><WA9fVSaEOsQAAAAAAAAAAAAAAAAAAAAB>: Debug: acl vfile: file /var/mail/vhosts/ example.com/email1/Maildir/dovecot-acl not found On Fri, Mar 15, 2019 at 5:36 AM Aki Tuomi <aki.tuomi at open-xchange.com> wrote:> It's a file, `touch subscriptions` > > Aki > On 15.3.2019 11.36, Kunal A. wrote: > > Oh okay. How do correct this? Create the file/folder for this? ie mkdir > suscriptions ? > > > On Fri, Mar 15, 2019 at 5:29 AM Aki Tuomi <aki.tuomi at open-xchange.com> > wrote: > >> 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 at 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 at 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 at 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 at example.com Public/Archive >>> ID Global Rights >>> anyone lookup read write >>> >>> But when I try to access the emails for email1 at 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 at 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 at 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 at 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 at 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 >>> >>-------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20190315/69dc93a4/attachment-0001.html>
Maybe Matching Threads
- ACL Folders are open but not being displayed ? [2.3.3]
- ACL Folders are open but not being displayed ? [2.3.3]
- mbsync updating new emails but dovecot not reading them ? [2.3.3]
- Troubles with Dovecot 2.3.3 - mkdir permission denied due to +w perm: /var, dir owned by 0:0 mode=0755)
- Linking mailboxes