Mercurial > dovecot > core-2.2
diff src/lda/main.c @ 11061:9c94f073d014 HEAD
lda, lmtp: Use layout=none for the raw mail storage.
This removes the need for hardcoded /tmp dir and avoids
stat(/tmp/Dovecot Delivery Mail).
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Mon, 05 Apr 2010 04:50:25 +0300 |
parents | 0f98525e4567 |
children | 82d5351b5d39 |
line wrap: on
line diff
--- a/src/lda/main.c Mon Apr 05 04:49:17 2010 +0300 +++ b/src/lda/main.c Mon Apr 05 04:50:25 2010 +0300 @@ -395,7 +395,7 @@ i_fatal("Raw user initialization failed: %s", errstr); memset(&raw_ns_set, 0, sizeof(raw_ns_set)); - raw_ns_set.location = "/tmp"; + raw_ns_set.location = ":LAYOUT=none"; raw_ns = mail_namespaces_init_empty(raw_mail_user); raw_ns->flags |= NAMESPACE_FLAG_NOQUOTA | NAMESPACE_FLAG_NOACL;