Mercurial > dovecot > original-hg > dovecot-1.2
diff src/lib-storage/index/shared/shared-storage.c @ 8901:703214a10642 HEAD
acl: Don't try to create dovecot-acl-list file for unknown users' auto-created namespaces.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Thu, 02 Apr 2009 19:09:32 -0400 |
parents | 9b3bb65b808e |
children | 2b6107437df3 |
line wrap: on
line diff
--- a/src/lib-storage/index/shared/shared-storage.c Thu Apr 02 19:08:50 2009 -0400 +++ b/src/lib-storage/index/shared/shared-storage.c Thu Apr 02 19:09:32 2009 -0400 @@ -234,8 +234,10 @@ location = t_str_new(256); if (ret > 0) var_expand(location, storage->location, tab); - else + else { get_nonexisting_user_location(storage, userdomain, location); + ns->flags |= NAMESPACE_FLAG_UNUSABLE; + } if (mail_storage_create(ns, NULL, str_c(location), _storage->flags, _storage->lock_method, &error) < 0) { mail_storage_set_critical(_storage, "Namespace '%s': %s",