summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/doc-txt/ChangeLog3
-rw-r--r--src/src/transports/tf_maildir.c4
2 files changed, 4 insertions, 3 deletions
diff --git a/doc/doc-txt/ChangeLog b/doc/doc-txt/ChangeLog
index 9611cfd46..42a5926e4 100644
--- a/doc/doc-txt/ChangeLog
+++ b/doc/doc-txt/ChangeLog
@@ -1,4 +1,4 @@
-$Cambridge: exim/doc/doc-txt/ChangeLog,v 1.583 2009/10/26 13:22:13 nm4 Exp $
+$Cambridge: exim/doc/doc-txt/ChangeLog,v 1.584 2009/10/30 15:08:25 nm4 Exp $
Change log file for Exim from version 4.21
-------------------------------------------
@@ -124,6 +124,7 @@ NM/24 Bugzilla 688: Fix exiwhat to handle log_selector = +pid
Patch provided by Heiko Schlittermann
NM/25 Bugzilla 727: Use transport mode as default mode for maildirsize file
+ plus update to original patch.
NM/26 Bugzilla 799: Documentation correction for ratelimit
diff --git a/src/src/transports/tf_maildir.c b/src/src/transports/tf_maildir.c
index 98862cc90..06b27ff4a 100644
--- a/src/src/transports/tf_maildir.c
+++ b/src/src/transports/tf_maildir.c
@@ -1,4 +1,4 @@
-/* $Cambridge: exim/src/src/transports/tf_maildir.c,v 1.12 2009/10/19 12:42:13 nm4 Exp $ */
+/* $Cambridge: exim/src/src/transports/tf_maildir.c,v 1.13 2009/10/30 15:08:25 nm4 Exp $ */
/*************************************************
* Exim - an Internet mail transport agent *
@@ -559,7 +559,7 @@ else
tempname = string_sprintf("%s/tmp/%lu.H%luP%lu.%s", path, tv.tv_sec,
tv.tv_usec, getpid(), primary_hostname);
- fd = Uopen(tempname, O_RDWR|O_CREAT|O_EXCL, 0600);
+ fd = Uopen(tempname, O_RDWR|O_CREAT|O_EXCL, ob->mode ? ob->mode : 0600);
if (fd >= 0)
{
(void)sprintf(CS buffer, OFF_T_FMT "S,%dC\n" OFF_T_FMT " %d\n",