dovecot-2.2: dsync: Skip mailbox aliases (symlinks) for now.

dovecot at dovecot.org dovecot at dovecot.org
Wed Feb 27 11:05:47 EET 2013


details:   http://hg.dovecot.org/dovecot-2.2/rev/323b76127e3a
changeset: 15981:323b76127e3a
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Feb 27 11:04:14 2013 +0200
description:
dsync: Skip mailbox aliases (symlinks) for now.

diffstat:

 src/doveadm/dsync/dsync-mailbox-tree-fill.c |  4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diffs (14 lines):

diff -r d84c7c11d7b7 -r 323b76127e3a src/doveadm/dsync/dsync-mailbox-tree-fill.c
--- a/src/doveadm/dsync/dsync-mailbox-tree-fill.c	Tue Feb 26 17:44:34 2013 +0200
+++ b/src/doveadm/dsync/dsync-mailbox-tree-fill.c	Wed Feb 27 11:04:14 2013 +0200
@@ -195,6 +195,10 @@
 			    struct mail_namespace *ns, const char *box_name)
 {
 	const enum mailbox_list_iter_flags list_flags =
+		/* FIXME: we'll skip symlinks, because we can't handle them
+		   currently. in future we could detect them and create them
+		   by creating the symlink. */
+		MAILBOX_LIST_ITER_SKIP_ALIASES |
 		MAILBOX_LIST_ITER_NO_AUTO_BOXES;
 	const enum mailbox_list_iter_flags subs_list_flags =
 		MAILBOX_LIST_ITER_NO_AUTO_BOXES |


More information about the dovecot-cvs mailing list