From eac4adfbf61b7f090db0713dbdaa5f4dd081e751 Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Thu, 3 Mar 2011 14:11:41 +0100 Subject: Bug #643218 - Local delivery doesn't deliver after maildir migration --- mail/e-mail-store.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'mail/e-mail-store.c') diff --git a/mail/e-mail-store.c b/mail/e-mail-store.c index 9dfaab693b..e5607ef1a3 100644 --- a/mail/e-mail-store.c +++ b/mail/e-mail-store.c @@ -30,6 +30,7 @@ #include "mail/e-mail-local.h" #include "mail/em-folder-tree-model.h" +#include "mail/em-utils.h" #include "mail/mail-folder-cache.h" #include "mail/mail-mt.h" #include "mail/mail-ops.h" @@ -251,6 +252,10 @@ mail_store_load_accounts (EMailSession *session, if (uri == NULL || *uri == '\0') continue; + /* do not add local-delivery files into the tree those are server specifically */ + if (em_utils_is_local_delivery_mbox_file (uri)) + continue; + e_mail_store_add_by_uri (session, uri, display_name); } -- cgit