[exim-dev] [Bug 2390] spool format error, spool file not fo…

Startseite
Nachricht löschen
Nachricht beantworten
Autor: admin
Datum:  
To: exim-dev
Betreff: [exim-dev] [Bug 2390] spool format error, spool file not found in NFS environment
https://bugs.exim.org/show_bug.cgi?id=2390

--- Comment #1 from Heiko Schlittermann <hs@???> ---
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.