dovecot-1.2: lazy-expunge: Ignore non-private namespaces.
dovecot at dovecot.org
dovecot at dovecot.org
Wed Dec 30 00:19:22 EET 2009
details: http://hg.dovecot.org/dovecot-1.2/rev/029c3afcfbd0
changeset: 9522:029c3afcfbd0
user: Timo Sirainen <tss at iki.fi>
date: Tue Dec 29 17:19:16 2009 -0500
description:
lazy-expunge: Ignore non-private namespaces.
diffstat:
1 file changed, 5 insertions(+)
src/plugins/lazy-expunge/lazy-expunge-plugin.c | 5 +++++
diffs (15 lines):
diff -r 56dd8c276ed6 -r 029c3afcfbd0 src/plugins/lazy-expunge/lazy-expunge-plugin.c
--- a/src/plugins/lazy-expunge/lazy-expunge-plugin.c Wed Dec 23 16:00:36 2009 -0500
+++ b/src/plugins/lazy-expunge/lazy-expunge-plugin.c Tue Dec 29 17:19:16 2009 -0500
@@ -633,6 +633,11 @@ static void lazy_expunge_mail_storage_in
const char *const *p;
unsigned int i;
+ if (storage->ns->type != NAMESPACE_PRIVATE) {
+ /* this works only for private namespaces. */
+ return;
+ }
+
/* if this is one of our internal storages, mark it as such before
quota plugin sees it */
p = t_strsplit_spaces(getenv("LAZY_EXPUNGE"), " ");
More information about the dovecot-cvs
mailing list