# HG changeset patch # User Timo Sirainen # Date 1262125156 18000 # Node ID 029c3afcfbd0b0297a619ca6cb60f00018005c3a # Parent 56dd8c276ed6bc9d925f9838abac67e32faf0e87 lazy-expunge: Ignore non-private namespaces. 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 @@ 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"), " ");