ACL Folders are open but not being displayed ? [2.3.3]

Kunal A. kunal.oa at gmail.com
Fri Mar 15 20:46:24 EET 2019


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, alt=
Mar 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=, alt=
Mar 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=, alt=
Mar 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>


More information about the dovecot mailing list