My doveadm import -DV ...

doveadm import -u USER mdbox:/xxx/xxx/xxx/xxx/xxx/xxx/ DIR all"


Debug: Loading modules from directory: /usr/lib/dovecot/modules
Debug: Module loaded: /usr/lib/dovecot/modules/lib10_quota_plugin.so
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_expire_plugin, because dlopen() failed: /usr/lib/dovecot/modules/doveadm/lib10_doveadm_expire_plugin.so: undefined symbol: expire_set_deinit (this is usually intentional, so just ignore this message)
Debug: Module loaded: /usr/lib/dovecot/modules/doveadm/lib10_doveadm_quota_plugin.so
Debug: Module loaded: /usr/lib/dovecot/modules/doveadm/lib10_doveadm_sieve_plugin.so
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)
doveadm(teste@xxxxx.zzz.com): Debug: Added userdb setting: mail=mdbox:/var/spool/imap/partition4/f4/teste@xxxxx.zzz.com:INDEX=/var/lib/imap/user/f4/teste@xxxxx.zzz.com
doveadm(teste@xxxxx.zzz.com): Debug: Added userdb setting: plugin/password=<hidden>:q!
doveadm(teste@xxxxx.zzz.com): Debug: Added userdb setting: plugin/quota_rule=*:bytes=1024M
doveadm(teste@xxxxx.zzz.com): Debug: Effective uid=111, gid=111, home=/var/lib/imap/user/f4/teste@xxxxx.zzz.com
doveadm(teste@xxxxx.zzz.com): Debug: Quota root: name=User quota backend=dict args=:file:/var/lib/imap/user/f4/teste@xxxxx.zzz.com/dovecot-quota
doveadm(teste@xxxxx.zzz.com): Debug: Quota rule: root=User quota mailbox=* bytes=1073741824 messages=0
doveadm(teste@xxxxx.zzz.com): Debug: Quota grace: root=User quota bytes=107374182 (10%)
doveadm(teste@xxxxx.zzz.com): Debug: dict quota: user=teste@xxxxx.zzz.com, uri=file:/var/lib/imap/user/f4/teste@xxxxx.zzz.com/dovecot-quota, noenforcing=0
doveadm(teste@xxxxx.zzz.com): Debug: fs: root=/var/spool/imap/partition4/f4/teste@xxxxx.zzz.com, index=/var/lib/imap/user/f4/teste@xxxxx.zzz.com, indexpvt=, control=, inbox=, alt=
doveadm(teste@xxxxx.zzz.com): Debug: quota: quota_over_flag check: quota_over_script unset - skipping
doveadm(teste@xxxxx.zzz.com): user-lookup(teste@xxxxx.zzz.com)Debug: Added userdb setting: mail=mdbox:/var/spool/imap/partition4/f4/teste@xxxxx.zzz.com:INDEX=/var/lib/imap/user/f4/teste@xxxxx.zzz.com
doveadm(teste@xxxxx.zzz.com): user-lookup(teste@xxxxx.zzz.com)Debug: Added userdb setting: plugin/password=<hidden>
doveadm(teste@xxxxx.zzz.com): user-lookup(teste@xxxxx.zzz.com)Debug: Added userdb setting: plugin/quota_rule=*:bytes=1024M
doveadm(teste@xxxxx.zzz.com): Debug: Effective uid=111, gid=111, home=/var/lib/imap/user/f4/teste@xxxxx.zzz.com
doveadm(teste@xxxxx.zzz.com): Debug: Quota root: name=User quota backend=dict args=:file:/var/lib/imap/user/f4/teste@xxxxx.zzz.com/dovecot-quota
doveadm(teste@xxxxx.zzz.com): Debug: Quota rule: root=User quota mailbox=* bytes=1073741824 messages=0
doveadm(teste@aprendiz.x-br.com): Debug: Quota grace: root=User quota bytes=107374182 (10%)
doveadm(teste@aprendiz.x-br.com): Debug: dict quota: user=teste@aprendiz.x-br.com, uri=file:/var/lib/imap/user/f4/teste@aprendiz.x-br.com/dovecot-quota, noenforcing=0
doveadm(teste@aprendiz.x-br.com): Debug: fs: root=/var/backup/bak1/Backup_Teste/f4/teste@aprendiz.x-br.com, index=, indexpvt=, control=, inbox=, alt=
doveadm(teste@aprendiz.x-br.com): Debug: quota: quota_over_flag check: quota_over_script unset - skipping
doveadm(teste@aprendiz.x-br.com): Debug: Trash: Mailbox opened because: import
doveadm(teste@aprendiz.x-br.com): Debug: Trash/Rascunhos: Mailbox opened because: import
doveadm(teste@aprendiz.x-br.com): Debug: Trash/SPAM: Mailbox opened because: import
doveadm(teste@aprendiz.x-br.com): Debug: Drafts: Mailbox opened because: import
doveadm(teste@aprendiz.x-br.com): Debug: Sent: Mailbox opened because: import
doveadm(teste@aprendiz.x-br.com): Debug: Itens enviados: Mailbox opened because: import
doveadm(teste@aprendiz.x-br.com): Debug: Rascunhos: Mailbox opened because: import
doveadm(teste@aprendiz.x-br.com): Debug: Alma 2: Mailbox opened because: import
doveadm(teste@aprendiz.x-br.com): Debug: Alma 2/Corpo 3: Mailbox opened because: import
doveadm(teste@aprendiz.x-br.com): Debug: Alma 2/Corpo 2: Mailbox opened because: import
doveadm(teste@aprendiz.x-br.com): Debug: Alma 1: Mailbox opened because: import
doveadm(teste@aprendiz.x-br.com): Debug: Alma 1/Corpo 1: Mailbox opened because: import
doveadm(teste@aprendiz.x-br.com): Debug: Alma 1/Corpo 2: Mailbox opened because: import
doveadm(teste@aprendiz.x-br.com): Debug: SPAM: Mailbox opened because: import
doveadm(teste@aprendiz.x-br.com): Debug: Lixeira: Mailbox opened because: import
doveadm(teste@aprendiz.x-br.com): Debug: INBOX: Mailbox opened because: import

Em qua, 26 de jun de 2019 às 18:40, Alexander Varejão <frater.alexander@gmail.com> escreveu:
Dear,
I always used dovecot in version 2.0 and in the last month i update my servers to dovecot 2.2 but now i have problems with comand dovecot import, not works for me, bellow i put 2 examples used in my tests in boths cases not works for me.

Someone already saw some case similar or can help me with this ?

doveadm import -u teste@aaaaa.com mdbox:~/mdbox-backup "" mailbox INBOX from testeteste@bbbb.com

doveadm import -u teste@xxx.com mdbox:/var/backup/teste@aaaaa.com/ "" all

Thanks a Lot
Alexander