doveadm mailbox delete not working
Ralf Becker
rb at egroupware.org
Wed Aug 15 12:52:35 EEST 2018
Hi Aki,
Am 15.08.18 um 11:31 schrieb Aki Tuomi:
> Such fun folders. Can you try doveadm -Dv mailbox delete -u username
> folder and post it to the list?
root at ka-nfs-mail:~# doveadm -Dv mailbox delete -u <username>
'INBOX/Fachbereiche '
Debug: Loading modules from directory: /usr/lib/dovecot
Debug: Module loaded: /usr/lib/dovecot/lib01_acl_plugin.so
Debug: Module loaded: /usr/lib/dovecot/lib10_quota_plugin.so
Debug: Module loaded: /usr/lib/dovecot/lib15_notify_plugin.so
Debug: Module loaded: /usr/lib/dovecot/lib20_mail_log_plugin.so
Debug: Module loaded: /usr/lib/dovecot/lib20_replication_plugin.so
Debug: Loading modules from directory: /usr/lib/dovecot/doveadm
Debug: Module loaded: /usr/lib/dovecot/doveadm/lib10_doveadm_acl_plugin.so
Debug: Skipping module doveadm_expire_plugin, because dlopen() failed:
Error relocating
/usr/lib/dovecot/doveadm/lib10_doveadm_expire_plugin.so:
expire_set_lookup: symbol not found (this is usually intentional, so
just ignore this message)
Debug: Module loaded: /usr/lib/dovecot/doveadm/lib10_doveadm_quota_plugin.so
Debug: Module loaded: /usr/lib/dovecot/doveadm/lib10_doveadm_sieve_plugin.so
Debug: Skipping module doveadm_fts_plugin, because dlopen() failed:
Error relocating /usr/lib/dovecot/doveadm/lib20_doveadm_fts_plugin.so:
fts_backend_rescan: symbol not found (this is usually intentional, so
just ignore this message)
Debug: Skipping module doveadm_mail_crypt_plugin, because dlopen()
failed: Error relocating
/usr/lib/dovecot/doveadm/libdoveadm_mail_crypt_plugin.so:
mail_crypt_box_get_public_key: symbol not found (this is usually
intentional, so just ignore this message)
doveadm(<username> 46922): Debug: Added userdb setting:
plugin/master_user=<username>
doveadm(<username> 46922): Debug: Added userdb setting:
plugin/userdb_acl_groups=koakram@<domain>,wahlkampfnetzwerk@<domain>,wahlkalender
2017@<domain>,lgs@<domain>
doveadm(<username> 46922): Debug: Added userdb setting:
plugin/userdb_quota_rule=*:bytes=15728640000
doveadm(<username>): Debug: Effective uid=90, gid=101,
home=/var/dovecot/imap/<domain>/<user>
doveadm(<username>): Debug: Quota root: name=User quota backend=dict
args=:ns=INBOX/:file:/var/dovecot/imap/<domain>/<user>/dovecot-quota
doveadm(<username>): Debug: Quota rule: root=User quota mailbox=*
bytes=107374182400 messages=0
doveadm(<username>): Debug: Quota grace: root=User quota
bytes=10737418240 (10%)
doveadm(<username>): Debug: dict quota: user=<username>,
uri=file:/var/dovecot/imap/<domain>/<user>/dovecot-quota, noenforcing=0
doveadm(<username>): Debug: Namespace inboxes: type=private,
prefix=INBOX/, sep=/, inbox=yes, hidden=no, list=yes, subscriptions=no
location=mdbox:~/mdbox
doveadm(<username>): Debug: fs:
root=/var/dovecot/imap/<domain>/<user>/mdbox, index=, indexpvt=,
control=, inbox=, alt=
doveadm(<username>): Debug: acl: initializing backend with data: vfile
doveadm(<username>): Debug: acl: acl username = <username>
doveadm(<username>): Debug: acl: owner = 1
doveadm(<username>): Debug: acl vfile: Global ACLs disabled
doveadm(<username>): Debug: Namespace users: type=shared,
prefix=user/%n/, sep=/, inbox=no, hidden=no, list=yes, subscriptions=no
location=mdbox:%h/mdbox:INDEXPVT=~/shared/%u
doveadm(<username>): Debug: shared: root=/run/dovecot, index=,
indexpvt=, control=, inbox=, alt=
doveadm(<username>): Debug: acl: initializing backend with data: vfile
doveadm(<username>): Debug: acl: acl username = <username>
doveadm(<username>): Debug: acl: owner = 0
doveadm(<username>): Debug: acl vfile: Global ACLs disabled
doveadm(<username>): Debug: Namespace subs: type=private, prefix=,
sep=/, inbox=no, hidden=yes, list=no, subscriptions=yes
location=mdbox:~/mdbox
doveadm(<username>): Debug: fs:
root=/var/dovecot/imap/<domain>/<user>/mdbox, index=, indexpvt=,
control=, inbox=, alt=
doveadm(<username>): Debug: acl: initializing backend with data: vfile
doveadm(<username>): Debug: acl: acl username = <username>
doveadm(<username>): Debug: acl: owner = 1
doveadm(<username>): Debug: acl vfile: Global ACLs disabled
doveadm(<username>): Debug: quota: quota_over_flag check:
quota_over_script unset - skipping
doveadm(<username>): Debug: INBOX/Fachbereiche : Mailbox opened because:
mailbox delete
doveadm(<username>): Debug: acl vfile: file
/var/dovecot/imap/<domain>/<user>/mdbox/mailboxes/Fachbereiche
/dbox-Mails/dovecot-acl not found
doveadm(<username>): Debug: Namespace INBOX/: Using permissions from
/var/dovecot/imap/<domain>/<user>/mdbox: mode=0700 gid=default
doveadm(<username>): Debug: replication: Replication requested by
'mailbox delete', priority=1
doveadm(<username>): Info: Mailbox deleted: INBOX/Fachbereiche
Event doveadm reporting the folder is deleted, it is not:
root at ka-nfs-mail:~# doveadm mailbox list -u <username>
'INBOX/Fachbereiche '
INBOX/Fachbereiche
But it can not get a status of it:
root at ka-nfs-mail:~# doveadm mailbox status -u <username> all
'INBOX/Fachbereiche '
doveadm(<username>): Error: Mailbox INBOX/Fachbereiche : Failed to
lookup mailbox status: Mailbox doesn't exist: INBOX/Fachbereiche
Really wired
Ralf
> Aki
>
> On 15.08.2018 11:03, Ralf Becker wrote:
>> Hi Aki,
>>
>> I respond to you only on purpose, as the a dont want to show all folders
>> public, please remove them when you reply to the list.
>>
>> This is the folder my previous examples where about:
>>
>> "mailbox": "INBOX/[Fachbereiche " <-- trailing space
>>
>>
>> Am 15.08.18 um 08:33 schrieb Aki Tuomi:
>>> Can you try
>>>
>>> doveadm -fjson mailbox list -u user INBOX/*
--
Ralf Becker
EGroupware GmbH [www.egroupware.org]
Handelsregister HRB Kaiserslautern 3587
Geschäftsführer Birgit und Ralf Becker
Leibnizstr. 17, 67663 Kaiserslautern, Germany
Telefon +49 631 31657-0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <https://dovecot.org/pipermail/dovecot/attachments/20180815/cb4c3d24/attachment.sig>
More information about the dovecot
mailing list