On 10/7/19 3:50 PM, Aki Tuomi wrote:
On 07/10/2019 22:23 Gene Smith via dovecot < dovecot@dovecot.org
<mailto:dovecot@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
# 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=,
method=PLAIN, rip=::1, lip=::1, mpid=11560, secured,
session=
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=maildi