dovecot-2.0: lda, lmtp: Use layout=none for the raw mail storage.
dovecot at dovecot.org
dovecot at dovecot.org
Mon Apr 5 04:50:28 EEST 2010
details: http://hg.dovecot.org/dovecot-2.0/rev/9c94f073d014
changeset: 11061:9c94f073d014
user: Timo Sirainen <tss at iki.fi>
date: Mon Apr 05 04:50:25 2010 +0300
description:
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).
diffstat:
src/lda/main.c | 2 +-
src/lmtp/client.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diffs (24 lines):
diff -r 6b1f08814e59 -r 9c94f073d014 src/lda/main.c
--- 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;
diff -r 6b1f08814e59 -r 9c94f073d014 src/lmtp/client.c
--- a/src/lmtp/client.c Mon Apr 05 04:49:17 2010 +0300
+++ b/src/lmtp/client.c Mon Apr 05 04:50:25 2010 +0300
@@ -137,7 +137,7 @@
i_fatal("Raw user initialization failed: %s", error);
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(client->raw_mail_user);
raw_ns->flags |= NAMESPACE_FLAG_NOQUOTA | NAMESPACE_FLAG_NOACL;
More information about the dovecot-cvs
mailing list