[exim-dev] [Bug 1329] New: Maildir unique name: s/H/M/

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Andreas Metzler
Dátum:  
Címzett: exim-dev
Új témák: [exim-dev] [Bug 1329] Maildir unique name: s/H/M/, [exim-dev] [Bug 1329] Maildir unique name: s/H/M/, [exim-dev] [Bug 1329] Maildir unique name: s/H/M/, [exim-dev] [Bug 1329] Maildir unique name: s/H/M/, [exim-dev] [Bug 1329] Maildir unique name: s/H/M/
Tárgy: [exim-dev] [Bug 1329] New: Maildir unique name: s/H/M/
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1329
           Summary: Maildir unique name: s/H/M/
           Product: Exim
           Version: 4.80.1
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: bug
          Priority: low
         Component: Transports
        AssignedTo: nigel@???
        ReportedBy: eximusers@???
                CC: exim-dev@???



exim's basic maildir filenames look like this:

1356530523.H905235P23060.m26s25.vlinux.de

According to both http://cr.yp.to/proto/maildir.html and
http://www.courier-mta.org/maildir.html the "H" should actually be an "M"
(microseconds).

------------------------------
diff --git a/src/src/transports/appendfile.c b/src/src/transports/appendfile.c
index db3b5ae..93dcf60 100644
--- a/src/src/transports/appendfile.c
+++ b/src/src/transports/appendfile.c
@@ -2539,7 +2539,7 @@ else
       uschar *basename;


       (void)gettimeofday(&msg_tv, NULL);
-      basename = string_sprintf("%lu.H%luP%lu.%s", msg_tv.tv_sec,
+      basename = string_sprintf("%lu.M%luP%lu.%s", msg_tv.tv_sec,
------------------------------


(Originally reported by Andrew Buckeridge)


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email