doveadm import error: quota: Unknown namespace: INBOX/
Dovecot version is 2.3.20 and I try to restore a folder hierarchy from an older snapshot of the mailbox (folders in question have been deleted):
sudo -u dovecot doveadm -Dv import -u pbs@xyz.de -s mdbox:$(pwd)/pbs-2024-03-19/mdbox INBOX mailbox 'projekte/8-BZ/*'
I'm getting the following error:
Apr 12 10:52:18 doveadm(pbs@xyz.de): Error: quota: Unknown namespace: INBOX/
I also tried restoring in a (not existing) restore folder: Restore-2024-03-19 and using search query "mailbox 'projekte/8-BZ'", all give the same result :(
Any ideas what might be wrong, I did this many times before, and it worked, so I'm puzzeled ...
Here is the full output of doveadm import command above and doveconf -n:
root@aab41229427e:/var/dovecot/imap/xyz.de# sudo -u dovecot doveadm -Dv import -upbs@xyz.de -s mdbox:$(pwd)/pbs-2024-03-19/mdbox INBOX mailbox 'projekte/8-BZ/*' Debug: Loading modules from directory: /usr/lib/dovecot/modules/doveadm Debug: Skipping module doveadm_acl_plugin, because dlopen() failed: /usr/lib/dovecot/modules/doveadm/lib10_doveadm_acl_plugin.so: undefined symbol: acl_user_module (this is usually intentional, so just ignore this message) Debug: Skipping module doveadm_quota_plugin, because dlopen() failed: /usr/lib/dovecot/modules/doveadm/lib10_doveadm_quota_plugin.so: undefined symbol: quota_user_module (this is usually intentional, so just ignore this message) Debug: Module loaded: /usr/lib/dovecot/modules/doveadm/lib10_doveadm_sieve_plugin.so Debug: Skipping module doveadm_fts_lucene_plugin, because dlopen() failed: /usr/lib/dovecot/modules/doveadm/lib20_doveadm_fts_lucene_plugin.so: undefined symbol: lucene_index_iter_deinit (this is usually intentional, so just ignore this message) Debug: Skipping module doveadm_fts_plugin, because dlopen() failed: /usr/lib/dovecot/modules/doveadm/lib20_doveadm_fts_plugin.so: undefined symbol: fts_user_get_language_list (this is usually intentional, so just ignore this message) Debug: Skipping module doveadm_mail_crypt_plugin, because dlopen() failed: /usr/lib/dovecot/modules/doveadm/libdoveadm_mail_crypt_plugin.so: undefined symbol: mail_crypt_box_get_pvt_digests (this is usually intentional, so just ignore this message) Debug: Loading modules from directory: /usr/lib/dovecot/modules/doveadm Debug: Skipping module doveadm_acl_plugin, because dlopen() failed: /usr/lib/dovecot/modules/doveadm/lib10_doveadm_acl_plugin.so: undefined symbol: acl_user_module (this is usually intentional, so just ignore this message) Debug: Skipping module doveadm_quota_plugin, because dlopen() failed: /usr/lib/dovecot/modules/doveadm/lib10_doveadm_quota_plugin.so: undefined symbol: quota_user_module (this is usually intentional, so just ignore this message) Debug: Module loaded: /usr/lib/dovecot/modules/doveadm/lib10_doveadm_sieve_plugin.so Debug: Skipping module doveadm_fts_lucene_plugin, because dlopen() failed: /usr/lib/dovecot/modules/doveadm/lib20_doveadm_fts_lucene_plugin.so: undefined symbol: lucene_index_iter_deinit (this is usually intentional, so just ignore this message) Debug: Skipping module doveadm_fts_plugin, because dlopen() failed: /usr/lib/dovecot/modules/doveadm/lib20_doveadm_fts_plugin.so: undefined symbol: fts_user_get_language_list (this is usually intentional, so just ignore this message) Debug: Skipping module doveadm_mail_crypt_plugin, because dlopen() failed: /usr/lib/dovecot/modules/doveadm/libdoveadm_mail_crypt_plugin.so: undefined symbol: mail_crypt_box_get_pvt_digests (this is usually intentional, so just ignore this message) Apr 12 10:52:18 Debug: Loading modules from directory: /usr/lib/dovecot/modules Apr 12 10:52:18 Debug: Module loaded: /usr/lib/dovecot/modules/lib01_acl_plugin.so Apr 12 10:52:18 Debug: Module loaded: /usr/lib/dovecot/modules/lib01_mail_lua_plugin.so Apr 12 10:52:18 Debug: Module loaded: /usr/lib/dovecot/modules/lib10_quota_plugin.so Apr 12 10:52:18 Debug: Module loaded: /usr/lib/dovecot/modules/lib15_notify_plugin.so Apr 12 10:52:18 Debug: Module loaded: /usr/lib/dovecot/modules/lib20_mail_log_plugin.so Apr 12 10:52:18 Debug: Module loaded: /usr/lib/dovecot/modules/lib20_push_notification_plugin.so Apr 12 10:52:18 Debug: Module loaded: /usr/lib/dovecot/modules/lib20_replication_plugin.so Apr 12 10:52:18 Debug: Module loaded: /usr/lib/dovecot/modules/lib22_push_notification_lua_plugin.so Apr 12 10:52:18 Debug: Loading modules from directory: /usr/lib/dovecot/modules/doveadm Apr 12 10:52:18 Debug: Module loaded: /usr/lib/dovecot/modules/doveadm/lib10_doveadm_acl_plugin.so Apr 12 10:52:18 Debug: Module loaded: /usr/lib/dovecot/modules/doveadm/lib10_doveadm_quota_plugin.so Apr 12 10:52:18 Debug: Skipping module doveadm_fts_lucene_plugin, because dlopen() failed: /usr/lib/dovecot/modules/doveadm/lib20_doveadm_fts_lucene_plugin.so: undefined symbol: lucene_index_iter_deinit (this is usually intentional, so just ignore this message) Apr 12 10:52:18 Debug: Skipping module doveadm_fts_plugin, because dlopen() failed: /usr/lib/dovecot/modules/doveadm/lib20_doveadm_fts_plugin.so: undefined symbol: fts_user_get_language_list (this is usually intentional, so just ignore this message) Apr 12 10:52:18 Debug: Skipping module doveadm_mail_crypt_plugin, because dlopen() failed: /usr/lib/dovecot/modules/doveadm/libdoveadm_mail_crypt_plugin.so: undefined symbol: mail_crypt_box_get_pvt_digests (this is usually intentional, so just ignore this message) Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: auth-master: passdb lookup(pbs@xyz.de): Started passdb lookup Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: auth-master: conn unix:/run/dovecot/auth-userdb: Connecting Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: auth-master: conn unix:/run/dovecot/auth-userdb (pid=1,uid=0): Client connected (fd=8) Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: auth-master: passdb lookup(pbs@xyz.de): auth PASS input: Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: auth-master: passdb lookup(pbs@xyz.de): Passdb lookup failed Apr 12 10:52:18 doveadm(pbs@xyz.de 1416382): Debug: auth-master: userdb lookup(pbs@xyz.de): Started userdb lookup Apr 12 10:52:18 doveadm(pbs@xyz.de 1416382): Debug: auth-master: userdb lookup(pbs@xyz.de): auth USER input:pbs@xyz.de home=/var/dovecot/imap/xyz.de/pbs quota_rule=*:bytes=20971520000master_user=pbs@xyz.de acl_groups=_admins@xyz.de,_alle-festangestellte@xyz.de,_organisatorische einheiten@xyz.de,_zbt-festangestellte@xyz.de,_zbt-geschaeftsfuehrung@xyz.de, Apr 12 10:52:18 doveadm(pbs@xyz.de 1416382): Debug: auth-master: userdb lookup(pbs@xyz.de): Finished userdb lookup (username=pbs@xyz.de home=/var/dovecot/imap/xyz.de/pbs quota_rule=*:bytes=20971520000master_user=pbs@xyz.de acl_groups=_admins@xyz.de,_alle-festangestellte@xyz.de,_organisatorische einheiten@xyz.de,_zbt-festangestellte@xyz.de,_zbt-geschaeftsfuehrung@xyz.de,) Apr 12 10:52:18 doveadm(pbs@xyz.de 1416382): Debug: Added userdb setting:plugin/acl_groups=_admins@xyz.de,_alle-festangestellte@xyz.de,_organisatorische einheiten@xyz.de,_zbt-festangestellte@xyz.de,_zbt-geschaeftsfuehrung@xyz.de, Apr 12 10:52:18 doveadm(pbs@xyz.de 1416382): Debug: Added userdb setting:plugin/master_user=pbs@xyz.de Apr 12 10:52:18 doveadm(pbs@xyz.de 1416382): Debug: Added userdb setting: plugin/quota_rule=*:bytes=20971520000 Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: Effective uid=90, gid=101, home=/var/dovecot/imap/xyz.de/pbs Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: dict(file): dict created (uri=file:/var/dovecot/imap/xyz.de/shared-mailboxes.db, base_dir=/run/dovecot) Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: Quota root: name=User quota backend=dict args=:ns=INBOX/:file:/var/dovecot/imap/xyz.de/pbs/dovecot-quota Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: Quota rule: root=User quota mailbox=* bytes=20971520000 messages=0 Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: Quota grace: root=User quota bytes=2097152000 (10%) Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: quota-dict:user=pbs@xyz.de, uri=file:/var/dovecot/imap/xyz.de/pbs/dovecot-quota, noenforcing=0 Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: dict(file): dict created (uri=file:/var/dovecot/imap/xyz.de/pbs/dovecot-quota, base_dir=/run/dovecot) Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: lua: Loading /etc/dovecot/dovecot-push.lua Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: lua: Calling script_init Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: Namespace inboxes: type=private, prefix=INBOX/, sep=/, inbox=yes, hidden=no, list=yes, subscriptions=no location=mdbox:~/mdbox Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: fs: root=/var/dovecot/imap/xyz.de/pbs/mdbox, index=, indexpvt=, control=, inbox=, alt= Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: acl: initializing backend with data: vfile Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: acl: acl username =pbs@xyz.de Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: acl: owner = 1 Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: acl: group added: _admins@xyz.de Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: acl: group added: _alle-festangestellte@xyz.de Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: acl: group added: _organisatorischeeinheiten@xyz.de Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: acl: group added: _zbt-festangestellte@xyz.de Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: acl: group added: _zbt-geschaeftsfuehrung@xyz.de Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: acl: group added: Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: acl vfile: Global ACLs disabled Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: Namespace users: type=shared, prefix=user/%n/, sep=/, inbox=no, hidden=no, list=yes, subscriptions=no location=mdbox:%h/mdbox Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: shared: root=/run/dovecot, index=, indexpvt=, control=, inbox=, alt= Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: acl: initializing backend with data: vfile Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: acl: acl username =pbs@xyz.de Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: acl: owner = 0 Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: acl: group added: _admins@xyz.de Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: acl: group added: _alle-festangestellte@xyz.de Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: acl: group added: _organisatorischeeinheiten@xyz.de Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: acl: group added: _zbt-festangestellte@xyz.de Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: acl: group added: _zbt-geschaeftsfuehrung@xyz.de Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: acl: group added: Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: acl vfile: Global ACLs disabled Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: Namespace subs: type=private, prefix=, sep=/, inbox=no, hidden=yes, list=no, subscriptions=yes location=mdbox:~/mdbox Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: fs: root=/var/dovecot/imap/xyz.de/pbs/mdbox, index=, indexpvt=, control=, inbox=, alt= Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: acl: initializing backend with data: vfile Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: acl: acl username =pbs@xyz.de Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: acl: owner = 1 Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: acl: group added: _admins@xyz.de Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: acl: group added: _alle-festangestellte@xyz.de Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: acl: group added: _organisatorischeeinheiten@xyz.de Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: acl: group added: _zbt-festangestellte@xyz.de Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: acl: group added: _zbt-geschaeftsfuehrung@xyz.de Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: acl: group added: Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: acl vfile: Global ACLs disabled Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: quota: quota_over_flag check: quota_over_script unset - skipping Apr 12 10:52:18 doveadm(pbs@xyz.de 1416382): Debug: auth-master: userdb lookup(pbs@xyz.de): Started userdb lookup Apr 12 10:52:18 doveadm(pbs@xyz.de 1416382): Debug: auth-master: userdb lookup(pbs@xyz.de): auth USER input:pbs@xyz.de home=/var/dovecot/imap/xyz.de/pbs quota_rule=*:bytes=20971520000master_user=pbs@xyz.de acl_groups=_admins@xyz.de,_alle-festangestellte@xyz.de,_organisatorische einheiten@xyz.de,_zbt-festangestellte@xyz.de,_zbt-geschaeftsfuehrung@xyz.de, Apr 12 10:52:18 doveadm(pbs@xyz.de 1416382): Debug: auth-master: userdb lookup(pbs@xyz.de): Finished userdb lookup (username=pbs@xyz.de home=/var/dovecot/imap/xyz.de/pbs quota_rule=*:bytes=20971520000master_user=pbs@xyz.de acl_groups=_admins@xyz.de,_alle-festangestellte@xyz.de,_organisatorische einheiten@xyz.de,_zbt-festangestellte@xyz.de,_zbt-geschaeftsfuehrung@xyz.de,) Apr 12 10:52:18 doveadm(pbs@xyz.de 1416382): Debug: Added userdb setting:plugin/acl_groups=_admins@xyz.de,_alle-festangestellte@xyz.de,_organisatorische einheiten@xyz.de,_zbt-festangestellte@xyz.de,_zbt-geschaeftsfuehrung@xyz.de, Apr 12 10:52:18 doveadm(pbs@xyz.de 1416382): Debug: Added userdb setting:plugin/master_user=pbs@xyz.de Apr 12 10:52:18 doveadm(pbs@xyz.de 1416382): Debug: Added userdb setting: plugin/quota_rule=*:bytes=20971520000 Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: Effective uid=90, gid=101, home=/var/dovecot/imap/xyz.de/pbs Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: dict(file): dict created (uri=file:/var/dovecot/imap/xyz.de/shared-mailboxes.db, base_dir=/run/dovecot) Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: Quota root: name=User quota backend=dict args=:ns=INBOX/:file:/var/dovecot/imap/xyz.de/pbs/dovecot-quota Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: Quota rule: root=User quota mailbox=* bytes=20971520000 messages=0 Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: Quota grace: root=User quota bytes=2097152000 (10%) Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: quota-dict:user=pbs@xyz.de, uri=file:/var/dovecot/imap/xyz.de/pbs/dovecot-quota, noenforcing=0 Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: dict(file): dict created (uri=file:/var/dovecot/imap/xyz.de/pbs/dovecot-quota, base_dir=/run/dovecot) Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: lua: Loading /etc/dovecot/dovecot-push.lua Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: lua: Calling script_init Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: fs: root=/var/dovecot/imap/xyz.de/pbs-2024-03-19/mdbox, index=, indexpvt=, control=, inbox=, alt= Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: acl: initializing backend with data: vfile Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: acl: acl username =pbs@xyz.de Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: acl: owner = 1 Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: acl: group added: _admins@xyz.de Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: acl: group added: _alle-festangestellte@xyz.de Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: acl: group added: _organisatorischeeinheiten@xyz.de Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: acl: group added: _zbt-festangestellte@xyz.de Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: acl: group added: _zbt-geschaeftsfuehrung@xyz.de Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: acl: group added: Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: acl vfile: Global ACLs disabled Apr 12 10:52:18 doveadm(pbs@xyz.de): Error: quota: Unknown namespace: INBOX/ Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: quota: quota_over_flag check: quota_over_script unset - skipping Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: acl vfile: file /var/dovecot/imap/xyz.de/pbs-2024-03-19/mdbox/mailboxes/dovecot-acl not found Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: User session is finished Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: dict(file): dict destroyed Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: dict(file): Waiting for dict to finish pending operations Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: dict(file): dict destroyed Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: User session is finished Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: dict(file): dict destroyed Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: dict(file): Waiting for dict to finish pending operations Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: dict(file): dict destroyed Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: auth-master: conn unix:/run/dovecot/auth-userdb (pid=1,uid=0): Disconnected: Connection closed (fd=8)
root@aab41229427e:/var/dovecot/imap/xyz.de# doveconf -n # 2.3.20 (80a5ac675d): /etc/dovecot/dovecot.conf # Pigeonhole version 0.5.20 (149edcf2) # OS: Linux 5.4.0-174-generic x86_64 Ubuntu 20.04.6 LTS # Hostname: aab41229427e auth_cache_negative_ttl = 2 mins auth_cache_size = 10 M auth_cache_ttl = 5 mins auth_master_user_separator = * auth_mechanisms = plain login auth_username_chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890.-_@#" default_client_limit = 3500 default_process_limit = 512 disable_plaintext_auth = no doveadm_password = # hidden, use -P to show it doveadm_port = 12345 first_valid_uid = 90 listen = * lmtp_rcpt_check_quota = yes log_path = /dev/stderr login_greeting = Dovecot FRA.nfs ready mail_access_groups = dovecot mail_attribute_dict =file:%h/dovecot-metadata mail_gid = dovecot mail_location = mdbox:~/mdbox mail_log_prefix = "%s(%u %p): " mail_max_userip_connections = 200 mail_plugins = acl quota notify replication mail_log mail_lua notify push_notification push_notification_lua mail_uid = dovecot 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 vnd.dovecot.debug mbox_min_index_size = 1000 B mdbox_rotate_size = 50 M namespace inboxes { inbox = yes location = mailbox Drafts { auto = subscribe special_use = \Drafts } mailbox Junk { auto = subscribe special_use = \Junk } mailbox Sent { auto = subscribe special_use = \Sent } mailbox Templates { auto = subscribe } mailbox Trash { auto = subscribe special_use = \Trash } prefix = INBOX/ separator = / subscriptions = no } namespace subs { hidden = yes list = no location = prefix = separator = / } namespace users { location = mdbox:%%h/mdbox prefix = user/%%n/ separator = / subscriptions = no type = shared } passdb { args = /etc/dovecot/dovecot-dict-master-auth.conf driver = dict master = yes } passdb { args = /etc/dovecot/dovecot-dict-auth.conf driver = dict } plugin { acl = vfile acl_shared_dict =file:/var/dovecot/imap/%d/shared-mailboxes.db mail_log_events = delete undelete expunge copy mailbox_delete mailbox_rename mail_log_fields = uid box msgid size mail_replica = tcp:10.44.99.6 push_lua_url =http://push-proxy/ push_notification_driver = lua:file=/etc/dovecot/dovecot-push.lua quota =dict:User quota::ns=INBOX/:file:%h/dovecot-quota quota_rule = *:storage=200GB sieve = ~/sieve/dovecot.sieve sieve_after = /var/dovecot/sieve/after.d/ sieve_before = /var/dovecot/sieve/before.d/ sieve_dir = ~/sieve sieve_extensions = +editheader +vacation-seconds sieve_user_log = ~/.sieve.log sieve_vacation_min_period = 1s } postmaster_address =admins@egroupware.org protocols = imap pop3 lmtp sieve replication_dsync_parameters = -d -n INBOX -l 30 -U service aggregator { fifo_listener replication-notify-fifo { user = dovecot } unix_listener replication-notify { user = dovecot } } service auth-worker { user = $default_internal_user } service auth { drop_priv_before_exec = no inet_listener { port = 113 } } service doveadm { inet_listener { port = 12345 } inet_listener { port = 26 } vsz_limit = 640 M } service imap-login { inet_listener imap { port = 143 } inet_listener imaps { port = 993 ssl = yes } process_min_avail = 5 service_count = 1 vsz_limit = 64 M } service imap { executable = imap process_limit = 2048 vsz_limit = 640 M } service lmtp { inet_listener lmtp { port = 24 } unix_listener lmtp { mode = 0666 } vsz_limit = 512 M } service managesieve-login { inet_listener sieve { port = 4190 } inet_listener sieve_deprecated { port = 2000 } } service pop3-login { inet_listener pop3 { port = 110 } inet_listener pop3s { port = 995 ssl = yes } } service pop3 { executable = pop3 } service postlogin { executable = script-login -d rawlog -b -t } service replicator { process_min_avail = 1 unix_listener replicator-doveadm { group = dovecot mode = 0660 user = dovecot } } ssl_cert =
-- 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
Dovecot version is 2.3.20 and I try to restore a folder hierarchy from an older snapshot of the mailbox (folders in question have been deleted): sudo -u dovecot doveadm -Dv import -u pbs@xyz.de -s mdbox:$(pwd)/pbs-2024-03- 19/mdbox INBOX mailbox 'projekte/8-BZ/*' I'm getting the following error: Apr 12 10:52:18 doveadm(pbs@xyz.de): Error: quota: Unknown namespace: INBOX/ I also tried restoring in a (not existing) restore folder: Restore-2024-03-19 and using search query "mailbox 'projekte/8-BZ'", all give the same result :( Any ideas what might be wrong, I did this many times before, and it worked, so I'm puzzeled ... Here is the full output of doveadm import command above and doveconf -n: root@aab41229427e:/var/dovecot/imap/xyz.de# sudo -u dovecot doveadm -Dv import -u pbs@xyz.de -s mdbox:$(pwd)/pbs-2024-03-19/mdbox INBOX mailbox 'projekte/8- BZ/*' Debug: Loading modules from directory: /usr/lib/dovecot/modules/doveadm Debug: Skipping module doveadm_acl_plugin, because dlopen() failed: /usr/lib/ dovecot/modules/doveadm/lib10_doveadm_acl_plugin.so: undefined symbol: acl_user_module (this is usually intentional, so just ignore this message) Debug: Skipping module doveadm_quota_plugin, because dlopen() failed: /usr/lib/ dovecot/modules/doveadm/lib10_doveadm_quota_plugin.so: undefined symbol: quota_user_module (this is usually intentional, so just ignore this message) Debug: Module loaded: /usr/lib/dovecot/modules/doveadm/ lib10_doveadm_sieve_plugin.so Debug: Skipping module doveadm_fts_lucene_plugin, because dlopen() failed: / usr/lib/dovecot/modules/doveadm/lib20_doveadm_fts_lucene_plugin.so: undefined symbol: lucene_index_iter_deinit (this is usually intentional, so just ignore this message) Debug: Skipping module doveadm_fts_plugin, because dlopen() failed: /usr/lib/ dovecot/modules/doveadm/lib20_doveadm_fts_plugin.so: undefined symbol: fts_user_get_language_list (this is usually intentional, so just ignore this message) Debug: Skipping module doveadm_mail_crypt_plugin, because dlopen() failed: / usr/lib/dovecot/modules/doveadm/libdoveadm_mail_crypt_plugin.so: undefined symbol: mail_crypt_box_get_pvt_digests (this is usually intentional, so just ignore this message) Debug: Loading modules from directory: /usr/lib/dovecot/modules/doveadm Debug: Skipping module doveadm_acl_plugin, because dlopen() failed: /usr/lib/ dovecot/modules/doveadm/lib10_doveadm_acl_plugin.so: undefined symbol: acl_user_module (this is usually intentional, so just ignore this message) Debug: Skipping module doveadm_quota_plugin, because dlopen() failed: /usr/lib/ dovecot/modules/doveadm/lib10_doveadm_quota_plugin.so: undefined symbol: quota_user_module (this is usually intentional, so just ignore this message) Debug: Module loaded: /usr/lib/dovecot/modules/doveadm/ lib10_doveadm_sieve_plugin.so Debug: Skipping module doveadm_fts_lucene_plugin, because dlopen() failed: / usr/lib/dovecot/modules/doveadm/lib20_doveadm_fts_lucene_plugin.so: undefined symbol: lucene_index_iter_deinit (this is usually intentional, so just ignore this message) Debug: Skipping module doveadm_fts_plugin, because dlopen() failed: /usr/lib/ dovecot/modules/doveadm/lib20_doveadm_fts_plugin.so: undefined symbol: fts_user_get_language_list (this is usually intentional, so just ignore this message) Debug: Skipping module doveadm_mail_crypt_plugin, because dlopen() failed: / usr/lib/dovecot/modules/doveadm/libdoveadm_mail_crypt_plugin.so: undefined symbol: mail_crypt_box_get_pvt_digests (this is usually intentional, so just ignore this message) Apr 12 10:52:18 Debug: Loading modules from directory: /usr/lib/dovecot/modules Apr 12 10:52:18 Debug: Module loaded: /usr/lib/dovecot/modules/ lib01_acl_plugin.so Apr 12 10:52:18 Debug: Module loaded: /usr/lib/dovecot/modules/ lib01_mail_lua_plugin.so Apr 12 10:52:18 Debug: Module loaded: /usr/lib/dovecot/modules/ lib10_quota_plugin.so Apr 12 10:52:18 Debug: Module loaded: /usr/lib/dovecot/modules/ lib15_notify_plugin.so Apr 12 10:52:18 Debug: Module loaded: /usr/lib/dovecot/modules/ lib20_mail_log_plugin.so Apr 12 10:52:18 Debug: Module loaded: /usr/lib/dovecot/modules/ lib20_push_notification_plugin.so Apr 12 10:52:18 Debug: Module loaded: /usr/lib/dovecot/modules/ lib20_replication_plugin.so Apr 12 10:52:18 Debug: Module loaded: /usr/lib/dovecot/modules/ lib22_push_notification_lua_plugin.so Apr 12 10:52:18 Debug: Loading modules from directory: /usr/lib/dovecot/ modules/doveadm Apr 12 10:52:18 Debug: Module loaded: /usr/lib/dovecot/modules/doveadm/ lib10_doveadm_acl_plugin.so Apr 12 10:52:18 Debug: Module loaded: /usr/lib/dovecot/modules/doveadm/ lib10_doveadm_quota_plugin.so Apr 12 10:52:18 Debug: Skipping module doveadm_fts_lucene_plugin, because dlopen() failed: /usr/lib/dovecot/modules/doveadm/ lib20_doveadm_fts_lucene_plugin.so: undefined symbol: lucene_index_iter_deinit (this is usually intentional, so just ignore this message) Apr 12 10:52:18 Debug: Skipping module doveadm_fts_plugin, because dlopen() failed: /usr/lib/dovecot/modules/doveadm/lib20_doveadm_fts_plugin.so: undefined symbol: fts_user_get_language_list (this is usually intentional, so just ignore this message) Apr 12 10:52:18 Debug: Skipping module doveadm_mail_crypt_plugin, because dlopen() failed: /usr/lib/dovecot/modules/doveadm/ libdoveadm_mail_crypt_plugin.so: undefined symbol: mail_crypt_box_get_pvt_digests (this is usually intentional, so just ignore this message) Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: auth-master: passdb lookup (pbs@xyz.de): Started passdb lookup Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: auth-master: conn unix:/run/ dovecot/auth-userdb: Connecting Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: auth-master: conn unix:/run/ dovecot/auth-userdb (pid=1,uid=0): Client connected (fd=8) Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: auth-master: passdb lookup (pbs@xyz.de): auth PASS input: Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: auth-master: passdb lookup (pbs@xyz.de): Passdb lookup failed Apr 12 10:52:18 doveadm(pbs@xyz.de 1416382): Debug: auth-master: userdb lookup (pbs@xyz.de): Started userdb lookup Apr 12 10:52:18 doveadm(pbs@xyz.de 1416382): Debug: auth-master: userdb lookup (pbs@xyz.de): auth USER input: pbs@xyz.de home=/var/dovecot/imap/xyz.de/pbs quota_rule=*:bytes=20971520000 master_user=pbs@xyz.de acl_groups=_admins@xyz.de,_alle-festangestellte@xyz.de,_organisatorische einheiten@xyz.de,_zbt-festangestellte@xyz.de,_zbt-geschaeftsfuehrung@xyz.de, Apr 12 10:52:18 doveadm(pbs@xyz.de 1416382): Debug: auth-master: userdb lookup (pbs@xyz.de): Finished userdb lookup (username=pbs@xyz.de home=/var/dovecot/ imap/xyz.de/pbs quota_rule=*:bytes=20971520000 master_user=pbs@xyz.de acl_groups=_admins@xyz.de,_alle-festangestellte@xyz.de,_organisatorische einheiten@xyz.de,_zbt-festangestellte@xyz.de,_zbt-geschaeftsfuehrung@xyz.de,) Apr 12 10:52:18 doveadm(pbs@xyz.de 1416382): Debug: Added userdb setting: plugin/acl_groups=_admins@xyz.de,_alle-festangestellte@xyz.de,_organisatorische einheiten@xyz.de,_zbt-festangestellte@xyz.de,_zbt-geschaeftsfuehrung@xyz.de, Apr 12 10:52:18 doveadm(pbs@xyz.de 1416382): Debug: Added userdb setting: plugin/master_user=pbs@xyz.de Apr 12 10:52:18 doveadm(pbs@xyz.de 1416382): Debug: Added userdb setting: plugin/quota_rule=*:bytes=20971520000 Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: Effective uid=90, gid=101, home=/ var/dovecot/imap/xyz.de/pbs Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: dict(file): dict created (uri=file: /var/dovecot/imap/xyz.de/shared-mailboxes.db, base_dir=/run/dovecot) Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: Quota root: name=User quota backend=dict args=:ns=INBOX/:file:/var/dovecot/imap/xyz.de/pbs/dovecot-quota Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: Quota rule: root=User quota mailbox=* bytes=20971520000 messages=0 Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: Quota grace: root=User quota bytes=2097152000 (10%) Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: quota-dict: user=pbs@xyz.de, uri=file:/var/dovecot/imap/xyz.de/pbs/dovecot-quota, noenforcing=0 Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: dict(file): dict created (uri=file: /var/dovecot/imap/xyz.de/pbs/dovecot-quota, base_dir=/run/dovecot) Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: lua: Loading /etc/dovecot/dovecot- push.lua Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: lua: Calling script_init Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: Namespace inboxes: type=private, prefix=INBOX/, sep=/, inbox=yes, hidden=no, list=yes, subscriptions=no location=mdbox:~/mdbox Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: fs: root=/var/dovecot/imap/xyz.de/ pbs/mdbox, index=, indexpvt=, control=, inbox=, alt= Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: acl: initializing backend with data: vfile Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: acl: acl username = pbs@xyz.de Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: acl: owner = 1 Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: acl: group added: _admins@xyz.de Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: acl: group added: _alle- festangestellte@xyz.de Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: acl: group added: _organisatorische einheiten@xyz.de Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: acl: group added: _zbt- festangestellte@xyz.de Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: acl: group added: _zbt- geschaeftsfuehrung@xyz.de Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: acl: group added: Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: acl vfile: Global ACLs disabled Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: Namespace users: type=shared, prefix=user/%n/, sep=/, inbox=no, hidden=no, list=yes, subscriptions=no location=mdbox:%h/mdbox Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: shared: root=/run/dovecot, index=, indexpvt=, control=, inbox=, alt= Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: acl: initializing backend with data: vfile Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: acl: acl username = pbs@xyz.de Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: acl: owner = 0 Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: acl: group added: _admins@xyz.de Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: acl: group added: _alle- festangestellte@xyz.de Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: acl: group added: _organisatorische einheiten@xyz.de Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: acl: group added: _zbt- festangestellte@xyz.de Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: acl: group added: _zbt- geschaeftsfuehrung@xyz.de Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: acl: group added: Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: acl vfile: Global ACLs disabled Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: Namespace subs: type=private, prefix=, sep=/, inbox=no, hidden=yes, list=no, subscriptions=yes location=mdbox:~/mdbox Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: fs: root=/var/dovecot/imap/xyz.de/ pbs/mdbox, index=, indexpvt=, control=, inbox=, alt= Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: acl: initializing backend with data: vfile Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: acl: acl username = pbs@xyz.de Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: acl: owner = 1 Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: acl: group added: _admins@xyz.de Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: acl: group added: _alle- festangestellte@xyz.de Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: acl: group added: _organisatorische einheiten@xyz.de Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: acl: group added: _zbt- festangestellte@xyz.de Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: acl: group added: _zbt- geschaeftsfuehrung@xyz.de Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: acl: group added: Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: acl vfile: Global ACLs disabled Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: quota: quota_over_flag check: quota_over_script unset - skipping Apr 12 10:52:18 doveadm(pbs@xyz.de 1416382): Debug: auth-master: userdb lookup (pbs@xyz.de): Started userdb lookup Apr 12 10:52:18 doveadm(pbs@xyz.de 1416382): Debug: auth-master: userdb lookup (pbs@xyz.de): auth USER input: pbs@xyz.de home=/var/dovecot/imap/xyz.de/pbs quota_rule=*:bytes=20971520000 master_user=pbs@xyz.de acl_groups=_admins@xyz.de,_alle-festangestellte@xyz.de,_organisatorische einheiten@xyz.de,_zbt-festangestellte@xyz.de,_zbt-geschaeftsfuehrung@xyz.de, Apr 12 10:52:18 doveadm(pbs@xyz.de 1416382): Debug: auth-master: userdb lookup (pbs@xyz.de): Finished userdb lookup (username=pbs@xyz.de home=/var/dovecot/ imap/xyz.de/pbs quota_rule=*:bytes=20971520000 master_user=pbs@xyz.de acl_groups=_admins@xyz.de,_alle-festangestellte@xyz.de,_organisatorische einheiten@xyz.de,_zbt-festangestellte@xyz.de,_zbt-geschaeftsfuehrung@xyz.de,) Apr 12 10:52:18 doveadm(pbs@xyz.de 1416382): Debug: Added userdb setting: plugin/acl_groups=_admins@xyz.de,_alle-festangestellte@xyz.de,_organisatorische einheiten@xyz.de,_zbt-festangestellte@xyz.de,_zbt-geschaeftsfuehrung@xyz.de, Apr 12 10:52:18 doveadm(pbs@xyz.de 1416382): Debug: Added userdb setting: plugin/master_user=pbs@xyz.de Apr 12 10:52:18 doveadm(pbs@xyz.de 1416382): Debug: Added userdb setting: plugin/quota_rule=*:bytes=20971520000 Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: Effective uid=90, gid=101, home=/ var/dovecot/imap/xyz.de/pbs Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: dict(file): dict created (uri=file: /var/dovecot/imap/xyz.de/shared-mailboxes.db, base_dir=/run/dovecot) Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: Quota root: name=User quota backend=dict args=:ns=INBOX/:file:/var/dovecot/imap/xyz.de/pbs/dovecot-quota Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: Quota rule: root=User quota mailbox=* bytes=20971520000 messages=0 Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: Quota grace: root=User quota bytes=2097152000 (10%) Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: quota-dict: user=pbs@xyz.de, uri=file:/var/dovecot/imap/xyz.de/pbs/dovecot-quota, noenforcing=0 Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: dict(file): dict created (uri=file: /var/dovecot/imap/xyz.de/pbs/dovecot-quota, base_dir=/run/dovecot) Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: lua: Loading /etc/dovecot/dovecot- push.lua Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: lua: Calling script_init Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: fs: root=/var/dovecot/imap/xyz.de/ pbs-2024-03-19/mdbox, index=, indexpvt=, control=, inbox=, alt= Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: acl: initializing backend with data: vfile Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: acl: acl username = pbs@xyz.de Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: acl: owner = 1 Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: acl: group added: _admins@xyz.de Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: acl: group added: _alle- festangestellte@xyz.de Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: acl: group added: _organisatorische einheiten@xyz.de Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: acl: group added: _zbt- festangestellte@xyz.de Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: acl: group added: _zbt- geschaeftsfuehrung@xyz.de Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: acl: group added: Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: acl vfile: Global ACLs disabled Apr 12 10:52:18 doveadm(pbs@xyz.de): Error: quota: Unknown namespace: INBOX/ Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: quota: quota_over_flag check: quota_over_script unset - skipping Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: acl vfile: file /var/dovecot/imap/ xyz.de/pbs-2024-03-19/mdbox/mailboxes/dovecot-acl not found Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: User session is finished Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: dict(file): dict destroyed Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: dict(file): Waiting for dict to finish pending operations Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: dict(file): dict destroyed Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: User session is finished Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: dict(file): dict destroyed Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: dict(file): Waiting for dict to finish pending operations Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: dict(file): dict destroyed Apr 12 10:52:18 doveadm(pbs@xyz.de): Debug: auth-master: conn unix:/run/ dovecot/auth-userdb (pid=1,uid=0): Disconnected: Connection closed (fd=8)
root@aab41229427e:/var/dovecot/imap/xyz.de# doveconf -n # 2.3.20 (80a5ac675d): /etc/dovecot/dovecot.conf # Pigeonhole version 0.5.20 (149edcf2) # OS: Linux 5.4.0-174-generic x86_64 Ubuntu 20.04.6 LTS # Hostname: aab41229427e auth_cache_negative_ttl = 2 mins auth_cache_size = 10 M auth_cache_ttl = 5 mins auth_master_user_separator = * auth_mechanisms = plain login auth_username_chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890.-_@#" default_client_limit = 3500 default_process_limit = 512 disable_plaintext_auth = no doveadm_password = # hidden, use -P to show it doveadm_port = 12345 first_valid_uid = 90 listen = * lmtp_rcpt_check_quota = yes log_path = /dev/stderr login_greeting = Dovecot FRA.nfs ready mail_access_groups = dovecot mail_attribute_dict = file:%h/dovecot-metadata mail_gid = dovecot mail_location = mdbox:~/mdbox mail_log_prefix = "%s(%u %p): " mail_max_userip_connections = 200 mail_plugins = acl quota notify replication mail_log mail_lua notify push_notification push_notification_lua mail_uid = dovecot 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 vnd.dovecot.debug mbox_min_index_size = 1000 B mdbox_rotate_size = 50 M namespace inboxes { inbox = yes location = mailbox Drafts { auto = subscribe special_use = \Drafts } mailbox Junk { auto = subscribe special_use = \Junk } mailbox Sent { auto = subscribe special_use = \Sent } mailbox Templates { auto = subscribe } mailbox Trash { auto = subscribe special_use = \Trash } prefix = INBOX/ separator = / subscriptions = no } namespace subs { hidden = yes list = no location = prefix = separator = / } namespace users { location = mdbox:%%h/mdbox prefix = user/%%n/ separator = / subscriptions = no type = shared } passdb { args = /etc/dovecot/dovecot-dict-master-auth.conf driver = dict master = yes } passdb { args = /etc/dovecot/dovecot-dict-auth.conf driver = dict } plugin { acl = vfile acl_shared_dict = file:/var/dovecot/imap/%d/shared-mailboxes.db mail_log_events = delete undelete expunge copy mailbox_delete mailbox_rename mail_log_fields = uid box msgid size mail_replica = tcp:10.44.99.6 push_lua_url = http://push-proxy/ push_notification_driver = lua:file=/etc/dovecot/dovecot-push.lua quota = dict:User quota::ns=INBOX/:file:%h/dovecot-quota quota_rule = *:storage=200GB sieve = ~/sieve/dovecot.sieve sieve_after = /var/dovecot/sieve/after.d/ sieve_before = /var/dovecot/sieve/before.d/ sieve_dir = ~/sieve sieve_extensions = +editheader +vacation-seconds sieve_user_log = ~/.sieve.log sieve_vacation_min_period = 1s } postmaster_address = admins@egroupware.org protocols = imap pop3 lmtp sieve replication_dsync_parameters = -d -n INBOX -l 30 -U service aggregator { fifo_listener replication-notify-fifo { user = dovecot } unix_listener replication-notify { user = dovecot } } service auth-worker { user = $default_internal_user } service auth { drop_priv_before_exec = no inet_listener { port = 113 } } service doveadm { inet_listener { port = 12345 } inet_listener { port = 26 } vsz_limit = 640 M } service imap-login { inet_listener imap { port = 143 } inet_listener imaps { port = 993 ssl = yes } process_min_avail = 5 service_count = 1 vsz_limit = 64 M } service imap { executable = imap process_limit = 2048 vsz_limit = 640 M } service lmtp { inet_listener lmtp { port = 24 } unix_listener lmtp { mode = 0666 } vsz_limit = 512 M } service managesieve-login { inet_listener sieve { port = 4190 } inet_listener sieve_deprecated { port = 2000 } } service pop3-login { inet_listener pop3 { port = 110 } inet_listener pop3s { port = 995 ssl = yes } } service pop3 { executable = pop3 } service postlogin { executable = script-login -d rawlog -b -t } service replicator { process_min_avail = 1 unix_listener replicator-doveadm { group = dovecot mode = 0660 user = dovecot } } ssl_cert =
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
Noone an idea?
No longer been able to restore mailboxes seems a little scary ...
Ralf
Am 12.04.24 um 14:07 schrieb Ralf Becker via dovecot:
Dovecot version is 2.3.20 and I try to restore a folder hierarchy from an older snapshot of the mailbox (folders in question have been deleted): sudo -u dovecot doveadm -Dv import -u pbs@xyz.de -s mdbox:$(pwd)/pbs-2024-03- 19/mdbox INBOX mailbox 'projekte/8-BZ/*' I'm getting the following error: Apr 12 10:52:18 doveadm(pbs@xyz.de): Error: quota: Unknown namespace: INBOX/ I also tried restoring in a (not existing) restore folder: Restore-2024-03-19 and using search query "mailbox 'projekte/8-BZ'", all give the same result :( Any ideas what might be wrong, I did this many times before, and it worked, so I'm puzzeled ... Here is the full output of doveadm import command above and doveconf -n: ...
-- 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
doveadm -o plugin/quota= ... Aki On 17/04/2024 10:25 EEST Ralf Becker via dovecot dovecot@dovecot.org wrote: Noone an idea? No longer been able to restore mailboxes seems a little scary ... Ralf Am 12.04.24 um 14:07 schrieb Ralf Becker via dovecot: Dovecot version is 2.3.20 and I try to restore a folder hierarchy from an older snapshot of the mailbox (folders in question have been deleted): sudo -u dovecot doveadm -Dv import -u pbs@xyz.de -s mdbox:$ (pwd)/pbs-2024-03- 19/mdbox INBOX mailbox 'projekte/8-BZ/*' I'm getting the following error: Apr 12 10:52:18 doveadm(pbs@xyz.de): Error: quota: Unknown namespace: INBOX/ I also tried restoring in a (not existing) restore folder: Restore-2024-03-19 and using search query "mailbox 'projekte/8-BZ'", all give the same result :( Any ideas what might be wrong, I did this many times before, and it worked, so I'm puzzeled ... Here is the full output of doveadm import command above and doveconf -n: ... -- 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 _______________________________________________ dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org
participants (2)
-
Aki Tuomi
-
Ralf Becker