[exim-dev] [Bug 1292] New: Add option to back DKIM -K temp f…

Góra strony
Delete this message
Reply to this message
Autor: Paul Fisher
Data:  
Dla: exim-dev
Nowe tematy: [exim-dev] [Bug 1292] Add option to back DKIM -K temp files to POSIX shared memory, [exim-dev] [Bug 1292] Add option to back DKIM -K temp files to POSIX shared memory, [exim-dev] [Bug 1292] Add option to back DKIM -K temp files to POSIX shared memory
Temat: [exim-dev] [Bug 1292] New: Add option to back DKIM -K temp files to POSIX shared memory
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1292
           Summary: Add option to back DKIM -K temp files to POSIX shared
                    memory
           Product: Exim
           Version: 4.80
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: wishlist
          Priority: medium
         Component: DKIM
        AssignedTo: tom@???
        ReportedBy: pnfisher@???
                CC: exim-dev@???



Created an attachment (id=587)
--> (http://bugs.exim.org/attachment.cgi?id=587)
dkim_shm implementation

Attached is a patch that adds an SMTP transport option of dkim_shm. When the
expansion of dkim_shm evaluates to either "1" or "true", Exim will use POSIX
shared memory to store the temporary, on-the-wire formatted message to be DKIM
signed. Otherwise, the original code path of creating a temporary file in the
spool directory will be used.

When enabled, this change means that -K files will not hit disk (OS caveats
about how POSIX shared memory is implemented still apply). For modern Linux
installations, the -K files will end up on a tmpfs partition mounted at
/dev/shm.


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