doveadm: problem listing shared mailboxes using a wildcard
Patrick Ben Koetter
p at sys4.de
Mon Jun 25 17:44:08 EEST 2018
* Aki Tuomi <aki.tuomi at dovecot.fi>:
> Please provide doveconf -n
[root at spike ~]# doveconf -n
# 2.2.10: /etc/dovecot/dovecot.conf
# OS: Linux 3.10.0-862.3.3.el7.x86_64 x86_64 CentOS Linux release 7.5.1804 (Core) xfs
auth_debug = yes
first_valid_uid = 1000
mail_debug = yes
mail_location = sdbox:/srv/mail/%u
mail_plugins = acl
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date ihave
mbox_write_locks = fcntl
namespace {
ignore_on_failure = no
list = children
location = sdbox:%%h
prefix = shared/%%u/
separator = /
subscriptions = no
type = shared
}
namespace inbox {
ignore_on_failure = no
inbox = 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 =
separator = /
type = private
}
passdb {
args = scheme=PLAIN username_format=%u /etc/dovecot/users
default_fields = nopassword=y
driver = passwd-file
}
plugin {
acl = vfile
acl_shared_dict = file:/var/lib/dovecot/db/shared-mailboxes.db
sieve = ~/.dovecot.sieve
sieve_dir = ~/sieve
}
service auth {
unix_listener auth-userdb {
group = vmail
mode = 0777
user = vmail
}
}
service imap {
executable = imap post-login
}
service post-login {
executable = script-login /usr/local/bin/postlogin
user = vmail
}
ssl = required
ssl_cert = </etc/pki/dovecot/certs/dovecot.pem
ssl_key = </etc/pki/dovecot/private/dovecot.pem
userdb {
args = username_format=%u /etc/dovecot/users
default_fields = uid=vmail gid=vmail home=/srv/mail/%u
driver = passwd-file
}
protocol imap {
mail_plugins = acl imap_acl
}
>
>
> ---Aki TuomiDovecot oy
> -------- Original message --------From: Patrick Ben Koetter <p at sys4.de> Date: 25/06/2018 17:21 (GMT+02:00) To: dovecot at dovecot.org Cc: Thore Bödecker <me at foxxx0.de> Subject: Re: doveadm: problem listing shared mailboxes using a wildcard
> * Thore Bödecker <me at foxxx0.de>:
> > You might need to quote that last argument, otherwise it can get
> > interpreted by the shell as globbing, which obviously is not what you
> > want.
> >
> > I've been using wildcard arguments enclosed within '' and "" for
> > various doveadm commands without issues so far.
>
> Right. I had thought so too (and forgot to mention it in my intial post), but
> it doesn't make a difference:
>
> # /bin/doveadm mailbox list -s -u fdl01 at spike.test shared\*
> # /bin/doveadm mailbox list -s -u fdl01 at spike.test "shared*"
> # /bin/doveadm mailbox list -s -u fdl01 at spike.test 'shared*'
> # /bin/doveadm mailbox list -s -u fdl01 at spike.test "shared\*"
> # /bin/doveadm mailbox list -s -u fdl01 at spike.test 'shared\*'
>
> p at rick
>
>
>
> --
> [*] sys4 AG
>
> https://sys4.de, +49 (89) 30 90 46 64
> Schleißheimer Straße 26/MG,80333 München
>
> Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
> Vorstand: Patrick Ben Koetter, Marc Schiffbauer, Wolfgang Stief
> Aufsichtsratsvorsitzender: Florian Kirstein
>
--
[*] sys4 AG
https://sys4.de, +49 (89) 30 90 46 64
Schleißheimer Straße 26/MG,80333 München
Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
Vorstand: Patrick Ben Koetter, Marc Schiffbauer, Wolfgang Stief
Aufsichtsratsvorsitzender: Florian Kirstein
More information about the dovecot
mailing list