[Dovecot] Mail migration to dovecot with doveadm backup

Reinhard Vicinus r.vicinus at metaways.de
Wed Jun 27 16:10:29 EEST 2012


Hi,

if i delete the home directory and all content below an existing account 
user at example.org. Then run:

/usr/bin/doveadm quota recalc -u user at example.org

and afterwards:

/usr/bin/doveadm -o imapc_user=user at example.org -o imapc_password=imappw 
-o imapc_host=local-mailbox -o imapc_features=rfc822.size -o 
imapc_port=18143 -D -v backup -R -f -u user at example.org imapc:

i get the following errors:

doveadm(root): Debug: Loading modules from directory: 
/usr/lib/dovecot/modules
doveadm(root): Debug: Module loaded: 
/usr/lib/dovecot/modules/lib10_quota_plugin.so
doveadm(root): Debug: Loading modules from directory: 
/usr/lib/dovecot/modules/doveadm
doveadm(root): 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)
doveadm(root): Debug: Skipping module doveadm_expire_plugin, because 
dlopen() failed: 
/usr/lib/dovecot/modules/doveadm/lib10_doveadm_expire_plugin.so: 
undefined symbol: expire_set_lookup (this is usually intentional, so 
just ignore this message)
doveadm(root): Debug: Module loaded: 
/usr/lib/dovecot/modules/doveadm/lib10_doveadm_quota_plugin.so
doveadm(root): Debug: Skipping module doveadm_zlib_plugin, because 
dlopen() failed: 
/usr/lib/dovecot/modules/doveadm/lib10_doveadm_zlib_plugin.so: undefined 
symbol: i_stream_create_deflate (this is usually intentional, so just 
ignore this message)
doveadm(root): Debug: Skipping module doveadm_fts_plugin, because 
dlopen() failed: 
/usr/lib/dovecot/modules/doveadm/lib20_doveadm_fts_plugin.so: undefined 
symbol: fts_list_backend (this is usually intentional, so just ignore 
this message)
doveadm(user at example.org): Debug: auth input: user at example.org 
home=/mail/dovecot/example.org/user uid=501 gid=123 
quota_rule=*:bytes=2000M:messages=0
doveadm(user at example.org): Debug: Added userdb setting: 
plugin/quota_rule=*:bytes=2000M:messages=0
doveadm(user at example.org): Debug: Effective uid=501, gid=123, 
home=/mail/dovecot/example.org/user
doveadm(user at example.org): Debug: Quota root: name=User quota 
backend=dict args=:proxy::quota
doveadm(user at example.org): Debug: Quota rule: root=User quota mailbox=* 
bytes=2097152000 messages=0
doveadm(user at example.org): Debug: Quota rule: root=User quota 
mailbox=Trash bytes=+104857600 messages=0
doveadm(user at example.org): Debug: Quota warning: bytes=1992294400 (95%) 
messages=0 reverse=no command=quota-warning 95 user at example.org
doveadm(user at example.org): Debug: Quota warning: bytes=1677721600 (80%) 
messages=0 reverse=no command=quota-warning 80 user at example.org
doveadm(user at example.org): Debug: dict quota: user=user at example.org, 
uri=proxy::quota, noenforcing=0
doveadm(user at example.org): Debug: fs: 
root=/mail/dovecot/example.org/user/mail, index=, control=, inbox=, alt=
doveadm(user at example.org): Debug: Namespace : Using permissions from 
/mail/dovecot/example.org/user/mail: mode=0700 gid=-1
dsync(user at example.org): Debug: Effective uid=501, gid=123, 
home=/mail/dovecot/example.org/user
dsync(user at example.org): Debug: Quota root: name=User quota backend=dict 
args=:proxy::quota
dsync(user at example.org): Debug: Quota rule: root=User quota mailbox=* 
bytes=2097152000 messages=0
dsync(user at example.org): Debug: Quota rule: root=User quota 
mailbox=Trash bytes=+104857600 messages=0
dsync(user at example.org): Debug: Quota warning: bytes=1992294400 (95%) 
messages=0 reverse=no command=quota-warning 95 user at example.org
dsync(user at example.org): Debug: Quota warning: bytes=1677721600 (80%) 
messages=0 reverse=no command=quota-warning 80 user at example.org
dsync(user at example.org): Debug: dict quota: user=user at example.org, 
uri=proxy::quota, noenforcing=0
dsync(user at example.org): Debug: imapc: root=, index=, control=, inbox=, alt=
dsync(user at example.org): Debug: imapc(local-mailbox:18143): Looking up 
IP address
dsync(user at example.org): Debug: imapc(local-mailbox:18143): Connecting 
to 10.129.3.196:18143
dsync(user at example.org): Debug: imapc(local-mailbox:18143): Server 
capabilities: IMAP4 IMAP4rev1 AUTH=LOGIN ACL NAMESPACE CHILDREN SORT 
QUOTA THREAD=ORDEREDSUBJECT UNSELECT IDLE
dsync(user at example.org): Debug: imapc(local-mailbox:18143): 
Authenticating as user at example.org
dsync(user at example.org): Debug: imapc(local-mailbox:18143): 
Authenticated successfully
dsync(user at example.org): Error: Can't delete mailbox INBOX: INBOX can't 
be deleted.
dsync(user at example.org): Debug: Namespace : 
/mail/dovecot/example.org/user/mail/mailboxes/Trash doesn't exist yet, 
using default permissions
dsync(user at example.org): Debug: Namespace : Using permissions from 
/mail/dovecot/example.org/user/mail: mode=0700 gid=-1
dsync(user at example.org): Debug: Namespace : 
/mail/dovecot/example.org/user/mail/mailboxes/Sent doesn't exist yet, 
using default permissions
dsync(user at example.org): Debug: Namespace : Using permissions from 
/mail/dovecot/example.org/user/mail: mode=0700 gid=-1
dsync(user at example.org): Info: INBOX: only in dest 
(guid=54c23c119d04eb4f005100004f99b03d)
dsync(user at example.org): Info: Trash: only in source 
(guid=7f5af7ba291b2df1a11d573bdb55d7e9)
dsync(user at example.org): Info: Sent: only in source 
(guid=bfb2e03fdce327671e82bf173b1ccb8b)
dsync(user at example.org): Info: INBOX: only in source 
(guid=c92f64f79f0d1ed01e6d5b314f04886c)
dsync(user at example.org): Error: Trying to open a non-listed mailbox with 
guid=54c23c119d04eb4f005100004f99b03d
dsync(user at example.org): Error: msg iteration failed: Couldn't open 
mailbox 54c23c119d04eb4f005100004f99b03d
dsync(user at example.org): Error: Trying to open a non-listed mailbox with 
guid=54c23c119d04eb4f005100004f99b03d
dsync(user at example.org): Error: Mailbox INBOX changed its GUID 
(c92f64f79f0d1ed01e6d5b314f04886c -> 54c23c119d04eb4f005100004f99b03d)
dsync(user at example.org): Error: msg iteration failed: Couldn't open 
mailbox c92f64f79f0d1ed01e6d5b314f04886c
dsync(user at example.org): Error: Mailbox INBOX changed its GUID 
(c92f64f79f0d1ed01e6d5b314f04886c -> 54c23c119d04eb4f005100004f99b03d)
dsync(user at example.org): Debug: imapc(local-mailbox:18143): Disconnected

is this an intented behaviour or is this a bug in quota recalc? if i 
delete the home directory again after the quota recalc recreated it no 
errors are reported and the mail are all copied as intended.

Kind regards
Reinhard
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: dovecot.conf.txt
URL: <http://dovecot.org/pipermail/dovecot/attachments/20120627/b78a2cdb/attachment-0004.txt>


More information about the dovecot mailing list