Marcin Mirosław
2015-Sep-23 14:24 UTC
[dovecot-2.2.18] dsync error: Error: Can't delete mailbox INBOX: INBOX can't be deleted. Problem with name of folders?
Hi All! I'm also hitted by this problem. I'm trying to migrate emails from very old dbmail to dovecot (maildir). I read old threads with similar problem but I found only such solutions: - upgrade to 2.2.13 - workarround : use imapsync - no solution I'd like to not use imapsync, have you got an idea what should I do to do migration successfully? dsync throws: doveadm(root): Debug: Loading modules from directory: /usr/lib64/dovecot doveadm(root): Debug: Module loaded: /usr/lib64/dovecot/lib01_acl_plugin.so doveadm(root): Debug: Module loaded: /usr/lib64/dovecot/lib10_quota_plugin.so doveadm(root): Debug: Module loaded: /usr/lib64/dovecot/lib15_notify_plugin.so doveadm(root): Debug: Module loaded: /usr/lib64/dovecot/lib20_fts_plugin.so doveadm(root): Debug: Module loaded: /usr/lib64/dovecot/lib20_listescape_plugin.so doveadm(root): Debug: Module loaded: /usr/lib64/dovecot/lib20_mail_log_plugin.so doveadm(root): Debug: Module loaded: /usr/lib64/dovecot/lib20_zlib_plugin.so doveadm(root): Debug: Module loaded: /usr/lib64/dovecot/lib21_fts_squat_plugin.so doveadm(root): Debug: Module loaded: /usr/lib64/dovecot/lib90_stats_plugin.so doveadm(root): Debug: Loading modules from directory: /usr/lib64/dovecot/doveadm doveadm(root): Debug: Module loaded: /usr/lib64/dovecot/doveadm/lib10_doveadm_acl_plugin.so doveadm(root): Debug: Skipping module doveadm_expire_plugin, because dlopen() failed: /usr/lib64/dovecot/doveadm/lib10_doveadm_expire_plugin.so: undefined symbol: exp ire_set_init (this is usually intentional, so just ignore this message) doveadm(root): Debug: Module loaded: /usr/lib64/dovecot/doveadm/lib10_doveadm_quota_plugin.so doveadm(root): Debug: Module loaded: /usr/lib64/dovecot/doveadm/lib10_doveadm_sieve_plugin.so doveadm(root): Debug: Module loaded: /usr/lib64/dovecot/doveadm/lib20_doveadm_fts_plugin.so doveadm(example.user at example.com): Debug: Added userdb setting: plugin/quota_rule=*:bytes=104857600 doveadm(example.user at example.com): Debug: Effective uid=999, gid=999, home=/data/poczta/skrzynki/example.com/example.user doveadm(example.user at example.com): Debug: Quota root: name=User quota backend=dict args=:proxy::quota doveadm(example.user at example.com): Debug: Quota rule: root=User quota mailbox=* bytes=104857600 messages=0 doveadm(example.user at example.com): Debug: Quota rule: root=User quota mailbox=Trash bytes=+104857600 messages=0 doveadm(example.user at example.com): Debug: Quota warning: bytes=89128960 (85%) messages=0 reverse=no command=quota-warning 85 example.user at example.com doveadm(example.user at example.com): Debug: Quota grace: root=User quota bytes=10485760 (10%) doveadm(example.user at example.com): Debug: dict quota: user=example.user at example.com, uri=proxy::quota, noenforcing=0 doveadm(example.user at example.com): Debug: Namespace inbox: type=private, prefix=, sep=/, inbox=yes, hidden=no, list=yes, subscriptions=yes location=imapc: doveadm(example.user at example.com): Debug: imapc(source-imap-server:144): Looking up IP address doveadm(example.user at example.com): Debug: imapc(source-imap-server:144): Connecting to 192.168.1.202:144 doveadm(example.user at example.com): Debug: imapc(source-imap-server:144): Server capabilities: IMAP4 IMAP4rev1 AUTH=LOGIN ACL NAMESPACE SORT CHILDREN QUOTA doveadm(example.user at example.com): Debug: imapc(source-imap-server:144): Authenticating as example.user at example.com doveadm(example.user at example.com): Debug: imapc(source-imap-server:144): Authenticated successfully doveadm(example.user at example.com): Debug: imapc: root=, index=, indexpvt=, control=, inbox=, altdoveadm(example.user at example.com): Debug: fts: Indexes disabled for namespace '' doveadm(example.user at example.com): Debug: acl: initializing backend with data: vfile:/data/poczta/acl/global-acls:cache_secs=60 doveadm(example.user at example.com): Debug: acl: acl username example.user at example.com doveadm(example.user at example.com): Debug: acl: owner = 1 doveadm(example.user at example.com): Debug: acl vfile: Global ACL legacy directory: /data/poczta/acl/global-acls doveadm(example.user at example.com): Debug: Namespace : type=shared, prefix=shared/%n/, sep=, inbox=no, hidden=no, list=yes, subscriptions=yes location=maildir:%h/.mail dir:INDEX=/data/poczta/indeksy/shared/example.com/example.user doveadm(example.user at example.com): Debug: shared: root=/var/run/dovecot, index=, indexpvt=, control=, inbox=, altdoveadm(example.user at example.com): Debug: fts: Indexes disabled for namespace 'shared/%n/' doveadm(example.user at example.com): Debug: acl: initializing backend with data: vfile:/data/poczta/acl/global-acls:cache_secs=60 doveadm(example.user at example.com): Debug: acl: acl username example.user at example.com doveadm(example.user at example.com): Debug: acl: owner = 0 doveadm(example.user at example.com): Debug: acl vfile: Global ACL legacy directory: /data/poczta/acl/global-acls doveadm(example.user at example.com): Debug: acl vfile: file /data/poczta/acl/global-acls/ not found doveadm(example.user at example.com): Debug: Namespace : Using permissions from : mode=0700 gid=default doveadm(example.user at example.com): Debug: acl vfile: file /data/poczta/acl/global-acls/INBOX.Trash not found doveadm(example.user at example.com): Debug: acl vfile: file /data/poczta/acl/global-acls/INBOX.Sent not found doveadm(example.user at example.com): Debug: acl vfile: file /data/poczta/acl/global-acls/INBOX.Junk not found doveadm(example.user at example.com): Debug: acl vfile: file /data/poczta/acl/global-acls/INBOX.Drafts not found doveadm(example.user at example.com): Debug: acl vfile: file /data/poczta/acl/global-acls/INBOX not found doveadm(example.user at example.com): Debug: acl vfile: file /data/poczta/acl/global-acls/INBOX/Total Wellbeing App not found doveadm(example.user at example.com): Debug: acl vfile: file /data/poczta/acl/global-acls/INBOX/Philipiak not found doveadm(example.user at example.com): Debug: acl vfile: file /data/poczta/acl/global-acls/INBOX/Nexto not found doveadm(example.user at example.com): Debug: acl vfile: file /data/poczta/acl/global-acls/INBOX/Inne not found doveadm(example.user at example.com): Debug: acl vfile: file /data/poczta/acl/global-acls/INBOX/IMGW not found doveadm(example.user at example.com): Debug: acl vfile: file /data/poczta/acl/global-acls/INBOX/E-pasa? wizyt?wki not found dsync(example.user at example.com): Debug: Effective uid=999, gid=999, home=/data/poczta/skrzynki/example.com/example.user dsync(example.user at example.com): Debug: Quota root: name=User quota backend=dict args=:proxy::quota dsync(example.user at example.com): Debug: Quota rule: root=User quota mailbox=* bytes=104857600 messages=0 dsync(example.user at example.com): Debug: Quota rule: root=User quota mailbox=Trash bytes=+104857600 messages=0 dsync(example.user at example.com): Debug: Quota warning: bytes=89128960 (85%) messages=0 reverse=no command=quota-warning 85 example.user at example.com dsync(example.user at example.com): Debug: Quota grace: root=User quota bytes=10485760 (10%) dsync(example.user at example.com): Debug: dict quota: user=example.user at example.com, uri=proxy::quota, noenforcing=0 dsync(example.user at example.com): Debug: Namespace inbox: type=private, prefix=, sep=/, inbox=yes, hidden=no, list=yes, subscriptions=yes location=maildir:/data/poczta/skrzynki/example.com/example.user/.maildir/:INDEX=/data/poczta/indeksy/example.com/example.user dsync(example.user at example.com): Debug: maildir++: root=/data/poczta/skrzynki/example.com/example.user/.maildir, index=/data/poczta/indeksy/example.com/example.user, indexpvt=, control=, inbox=/data/poczta/skrzynki/example.com/example.user/.maildir, altdsync(example.user at example.com): Debug: Namespace : /data/poczta/skrzynki/example.com/example.user/.maildir doesn't exist yet, using default permissions dsync(example.user at example.com): Debug: Namespace : Using permissions from /data/poczta/skrzynki/example.com/example.user/.maildir: mode=0700 gid=default dsync(example.user at example.com): Debug: acl: initializing backend with data: vfile:/data/poczta/acl/global-acls:cache_secs=60 dsync(example.user at example.com): Debug: acl: acl username example.user at example.com dsync(example.user at example.com): Debug: acl: owner = 1 dsync(example.user at example.com): Debug: acl vfile: Global ACL legacy directory: /data/poczta/acl/global-acls dsync(example.user at example.com): Debug: Namespace : type=shared, prefix=shared/%n/, sep=, inbox=no, hidden=no, list=yes, subscriptions=yes location=maildir:%h/.maildir:INDEX=/data/poczta/indeksy/shared/example.com/example.user dsync(example.user at example.com): Debug: shared: root=/var/run/dovecot, index=, indexpvt=, control=, inbox=, altdsync(example.user at example.com): Debug: fts: Indexes disabled for namespace 'shared/%n/' dsync(example.user at example.com): Debug: acl: initializing backend with data: vfile:/data/poczta/acl/global-acls:cache_secs=60 dsync(example.user at example.com): Debug: acl: acl username example.user at example.com dsync(example.user at example.com): Debug: acl: owner = 0 dsync(example.user at example.com): Debug: acl vfile: Global ACL legacy directory: /data/poczta/acl/global-acls dsync(example.user at example.com): Debug: acl vfile: file /data/poczta/acl/global-acls/ not found dsync(example.user at example.com): Debug: acl vfile: file /data/poczta/acl/global-acls/INBOX not found dsync(example.user at example.com): Debug: acl vfile: file /data/poczta/skrzynki/example.com/example.user/.maildir/dovecot-acl not found dsync(example.user at example.com): Debug: acl vfile: file /data/poczta/acl/global-acls/Junk not found dsync(example.user at example.com): Debug: acl vfile: file /data/poczta/skrzynki/example.com/example.user/.maildir/.Junk/dovecot-acl not found dsync(example.user at example.com): Debug: acl vfile: file /data/poczta/acl/global-acls/Trash not found dsync(example.user at example.com): Debug: acl vfile: file /data/poczta/skrzynki/example.com/example.user/.maildir/.Trash/dovecot-acl not found dsync(example.user at example.com): Debug: acl vfile: file /data/poczta/acl/global-acls/Archive not found dsync(example.user at example.com): Debug: acl vfile: file /data/poczta/skrzynki/example.com/example.user/.maildir/.Archive/dovecot-acl not found dsync(example.user at example.com): Debug: acl vfile: file /data/poczta/acl/global-acls/Sent not found dsync(example.user at example.com): Debug: acl vfile: file /data/poczta/skrzynki/example.com/example.user/.maildir/.Sent/dovecot-acl not found dsync(example.user at example.com): Debug: brain M: Local mailbox tree: INBOX guid=c92f64f79f0d1ed01e6d5b314f04886c uid_validity=13783 uid_next=34894281 subs=no last_change=0 last_subs=0 dsync(example.user at example.com): Debug: brain M: Local mailbox tree: INBOX/E-pasa? wizyt?wki guid=5d360d682d48c1090150341143cf6fad uid_validity=13841 uid_next=3489428 1 subs=yes last_change=0 last_subs=0 dsync(example.user at example.com): Debug: brain M: Local mailbox tree: INBOX/IMGW guid=5849136be8a03ed13bf8f9d41910d7f8 uid_validity=13805 uid_next=34894281 subs=yes la st_change=0 last_subs=0 dsync(example.user at example.com): Debug: brain S: Remote mailbox tree: INBOX guid=c92f64f79f0d1ed01e6d5b314f04886c uid_validity=13783 uid_next=34894281 subs=no last_ch ange=0 last_subs=0 dsync(example.user at example.com): Debug: brain S: Remote mailbox tree: INBOX/E-pasa? wizyt?wki guid=5d360d682d48c1090150341143cf6fad uid_validity=13841 uid_next=348942 81 subs=yes last_change=0 last_subs=0 dsync(example.user at example.com): Debug: brain S: Remote mailbox tree: INBOX/IMGW guid=5849136be8a03ed13bf8f9d41910d7f8 uid_validity=13805 uid_next=34894281 subs=yes l ast_change=0 last_subs=0 dsync(example.user at example.com): Debug: brain M: Local mailbox tree: INBOX/Inne guid=5eb05c4811720cdf3d9f5352dc994fac uid_validity=13804 uid_next=34894281 subs=yes la st_change=0 last_subs=0 dsync(example.user at example.com): Debug: brain S: Remote mailbox tree: INBOX/Inne guid=5eb05c4811720cdf3d9f5352dc994fac uid_validity=13804 uid_next=34894281 subs=yes l ast_change=0 last_subs=0 dsync(example.user at example.com): Debug: brain M: Local mailbox tree: INBOX/Nexto guid=d467b829b0cc91ac4eb975715889bd31 uid_validity=13806 uid_next=34894281 subs=yes l ast_change=0 last_subs=0 dsync(example.user at example.com): Debug: brain S: Remote mailbox tree: INBOX/Nexto guid=d467b829b0cc91ac4eb975715889bd31 uid_validity=13806 uid_next=34894281 subs=yes last_change=0 last_subs=0 dsync(example.user at example.com): Debug: brain M: Local mailbox tree: INBOX/Philipiak guid=790024d6afa83b393825d00df73b516d uid_validity=13913 uid_next=34894281 subs=y es last_change=0 last_subs=0 dsync(example.user at example.com): Debug: brain S: Remote mailbox tree: INBOX/Philipiak guid=790024d6afa83b393825d00df73b516d uid_validity=13913 uid_next=34894281 subsyes last_change=0 last_subs=0 dsync(example.user at example.com): Debug: brain M: Local mailbox tree: INBOX/Total Wellbeing App guid=2baa2fed3be5624bc399327558327e3e uid_validity=13818 uid_next=34894 281 subs=yes last_change=0 last_subs=0 dsync(example.user at example.com): Debug: brain S: Remote mailbox tree: INBOX/Total Wellbeing App guid=2baa2fed3be5624bc399327558327e3e uid_validity=13818 uid_next=3489 4281 subs=yes last_change=0 last_subs=0 dsync(example.user at example.com): Debug: brain M: Local mailbox tree: INBOX.Drafts guid=004ef77f6a9c3669bcb43012f3a43855 uid_validity=13784 uid_next=34894281 subs=yes last_change=0 last_subs=0 dsync(example.user at example.com): Debug: brain S: Remote mailbox tree: INBOX.Drafts guid=004ef77f6a9c3669bcb43012f3a43855 uid_validity=13784 uid_next=34894281 subs=yes last_change=0 last_subs=0 dsync(example.user at example.com): Debug: brain M: Local mailbox tree: INBOX.Junk guid=4849549b42c9c7de02f5e49cfa8ae258 uid_validity=13786 uid_next=34894281 subs=yes last_change=0 last_subs=0 dsync(example.user at example.com): Debug: brain S: Remote mailbox tree: INBOX.Junk guid=4849549b42c9c7de02f5e49cfa8ae258 uid_validity=13786 uid_next=34894281 subs=yes last_change=0 last_subs=0 dsync(example.user at example.com): Debug: brain M: Local mailbox tree: INBOX.Sent guid=7d3c7eaa71cdf47ee8a1192687cda8cd uid_validity=13785 uid_next=34894281 subs=yes last_change=0 last_subs=0 dsync(example.user at example.com): Debug: brain S: Remote mailbox tree: INBOX.Sent guid=7d3c7eaa71cdf47ee8a1192687cda8cd uid_validity=13785 uid_next=34894281 subs=yes last_change=0 last_subs=0 dsync(example.user at example.com): Debug: brain M: Local mailbox tree: INBOX.Trash guid=b36f688eae08506001091708006abe5a uid_validity=13787 uid_next=34894281 subs=yes last_change=0 last_subs=0 dsync(example.user at example.com): Debug: brain S: Remote mailbox tree: INBOX.Trash guid=b36f688eae08506001091708006abe5a uid_validity=13787 uid_next=34894281 subs=yes last_change=0 last_subs=0 dsync(example.user at example.com): Debug: acl vfile: file /data/poczta/acl/global-acls/ not found dsync(example.user at example.com): Debug: Namespace : /data/poczta/skrzynki/example.com/example.user/.maildir/.INBOX.E-pasa&AXw- wizyt&APM-wki doesn't exist yet, using default permissions dsync(example.user at example.com): Debug: acl vfile: file /data/poczta/acl/global-acls/INBOX not found dsync(example.user at example.com): Debug: acl vfile: file /data/poczta/skrzynki/example.com/example.user/.maildir/dovecot-acl not found dsync(example.user at example.com): Debug: acl vfile: file /data/poczta/acl/global-acls/INBOX/E-pasa? wizyt?wki not found dsync(example.user at example.com): Debug: acl vfile: file /data/poczta/skrzynki/example.com/example.user/.maildir/.INBOX.E-pasa&AXw- wizyt&APM-wki/dovecot-acl not found dsync(example.user at example.com): Debug: Namespace : /data/poczta/skrzynki/example.com/example.user/.maildir/.INBOX.IMGW doesn't exist yet, using default permissions dsync(example.user at example.com): Debug: acl vfile: file /data/poczta/acl/global-acls/INBOX not found dsync(example.user at example.com): Debug: acl vfile: file /data/poczta/skrzynki/example.com/example.user/.maildir/dovecot-acl not found dsync(example.user at example.com): Debug: acl vfile: file /data/poczta/acl/global-acls/INBOX/IMGW not found dsync(example.user at example.com): Debug: acl vfile: file /data/poczta/skrzynki/example.com/example.user/.maildir/.INBOX.IMGW/dovecot-acl not found dsync(example.user at example.com): Debug: Namespace : /data/poczta/skrzynki/example.com/example.user/.maildir/.INBOX.Inne doesn't exist yet, using default permissions dsync(example.user at example.com): Debug: acl vfile: file /data/poczta/acl/global-acls/INBOX not found dsync(example.user at example.com): Debug: acl vfile: file /data/poczta/skrzynki/example.com/example.user/.maildir/dovecot-acl not found dsync(example.user at example.com): Debug: acl vfile: file /data/poczta/acl/global-acls/INBOX/Inne not found dsync(example.user at example.com): Debug: acl vfile: file /data/poczta/skrzynki/example.com/example.user/.maildir/.INBOX.Inne/dovecot-acl not found dsync(example.user at example.com): Debug: Namespace : /data/poczta/skrzynki/example.com/example.user/.maildir/.INBOX.Nexto doesn't exist yet, using default permissions dsync(example.user at example.com): Debug: acl vfile: file /data/poczta/acl/global-acls/INBOX not found dsync(example.user at example.com): Debug: acl vfile: file /data/poczta/skrzynki/example.com/example.user/.maildir/dovecot-acl not found dsync(example.user at example.com): Debug: acl vfile: file /data/poczta/acl/global-acls/INBOX/Nexto not found dsync(example.user at example.com): Debug: acl vfile: file /data/poczta/skrzynki/example.com/example.user/.maildir/.INBOX.Nexto/dovecot-acl not found dsync(example.user at example.com): Debug: Namespace : /data/poczta/skrzynki/example.com/example.user/.maildir/.INBOX.Philipiak doesn't exist yet, using default permissions dsync(example.user at example.com): Debug: acl vfile: file /data/poczta/acl/global-acls/INBOX not found dsync(example.user at example.com): Debug: acl vfile: file /data/poczta/skrzynki/example.com/example.user/.maildir/dovecot-acl not found dsync(example.user at example.com): Debug: acl vfile: file /data/poczta/acl/global-acls/INBOX/Philipiak not found dsync(example.user at example.com): Debug: acl vfile: file /data/poczta/skrzynki/example.com/example.user/.maildir/.INBOX.Philipiak/dovecot-acl not found dsync(example.user at example.com): Debug: Namespace : /data/poczta/skrzynki/example.com/example.user/.maildir/.INBOX.Total Wellbeing App doesn't exist yet, using default permissions dsync(example.user at example.com): Debug: acl vfile: file /data/poczta/acl/global-acls/INBOX not found dsync(example.user at example.com): Debug: acl vfile: file /data/poczta/skrzynki/example.com/example.user/.maildir/dovecot-acl not found dsync(example.user at example.com): Debug: acl vfile: file /data/poczta/acl/global-acls/INBOX/Total Wellbeing App not found dsync(example.user at example.com): Debug: acl vfile: file /data/poczta/skrzynki/example.com/example.user/.maildir/.INBOX.Total Wellbeing App/dovecot-acl not found dsync(example.user at example.com): Debug: Namespace : /data/poczta/skrzynki/example.com/example.user/.maildir/.INBOX\2eDrafts doesn't exist yet, using default permissions dsync(example.user at example.com): Debug: Namespace : Using permissions from /data/poczta/skrzynki/example.com/example.user/.maildir: mode=0700 gid=default dsync(example.user at example.com): Debug: acl vfile: file /data/poczta/acl/global-acls/ not found dsync(example.user at example.com): Debug: acl vfile: file /data/poczta/acl/global-acls/INBOX.Drafts not found dsync(example.user at example.com): Debug: acl vfile: file /data/poczta/skrzynki/example.com/example.user/.maildir/.INBOX\2eDrafts/dovecot-acl not found dsync(example.user at example.com): Debug: Namespace : /data/poczta/skrzynki/example.com/example.user/.maildir/.INBOX\2eJunk doesn't exist yet, using default permissions dsync(example.user at example.com): Debug: Namespace : Using permissions from /data/poczta/skrzynki/example.com/example.user/.maildir: mode=0700 gid=default dsync(example.user at example.com): Debug: acl vfile: file /data/poczta/acl/global-acls/ not found dsync(example.user at example.com): Debug: acl vfile: file /data/poczta/acl/global-acls/INBOX.Junk not found dsync(example.user at example.com): Debug: acl vfile: file /data/poczta/skrzynki/example.com/example.user/.maildir/.INBOX\2eJunk/dovecot-acl not found dsync(example.user at example.com): Debug: Namespace : /data/poczta/skrzynki/example.com/example.user/.maildir/.INBOX\2eSent doesn't exist yet, using default permissions dsync(example.user at example.com): Debug: Namespace : Using permissions from /data/poczta/skrzynki/example.com/example.user/.maildir: mode=0700 gid=default dsync(example.user at example.com): Debug: acl vfile: file /data/poczta/acl/global-acls/ not found dsync(example.user at example.com): Debug: acl vfile: file /data/poczta/acl/global-acls/INBOX.Sent not found dsync(example.user at example.com): Debug: acl vfile: file /data/poczta/skrzynki/example.com/example.user/.maildir/.INBOX\2eSent/dovecot-acl not found dsync(example.user at example.com): Debug: Namespace : /data/poczta/skrzynki/example.com/example.user/.maildir/.INBOX\2eTrash doesn't exist yet, using default permissions dsync(example.user at example.com): Debug: Namespace : Using permissions from /data/poczta/skrzynki/example.com/example.user/.maildir: mode=0700 gid=default dsync(example.user at example.com): Debug: acl vfile: file /data/poczta/acl/global-acls/ not found dsync(example.user at example.com): Debug: acl vfile: file /data/poczta/acl/global-acls/INBOX.Trash not found dsync(example.user at example.com): Debug: acl vfile: file /data/poczta/skrzynki/example.com/example.user/.maildir/.INBOX\2eTrash/dovecot-acl not found dsync(example.user at example.com): Debug: brain M: Remote mailbox tree deletion: guid=723d36276ba602567e720000b2e75159 type=mailbox timestamp=1443014289 name= local update=not found dsync(example.user at example.com): Debug: brain M: Remote mailbox tree deletion: guid=2621c6fd51a58e1d1d5c491aac714886 type=dir timestamp=1443014289 name= local update=not found dsync(example.user at example.com): Debug: brain M: Remote mailbox tree deletion: guid=703d36276ba602567e720000b2e75159 type=mailbox timestamp=1443014289 name= local update=not found dsync(example.user at example.com): Debug: brain M: Remote mailbox tree deletion: guid=86c7d94c87680557f26fcb26843f739f type=dir timestamp=1443014289 name= local update=not found dsync(example.user at example.com): Debug: brain M: Remote mailbox tree deletion: guid=733d36276ba602567e720000b2e75159 type=mailbox timestamp=1443014289 name= local update=not found dsync(example.user at example.com): Debug: brain M: Remote mailbox tree deletion: guid=35f49dcfbfb2e03fdce327671e82bf17 type=dir timestamp=1443014289 name= local update=not found dsync(example.user at example.com): Debug: brain M: Remote mailbox tree deletion: guid=713d36276ba602567e720000b2e75159 type=mailbox timestamp=1443014289 name= local update=not found dsync(example.user at example.com): Debug: brain M: Remote mailbox tree deletion: guid=e3bf62bb7f5af7ba291b2df1a11d573b type=dir timestamp=1443014289 name= local update=not found dsync(example.user at example.com): Debug: doveadm-sieve: Iterating Sieve mailbox attributes dsync(example.user at example.com): Debug: sieve: Pigeonhole version 0.4.5 (b7754774631d+) initializing dsync(example.user at example.com): Debug: sieve: include: sieve_global is not set; it is currently not possible to include `:global' scripts. dsync(example.user at example.com): Debug: sieve: file storage: Using script storage path: /data/poczta/skrzynki/example.com/example.user/sieve dsync(example.user at example.com): Debug: sieve: file storage: Using active Sieve script path: /data/poczta/skrzynki/example.com/example.user/.dovecot.sieve dsync(example.user at example.com): Debug: sieve: file storage: Relative path to sieve storage in active link: sieve/ dsync(example.user at example.com): Debug: sieve: file storage: Using permissions from /data/poczta/skrzynki/example.com/example.user/sieve: mode=0700 gid=-1 dsync(example.user at example.com): Debug: sieve: file storage: sync: Synchronization active dsync(example.user at example.com): Debug: acl vfile: file /data/poczta/acl/global-acls/INBOX not found dsync(example.user at example.com): Warning: Deleting mailbox 'INBOX': UID=34841186 GUID= is missing locally dsync(example.user at example.com): Debug: brain S: Import INBOX: Import change GUID= UID=34841186 hdr_hash=ec96ee09dfd0dda2cdf5e3eabaf86dfd result=Reverting local change by deleting mailbox - No more local mails found dsync(example.user at example.com): Debug: brain S: Import INBOX: Saved UIDs: dsync(example.user at example.com): Debug: doveadm-sieve: Iterating Sieve mailbox attributes dsync(example.user at example.com): Debug: sieve: Pigeonhole version 0.4.5 (b7754774631d+) initializing dsync(example.user at example.com): Debug: sieve: include: sieve_global is not set; it is currently not possible to include `:global' scripts. dsync(example.user at example.com): Debug: sieve: file storage: Using script storage path: /data/poczta/skrzynki/example.com/example.user/sieve dsync(example.user at example.com): Debug: sieve: file storage: Using active Sieve script path: /data/poczta/skrzynki/example.com/example.user/.dovecot.sieve dsync(example.user at example.com): Debug: sieve: file storage: Relative path to sieve storage in active link: sieve/ dsync(example.user at example.com): Debug: sieve: file storage: Using permissions from /data/poczta/skrzynki/example.com/example.user/sieve: mode=0700 gid=-1 dsync(example.user at example.com): Debug: sieve: file storage: sync: Synchronization active dsync(example.user at example.com): Debug: acl vfile: file /data/poczta/acl/global-acls/INBOX not found dsync(example.user at example.com): Debug: acl vfile: file /data/poczta/skrzynki/example.com/example.user/.maildir/dovecot-acl not found dsync(example.user at example.com): Error: Couldn't delete mailbox INBOX: INBOX can't be deleted. dsync(example.user at example.com): Debug: imapc(source-imap-server:144): Disconnected doveadm conf -n: # 2.2.18: /etc/dovecot/dovecot.conf # Pigeonhole version 0.4.8 (0c4ae064f307+) # OS: Linux 3.18.12-gentoo x86_64 Gentoo Base System release 2.2 auth_cache_size = 64 k auth_cache_ttl = 10 mins auth_master_user_separator = * auth_mechanisms = plain login default_vsz_limit = 512 M deliver_log_format = msgid=%m: from=%f: phys=%p: virt=%w %$ dict { lastlogin = pgsql:/etc/dovecot/dovecot-dict-sql.conf.ext quota = pgsql:/etc/dovecot/dovecot-dict-sql.conf.ext } first_valid_gid = 999 first_valid_uid = 999 last_valid_gid = 999 last_valid_uid = 999 lda_mailbox_autocreate = yes lda_mailbox_autosubscribe = yes listen = * mail_gid = 999 mail_location = maildir:~/.maildir:INDEX=/data/poczta/indeksy/%d/%n mail_log_prefix = "%s(%u) <%{session}>: " mail_plugins = acl fts fts_squat listescape quota notify mail_log stats zlib mail_prefetch_count = 50 mail_temp_dir = /data/poczta/tmp mail_uid = 999 mailbox_list_index = yes 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 index ihave duplicate namespace { location = maildir:%%h/.maildir:INDEX=/data/poczta/indeksy/shared/%d/%n prefix = shared/%%n/ type = shared } namespace inbox { inbox = yes location mailbox Archive { auto = subscribe special_use = \Archive } mailbox Archives { special_use = \Archive } mailbox Drafts { special_use = \Drafts } mailbox Junk { auto = subscribe special_use = \Junk } mailbox Sent { auto = subscribe special_use = \Sent } mailbox "Sent Messages" { special_use = \Sent } mailbox Spam { special_use = \Junk } mailbox Trash { auto = subscribe special_use = \Trash } mailbox Wiadomo?ci-?mieci { special_use = \Junk } mailbox Wiadomo&AVs-ci-&AVs-mieci { special_use = \Junk } prefix separator = / } passdb { driver = pam master = yes pass = yes } passdb { args = /etc/dovecot/dovecot-sql.conf.ext driver = sql } plugin { acl = vfile:/data/poczta/acl/global-acls:cache_secs=60 acl_shared_dict = file:/data/poczta/acl/shared-mailboxes.db antispam_backend = spool2dir antispam_debug_target = syslog antispam_pipe_tmpdir = /tmp antispam_spam_pattern_ignorecase = SPAM;Junk antispam_spool2dir_notspam /data/poczta/tmp/spamspool/%u__%%020lu-%%05lu___ham antispam_spool2dir_spam /data/poczta/tmp/spamspool/%u__%%020lu-%%05lu___spam antispam_trash_pattern_ignorecase = trash;Deleted * antispam_verbose_debug = 1 fts = squat fts_squat = partial=4 full=10 last_login_dict = proxy::lastlogin last_login_key = lastlogin/%u/%s/%r listescape_char = \ quota = dict:User quota::proxy::quota quota_rule2 = Trash:storage=+100M quota_warning = storage=85%% quota-warning 85 %u sieve = file:~/sieve;active=~/.dovecot.sieve sieve_default = /etc/dovecot/sieve/sieve_default_spam-to-junk.sieve stats_command_min_time = 1 mins stats_domain_min_time = 12 hours stats_ip_min_time = 12 hours stats_memory_limit = 1M stats_refresh = 30 s stats_session_min_time = 15 mins stats_track_cmds = yes stats_user_min_time = 1 hours } postmaster_address = postmaster at example2.com protocols = imap pop3 lmtp sieve quota_full_tempfail = yes service auth-worker { user = root } service auth { unix_listener auth-client { group = mail mode = 0660 } unix_listener auth-userdb { mode = 0777 } } service dict { unix_listener dict { group = poczta mode = 0660 } } service lmtp { inet_listener lmtp { address = 192.168.1.198 port = 24 } } service quota-warning { executable = script /data/poczta/bin/quota-warning.sh unix_listener quota-warning { group = poczta mode = 01224 } user = poczta } service stats { fifo_listener stats-mail { group = poczta mode = 0660 } } ssl_cert = </etc/ssl/private/example2.com.crt ssl_cipher_list = HIGH:!aNULL:!MD5!DES:!3DES ssl_dh_parameters_length = 2048 ssl_key = </etc/ssl/private/example2.com.key ssl_prefer_server_ciphers = yes ssl_protocols = !SSLv2 !SSLv3 userdb { driver = prefetch } userdb { args = /etc/dovecot/dovecot-sql.conf.ext driver = sql } verbose_proctitle = yes version_ignore = yes protocol lmtp { mail_plugins = acl fts fts_squat listescape quota notify mail_log stats zlib sieve } protocol lda { mail_plugins = quota sieve } protocol imap { mail_max_userip_connections = 25 mail_plugins = acl fts fts_squat listescape quota notify mail_log stats zlib antispam imap_acl imap_quota imap_stats imap_zlib last_login } protocol pop3 { mail_plugins = acl fts fts_squat listescape quota notify mail_log stats zlib last_login } Thanks for help, Marcin.
Marcin Mirosław
2015-Sep-23 15:10 UTC
[dovecot-2.2.18] dsync error: Error: Can't delete mailbox INBOX: INBOX can't be deleted.
With dovecot-2.2.19.rc1 still have this error.
Timo Sirainen
2015-Sep-23 20:12 UTC
[dovecot-2.2.18] dsync error: Error: Can't delete mailbox INBOX: INBOX can't be deleted.
On 23 Sep 2015, at 18:10, Marcin Miros?aw <marcin at mejor.pl> wrote:> > With dovecot-2.2.19.rc1 still have this error."doveadm backup" wants to delete and recreate a folder if there are some changes that can't be incrementally just added to it (mainly if IMAP UIDs would need to be inserted in the middle of the folder). Maildir doesn't allow INBOX to be deleted (because it's difficult), so this fails. Solution is to either not use Maildir format, or rm -rf Maildir manually before running dsync.
Reasonably Related Threads
- v2.2.19 release candidate released
- v2.2.19 release candidate released
- [dovecot-2.2.18] dsync error: Error: Can't delete mailbox INBOX: INBOX can't be deleted.
- SIS: Corrupted dbox file /dane/...../m.1 (around offset=98692): uid=44 points to broken data at offset=98662
- best file system ?