Is imap "list" required before imap "select" for shared folder?

Gene Smith gds at chartertn.net
Tue Oct 8 00:28:08 EEST 2019


On 10/7/19 3:50 PM, Aki Tuomi wrote:
> 
>> On 07/10/2019 22:23 Gene Smith via dovecot < dovecot at dovecot.org 
>> <mailto:dovecot at dovecot.org>> wrote:
>>
>>
>> I set up a shared mailbox with dovecot and it basically works. However,
>> before I can imap SELECT or STATUS the shared mailbox I have to first do
>> an imap LIST, i.e,
>>
>> . list "" *
>>
>> If list is not done first, the imap select or status command on the
>> shared mailbox results in a "NO" response with "mailbox doesn't exist"
>> response text.
>>
>> I can provide more information if this is not expected behavior.
>>
>> -gene
> 
> Hi!
> 
> This is not expected. Please turn on mail_debug=yes, provide doveconf -n 
> and relevant logs.
> 
> ---
> Aki Tuomi
> 

I found that if I disable the "listescape" plug-in, the problem goes 
away. I don't see this problem mentioned in the release notes but I 
guess it might have been solved in a newer release than I am using.

I did find the same problem reported a while back here:
https://dovecot.org/list/dovecot/2016-February/103148.html

I am attaching the requested information: configuration dump and mail 
log. Also included is the telnet session I used to produce the problem.

I am only using dovecot for testing imap related issue with Thunderbird, 
not as a "real" imap server.

-gene

-------------- next part --------------
# 2.2.36 (1f10bfa63): /etc/dovecot/dovecot.conf
# OS: Linux 4.18.19-100.fc27.x86_64 x86_64 Fedora release 27 (Twenty Seven) 
# Hostname: wally.dbnet.lan
disable_plaintext_auth = no
imap_capability = +SPECIAL-USE
imap_idle_notify_interval = 0
mail_access_groups = gene
mail_location = maildir:~/Maildir
mail_plugins = quota acl
mbox_write_locks = fcntl
namespace bear {
  inbox = no
  location = maildir:~/Maildir-bear
  prefix = a-bear`
  separator = `
  type = private
}
namespace inbox {
  inbox = yes
  location = 
  mailbox Archives {
    special_use = \Archive
  }
  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 = `
  type = private
}
namespace share {
  list = children
  location = maildir:%%h/Maildir:INDEXPVT=~/Maildir/shared/%%u
  prefix = shared`%%u`
  separator = `
  subscriptions = yes
  type = shared
}
passdb {
  driver = pam
}
passdb {
  args = scheme=CRYPT username_format=%u /etc/dovecot/users
  driver = passwd-file
}
plugin {
  acl = vfile
  acl_shared_dict = file:/tmp/shared-mailboxes
  quota_max_mail_size = 100M
}
service auth {
  unix_listener auth-userdb {
    mode = 0777
  }
}
service imap-login {
  inet_listener imap {
    port = 130
  }
}
ssl = no
ssl_cipher_list = PROFILE=SYSTEM
userdb {
  driver = passwd
}
userdb {
  args = username_format=%u /etc/dovecot/users
  driver = passwd-file
}
protocol lmtp {
  mail_plugins = quota acl sieve quota
}
protocol lda {
  mail_plugins = quota acl sieve
}
protocol imap {
  mail_plugins = quota acl imap_quota imap_acl listescape
}
-------------------------

/var/log/maillog:
Oct  7 16:58:28 wally dovecot[11545]: master: Dovecot v2.2.36 (1f10bfa63) starting up for imap, pop3, lmtp
Oct  7 16:59:03 wally dovecot[11547]: imap-login: Login: user=<gene>, method=PLAIN, rip=::1, lip=::1, mpid=11560, secured, session=<gOtkUliUOoQAAAAAAAAAAAAAAAAAAAAB>
Oct  7 16:59:03 wally dovecot[11547]: imap(gene): Debug: Loading modules from directory: /usr/lib64/dovecot
Oct  7 16:59:03 wally dovecot[11547]: imap(gene): Debug: Module loaded: /usr/lib64/dovecot/lib01_acl_plugin.so
Oct  7 16:59:03 wally dovecot[11547]: imap(gene): Debug: Module loaded: /usr/lib64/dovecot/lib02_imap_acl_plugin.so
Oct  7 16:59:03 wally dovecot[11547]: imap(gene): Debug: Module loaded: /usr/lib64/dovecot/lib10_quota_plugin.so
Oct  7 16:59:03 wally dovecot[11547]: imap(gene): Debug: Module loaded: /usr/lib64/dovecot/lib11_imap_quota_plugin.so
Oct  7 16:59:03 wally dovecot[11547]: imap(gene): Debug: Module loaded: /usr/lib64/dovecot/lib20_listescape_plugin.so
Oct  7 16:59:03 wally dovecot[11547]: imap(gene): Debug: Effective uid=500, gid=500, home=/home/gene
Oct  7 16:59:03 wally dovecot[11547]: imap(gene): Debug: Namespace inbox: type=private, prefix=INBOX`, sep=`, inbox=yes, hidden=no, list=yes, subscriptions=yes location=maildir:~/Maildir
Oct  7 16:59:03 wally dovecot[11547]: imap(gene): Debug: maildir++: root=/home/gene/Maildir, index=, indexpvt=, control=, inbox=/home/gene/Maildir, alt=
Oct  7 16:59:03 wally dovecot[11547]: imap(gene): Debug: acl: initializing backend with data: vfile
Oct  7 16:59:03 wally dovecot[11547]: imap(gene): Debug: acl: acl username = gene
Oct  7 16:59:03 wally dovecot[11547]: imap(gene): Debug: acl: owner = 1
Oct  7 16:59:03 wally dovecot[11547]: imap(gene): Debug: acl vfile: Global ACLs disabled
Oct  7 16:59:03 wally dovecot[11547]: imap(gene): Debug: Namespace bear: type=private, prefix=a-bear`, sep=`, inbox=no, hidden=no, list=yes, subscriptions=yes location=maildir:~/Maildir-bear
Oct  7 16:59:03 wally dovecot[11547]: imap(gene): Debug: maildir++: root=/home/gene/Maildir-bear, index=, indexpvt=, control=, inbox=, alt=
Oct  7 16:59:03 wally dovecot[11547]: imap(gene): Debug: acl: initializing backend with data: vfile
Oct  7 16:59:03 wally dovecot[11547]: imap(gene): Debug: acl: acl username = gene
Oct  7 16:59:03 wally dovecot[11547]: imap(gene): Debug: acl: owner = 1
Oct  7 16:59:03 wally dovecot[11547]: imap(gene): Debug: acl vfile: Global ACLs disabled
Oct  7 16:59:03 wally dovecot[11547]: imap(gene): Debug: Namespace share: type=shared, prefix=shared`%u`, sep=`, inbox=no, hidden=no, list=children, subscriptions=yes location=maildir:%h/Maildir:INDEXPVT=~/Maildir/shared/%u
Oct  7 16:59:03 wally dovecot[11547]: imap(gene): Debug: shared: root=/var/run/dovecot, index=, indexpvt=, control=, inbox=, alt=
Oct  7 16:59:03 wally dovecot[11547]: imap(gene): Debug: acl: initializing backend with data: vfile
Oct  7 16:59:03 wally dovecot[11547]: imap(gene): Debug: acl: acl username = gene
Oct  7 16:59:03 wally dovecot[11547]: imap(gene): Debug: acl: owner = 0
Oct  7 16:59:03 wally dovecot[11547]: imap(gene): Debug: acl vfile: Global ACLs disabled
Oct  7 16:59:03 wally dovecot[11547]: imap(gene): Debug: Namespace : type=private, prefix=, sep=, inbox=no, hidden=yes, list=no, subscriptions=no location=fail::LAYOUT=none
Oct  7 16:59:03 wally dovecot[11547]: imap(gene): Debug: none: root=, index=, indexpvt=, control=, inbox=, alt=
Oct  7 16:59:40 wally dovecot[11547]: imap(gene): Debug: auth USER input:
Oct  7 16:59:40 wally dovecot[11547]: imap(gene): Debug: shared: Tried to access mails of nonexistent user other-user/nf
Oct  7 16:59:40 wally dovecot[11547]: imap(gene): Debug: maildir++: root=/var/run/dovecot/user-not-found/other-user/nf, index=, indexpvt=, control=, inbox=/var/run/dovecot/user-not-found/other-user/nf, alt=
Oct  7 16:59:40 wally dovecot[11547]: imap(gene): Debug: Namespace : /var/run/dovecot/user-not-found/other-user/nf doesn't exist yet, using default permissions
Oct  7 16:59:40 wally dovecot[11547]: imap(gene): Debug: Namespace : Using permissions from /var/run/dovecot/user-not-found/other-user/nf: mode=0700 gid=default
Oct  7 16:59:40 wally dovecot[11547]: imap(gene): Debug: auth USER input:
Oct  7 16:59:40 wally dovecot[11547]: imap(gene): Debug: shared: Tried to access mails of nonexistent user other-user/nf
Oct  7 16:59:40 wally dovecot[11547]: imap(gene): Debug: maildir++: root=/var/run/dovecot/user-not-found/other-user/nf, index=, indexpvt=, control=, inbox=/var/run/dovecot/user-not-found/other-user/nf, alt=
Oct  7 16:59:40 wally dovecot[11547]: imap(gene): Debug: Namespace : /var/run/dovecot/user-not-found/other-user/nf doesn't exist yet, using default permissions
Oct  7 16:59:40 wally dovecot[11547]: imap(gene): Debug: Namespace : Using permissions from /var/run/dovecot/user-not-found/other-user/nf: mode=0700 gid=default
Oct  7 16:59:40 wally dovecot[11547]: imap(gene): Debug: auth USER input:
Oct  7 16:59:40 wally dovecot[11547]: imap(gene): Debug: shared: Tried to access mails of nonexistent user other-user/nf
Oct  7 16:59:40 wally dovecot[11547]: imap(gene): Debug: maildir++: root=/var/run/dovecot/user-not-found/other-user/nf, index=, indexpvt=, control=, inbox=/var/run/dovecot/user-not-found/other-user/nf, alt=
Oct  7 16:59:40 wally dovecot[11547]: imap(gene): Debug: Namespace : /var/run/dovecot/user-not-found/other-user/nf doesn't exist yet, using default permissions
Oct  7 16:59:40 wally dovecot[11547]: imap(gene): Debug: Namespace : Using permissions from /var/run/dovecot/user-not-found/other-user/nf: mode=0700 gid=default
Oct  7 16:59:40 wally dovecot[11547]: imap(gene): Debug: shared`other-user`nf: Mailbox opened because: SELECT
Oct  7 16:59:40 wally dovecot[11547]: imap(gene): Debug: auth USER input:
Oct  7 16:59:40 wally dovecot[11547]: imap(gene): Debug: shared: Tried to access mails of nonexistent user other-user/nf
Oct  7 16:59:40 wally dovecot[11547]: imap(gene): Debug: maildir++: root=/var/run/dovecot/user-not-found/other-user/nf, index=, indexpvt=, control=, inbox=/var/run/dovecot/user-not-found/other-user/nf, alt=
Oct  7 16:59:40 wally dovecot[11547]: imap(gene): Debug: Namespace : /var/run/dovecot/user-not-found/other-user/nf doesn't exist yet, using default permissions
Oct  7 16:59:40 wally dovecot[11547]: imap(gene): Debug: Namespace : Using permissions from /var/run/dovecot/user-not-found/other-user/nf: mode=0700 gid=default
Oct  7 17:00:38 wally dovecot[11547]: imap-login: Login: user=<gene>, method=PLAIN, rip=192.168.1.13, lip=192.168.1.6, mpid=11572, session=<0YYCWFiUQr7AqAEN>
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: Loading modules from directory: /usr/lib64/dovecot
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: Module loaded: /usr/lib64/dovecot/lib01_acl_plugin.so
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: Module loaded: /usr/lib64/dovecot/lib02_imap_acl_plugin.so
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: Module loaded: /usr/lib64/dovecot/lib10_quota_plugin.so
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: Module loaded: /usr/lib64/dovecot/lib11_imap_quota_plugin.so
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: Module loaded: /usr/lib64/dovecot/lib20_listescape_plugin.so
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: Effective uid=500, gid=500, home=/home/gene
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: Namespace inbox: type=private, prefix=INBOX`, sep=`, inbox=yes, hidden=no, list=yes, subscriptions=yes location=maildir:~/Maildir
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: maildir++: root=/home/gene/Maildir, index=, indexpvt=, control=, inbox=/home/gene/Maildir, alt=
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: acl: initializing backend with data: vfile
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: acl: acl username = gene
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: acl: owner = 1
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: acl vfile: Global ACLs disabled
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: Namespace bear: type=private, prefix=a-bear`, sep=`, inbox=no, hidden=no, list=yes, subscriptions=yes location=maildir:~/Maildir-bear
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: maildir++: root=/home/gene/Maildir-bear, index=, indexpvt=, control=, inbox=, alt=
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: acl: initializing backend with data: vfile
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: acl: acl username = gene
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: acl: owner = 1
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: acl vfile: Global ACLs disabled
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: Namespace share: type=shared, prefix=shared`%u`, sep=`, inbox=no, hidden=no, list=children, subscriptions=yes location=maildir:%h/Maildir:INDEXPVT=~/Maildir/shared/%u
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: shared: root=/var/run/dovecot, index=, indexpvt=, control=, inbox=, alt=
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: acl: initializing backend with data: vfile
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: acl: acl username = gene
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: acl: owner = 0
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: acl vfile: Global ACLs disabled
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: Namespace : type=private, prefix=, sep=, inbox=no, hidden=yes, list=no, subscriptions=no location=fail::LAYOUT=none
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: none: root=, index=, indexpvt=, control=, inbox=, alt=
Oct  7 17:00:38 wally dovecot[11547]: imap-login: Login: user=<gene>, method=PLAIN, rip=192.168.1.13, lip=192.168.1.6, mpid=11574, session=<wowCWFiURL7AqAEN>
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: Loading modules from directory: /usr/lib64/dovecot
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: Module loaded: /usr/lib64/dovecot/lib01_acl_plugin.so
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: Module loaded: /usr/lib64/dovecot/lib02_imap_acl_plugin.so
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: Module loaded: /usr/lib64/dovecot/lib10_quota_plugin.so
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: Module loaded: /usr/lib64/dovecot/lib11_imap_quota_plugin.so
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: Module loaded: /usr/lib64/dovecot/lib20_listescape_plugin.so
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: Effective uid=500, gid=500, home=/home/gene
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: Namespace inbox: type=private, prefix=INBOX`, sep=`, inbox=yes, hidden=no, list=yes, subscriptions=yes location=maildir:~/Maildir
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: maildir++: root=/home/gene/Maildir, index=, indexpvt=, control=, inbox=/home/gene/Maildir, alt=
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: acl: initializing backend with data: vfile
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: acl: acl username = gene
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: acl: owner = 1
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: acl vfile: Global ACLs disabled
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: Namespace bear: type=private, prefix=a-bear`, sep=`, inbox=no, hidden=no, list=yes, subscriptions=yes location=maildir:~/Maildir-bear
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: maildir++: root=/home/gene/Maildir-bear, index=, indexpvt=, control=, inbox=, alt=
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: acl: initializing backend with data: vfile
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: acl: acl username = gene
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: acl: owner = 1
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: acl vfile: Global ACLs disabled
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: Namespace share: type=shared, prefix=shared`%u`, sep=`, inbox=no, hidden=no, list=children, subscriptions=yes location=maildir:%h/Maildir:INDEXPVT=~/Maildir/shared/%u
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: shared: root=/var/run/dovecot, index=, indexpvt=, control=, inbox=, alt=
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: acl: initializing backend with data: vfile
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: acl: acl username = gene
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: acl: owner = 0
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: acl vfile: Global ACLs disabled
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: Namespace : type=private, prefix=, sep=, inbox=no, hidden=yes, list=no, subscriptions=no location=fail::LAYOUT=none
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: none: root=, index=, indexpvt=, control=, inbox=, alt=
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: INBOX: Mailbox opened because: SELECT
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: acl vfile: reading file /home/gene/Maildir/dovecot-acl
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: a-bear`nf2: Mailbox opened because: STATUS
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: acl vfile: file /home/gene/Maildir-bear/.nf2/dovecot-acl not found
Oct  7 17:00:38 wally dovecot[11547]: imap-login: Login: user=<gene>, method=PLAIN, rip=192.168.1.13, lip=192.168.1.6, mpid=11579, session=<pNIDWFiURr7AqAEN>
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: Loading modules from directory: /usr/lib64/dovecot
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: Module loaded: /usr/lib64/dovecot/lib01_acl_plugin.so
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: Module loaded: /usr/lib64/dovecot/lib02_imap_acl_plugin.so
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: Module loaded: /usr/lib64/dovecot/lib10_quota_plugin.so
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: Module loaded: /usr/lib64/dovecot/lib11_imap_quota_plugin.so
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: Module loaded: /usr/lib64/dovecot/lib20_listescape_plugin.so
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: Effective uid=500, gid=500, home=/home/gene
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: Namespace inbox: type=private, prefix=INBOX`, sep=`, inbox=yes, hidden=no, list=yes, subscriptions=yes location=maildir:~/Maildir
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: maildir++: root=/home/gene/Maildir, index=, indexpvt=, control=, inbox=/home/gene/Maildir, alt=
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: acl: initializing backend with data: vfile
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: acl: acl username = gene
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: acl: owner = 1
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: acl vfile: Global ACLs disabled
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: Namespace bear: type=private, prefix=a-bear`, sep=`, inbox=no, hidden=no, list=yes, subscriptions=yes location=maildir:~/Maildir-bear
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: maildir++: root=/home/gene/Maildir-bear, index=, indexpvt=, control=, inbox=, alt=
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: acl: initializing backend with data: vfile
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: acl: acl username = gene
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: acl: owner = 1
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: acl vfile: Global ACLs disabled
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: Namespace share: type=shared, prefix=shared`%u`, sep=`, inbox=no, hidden=no, list=children, subscriptions=yes location=maildir:%h/Maildir:INDEXPVT=~/Maildir/shared/%u
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: shared: root=/var/run/dovecot, index=, indexpvt=, control=, inbox=, alt=
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: acl: initializing backend with data: vfile
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: acl: acl username = gene
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: acl: owner = 0
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: acl vfile: Global ACLs disabled
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: Namespace : type=private, prefix=, sep=, inbox=no, hidden=yes, list=no, subscriptions=no location=fail::LAYOUT=none
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: none: root=, index=, indexpvt=, control=, inbox=, alt=
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: a-bear`test1: Mailbox opened because: STATUS
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: acl vfile: file /home/gene/Maildir-bear/.test1/dovecot-acl not found
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: auth USER input:
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: shared: Tried to access mails of nonexistent user other-user/nf
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: maildir++: root=/var/run/dovecot/user-not-found/other-user/nf, index=, indexpvt=, control=, inbox=/var/run/dovecot/user-not-found/other-user/nf, alt=
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: Namespace : /var/run/dovecot/user-not-found/other-user/nf doesn't exist yet, using default permissions
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: Namespace : Using permissions from /var/run/dovecot/user-not-found/other-user/nf: mode=0700 gid=default
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: auth USER input:
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: shared: Tried to access mails of nonexistent user other-user/nf
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: maildir++: root=/var/run/dovecot/user-not-found/other-user/nf, index=, indexpvt=, control=, inbox=/var/run/dovecot/user-not-found/other-user/nf, alt=
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: Namespace : /var/run/dovecot/user-not-found/other-user/nf doesn't exist yet, using default permissions
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: Namespace : Using permissions from /var/run/dovecot/user-not-found/other-user/nf: mode=0700 gid=default
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: auth USER input:
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: shared: Tried to access mails of nonexistent user other-user/nf
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: maildir++: root=/var/run/dovecot/user-not-found/other-user/nf, index=, indexpvt=, control=, inbox=/var/run/dovecot/user-not-found/other-user/nf, alt=
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: Namespace : /var/run/dovecot/user-not-found/other-user/nf doesn't exist yet, using default permissions
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: Namespace : Using permissions from /var/run/dovecot/user-not-found/other-user/nf: mode=0700 gid=default
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: auth USER input:
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: shared: Tried to access mails of nonexistent user other-user/nf
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: maildir++: root=/var/run/dovecot/user-not-found/other-user/nf, index=, indexpvt=, control=, inbox=/var/run/dovecot/user-not-found/other-user/nf, alt=
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: Namespace : /var/run/dovecot/user-not-found/other-user/nf doesn't exist yet, using default permissions
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: Namespace : Using permissions from /var/run/dovecot/user-not-found/other-user/nf: mode=0700 gid=default
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: INBOX`7: Mailbox opened because: STATUS
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: acl vfile: file /home/gene/Maildir/.7/dovecot-acl not found
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: INBOX`7`normal-folder: Mailbox opened because: STATUS
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: acl vfile: file /home/gene/Maildir/.7.normal-folder/dovecot-acl not found
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: INBOX`Archives: Mailbox opened because: STATUS
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: acl vfile: file /home/gene/Maildir/.Archives/dovecot-acl not found
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: INBOX`Archives`2003: Mailbox opened because: STATUS
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: acl vfile: file /home/gene/Maildir/.Archives.2003/dovecot-acl not found
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: INBOX`4: Mailbox opened because: STATUS
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: acl vfile: file /home/gene/Maildir/.4/dovecot-acl not found
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: INBOX`4`rubish: Mailbox opened because: STATUS
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: acl vfile: file /home/gene/Maildir/.4.rubish/dovecot-acl not found
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: INBOX`4`rubish`baskette: Mailbox opened because: STATUS
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: acl vfile: file /home/gene/Maildir/.4.rubish.baskette/dovecot-acl not found
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: INBOX`4`rubish`baskette`truck: Mailbox opened because: STATUS
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: acl vfile: file /home/gene/Maildir/.4.rubish.baskette.truck/dovecot-acl not found
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: INBOX`4`rubish`baskette`truck`big truck: Mailbox opened because: STATUS
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: acl vfile: file /home/gene/Maildir/.4.rubish.baskette.truck.big truck/dovecot-acl not found
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: INBOX`4`rubish`baskette`bicycle: Mailbox opened because: STATUS
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: acl vfile: file /home/gene/Maildir/.4.rubish.baskette.bicycle/dovecot-acl not found
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: INBOX`4`rubish`baskette`car: Mailbox opened because: STATUS
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: acl vfile: file /home/gene/Maildir/.4.rubish.baskette.car/dovecot-acl not found
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: INBOX`Sent: Mailbox opened because: STATUS
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: acl vfile: file /home/gene/Maildir/.Sent/dovecot-acl not found
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: INBOX`6: Mailbox opened because: STATUS
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: acl vfile: file /home/gene/Maildir/.6/dovecot-acl not found
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: INBOX`Drafts: Mailbox opened because: STATUS
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: acl vfile: file /home/gene/Maildir/.Drafts/dovecot-acl not found
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: INBOX`3: Mailbox opened because: STATUS
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: acl vfile: file /home/gene/Maildir/.3/dovecot-acl not found
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: INBOX`555: Mailbox opened because: STATUS
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: acl vfile: reading file /home/gene/Maildir/.555/dovecot-acl
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: INBOX`1: Mailbox opened because: STATUS
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: acl vfile: file /home/gene/Maildir/.1/dovecot-acl not found
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: INBOX`newerF: Mailbox opened because: STATUS
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: acl vfile: file /home/gene/Maildir/.newerF/dovecot-acl not found
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: INBOX`bbb/ccc: Mailbox opened because: STATUS
Oct  7 17:00:38 wally dovecot[11547]: imap(gene): Debug: acl vfile: file /home/gene/Maildir/.bbb\2fccc/dovecot-acl not found
Oct  7 17:01:08 wally dovecot[11547]: imap(gene): Debug: auth USER input: other-user system_groups_user=other-user uid=1000 gid=1001 home=/home/other-user
Oct  7 17:01:08 wally dovecot[11547]: imap(gene): Debug: maildir++: root=/home/other-user/Maildir, index=, indexpvt=/home/other-user/Maildir/shared/other-user, control=, inbox=/home/other-user/Maildir, alt=
Oct  7 17:01:08 wally dovecot[11547]: imap(gene): Debug: acl: initializing backend with data: vfile
Oct  7 17:01:08 wally dovecot[11547]: imap(gene): Debug: acl: acl username = other-user
Oct  7 17:01:08 wally dovecot[11547]: imap(gene): Debug: acl: owner = 1
Oct  7 17:01:08 wally dovecot[11547]: imap(gene): Debug: acl vfile: Global ACLs disabled
Oct  7 17:01:08 wally dovecot[11547]: imap(gene): Debug: maildir++: root=/home/other-user/Maildir, index=, indexpvt=/home/gene/Maildir/shared/other-user, control=, inbox=/home/other-user/Maildir, alt=
Oct  7 17:01:08 wally dovecot[11547]: imap(gene): Debug: acl: initializing backend with data: vfile
Oct  7 17:01:08 wally dovecot[11547]: imap(gene): Debug: acl: acl username = gene
Oct  7 17:01:08 wally dovecot[11547]: imap(gene): Debug: acl: owner = 0
Oct  7 17:01:08 wally dovecot[11547]: imap(gene): Debug: acl vfile: Global ACLs disabled
Oct  7 17:01:08 wally dovecot[11547]: imap(gene): Debug: acl vfile: file /home/other-user/Maildir/.shared.other-user/dovecot-acl not found
Oct  7 17:01:08 wally dovecot[11547]: imap(gene): Debug: acl: No lookup right to mailbox: shared`other-user
Oct  7 17:01:08 wally dovecot[11547]: imap(gene): Debug: acl: Mailbox not in dovecot-acl-list: shared`other-user`Trash
Oct  7 17:01:08 wally dovecot[11547]: imap(gene): Debug: acl: Mailbox not in dovecot-acl-list: shared`other-user`555
Oct  7 17:01:08 wally dovecot[11547]: imap(gene): Debug: acl: Mailbox not in dovecot-acl-list: shared`other-user`Drafts
Oct  7 17:01:08 wally dovecot[11547]: imap(gene): Debug: acl vfile: reading file /home/other-user/Maildir/.nf/dovecot-acl
Oct  7 17:02:11 wally dovecot[11547]: imap(gene): Debug: shared`other-user`nf: Mailbox opened because: SELECT

-------------------------

telnet session:

$ telnet localhost 130
. login gene Trying ::1...
Connected to localhost.
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SPECIAL-USE AUTH=PLAIN] Dovecot ready.
. login **** *****
. OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS BINARY MOVE SNIPPET=FUZZY SPECIAL-USE SPECIAL-USE QUOTA ACL RIGHTS=texk] Logged in
. select "shared`other-user`nf"
. NO Mailbox doesn't exist: shared`other-user`nf (0.004 + 0.000 + 0.003 secs).

. list "" "shared`%`%"
* LIST (\HasNoChildren) "`" shared`other-user`nf
. OK List completed (0.026 + 0.000 + 0.025 secs).
. select "shared`other-user`nf"
* FLAGS (\Answered \Flagged \Deleted \Seen \Draft nonjunk test-new-tag gene-set-this tagnew unknown-0 unknown-2 unknown-3)
* OK [PERMANENTFLAGS (\Answered \Flagged \Seen \Draft nonjunk test-new-tag gene-set-this tagnew unknown-0 unknown-2 unknown-3 \*)] Flags permitted.
* 16 EXISTS
* 0 RECENT
* OK [UNSEEN 3] First unseen.
* OK [UIDVALIDITY 1538088971] UIDs valid
* OK [UIDNEXT 21] Predicted next UID
* OK [HIGHESTMODSEQ 86] Highest
. OK [READ-WRITE] Select completed (0.001 + 0.000 secs).


More information about the dovecot mailing list