https://bugs.exim.org/show_bug.cgi?id=2390

--- Comment #1 from Heiko Schlittermann <[email protected]> ---
When working with $spool_directory on a shared storage, the temporary files,
Exim creates, are named "hdr.<pid>", which leads to conflicts.
"localhost_number" is used for the message_exim_id, but not for this temporary
file name.

Current fix is:

--- a/src/src/spool_out.c
+++ b/src/src/spool_out.c
@@ -137,7 +137,7 @@ uschar * tname;
 uschar * fname;

 tname = spool_fname(US"input", message_subdir,
-                   string_sprintf("hdr.%d", (int)getpid()), US"");
+                   string_sprintf("hdr.%d-%d", host_number, (int)getpid()),
US"");

But I think, message_exim_id can be used.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-dev Exim 
details at http://www.exim.org/ ##

Reply via email to