CVSROOT:        /cvs
Module name:    src
Changes by:     e...@cvs.openbsd.org    2016/05/28 15:21:20

Modified files:
        usr.sbin/smtpd : ca.c config.c control.c lka.c pony.c queue.c 
                         scheduler.c smtpd.c smtpd.h 

Log message:
Implement the fork+exec pattern in smtpd.

The parent process forks child processes and re-exec each of them with
an additional "-x <proc>" argument.  During the early setup phase, the
parent process sends ipc socket pairs to interconnect the child
processes as needed, and it passes the queue encryption key to the
queue if necessary. When this is done, all processes have their
environment set as in the fork-only case, and they can start doing
their work as before.

ok gilles@ jung@

Reply via email to