mirror of
https://github.com/mjl-/mox.git
synced 2025-07-12 17:44:35 +03:00
open tls keys/certificate as root, pass fd's to the unprivileged child process
makes it easier to use tls keys/certs managed by other tools, with or without acme. the root process has access to open such files. the child process reads the key from the file descriptor, then closes the file. for issue #30 by inigoserna, thanks!
This commit is contained in:
@ -115,7 +115,7 @@ during those commands instead of during "data".
|
||||
// Tell queue it shouldn't be queuing/delivering.
|
||||
queue.Localserve = true
|
||||
|
||||
mox.ListenImmediate = true
|
||||
mox.FilesImmediate = true
|
||||
const mtastsdbRefresher = false
|
||||
const skipForkExec = true
|
||||
if err := start(mtastsdbRefresher, skipForkExec); err != nil {
|
||||
|
Reference in New Issue
Block a user