diff options
author | gilles <gilles@openbsd.org> | 2018-06-03 14:04:06 +0000 |
---|---|---|
committer | gilles <gilles@openbsd.org> | 2018-06-03 14:04:06 +0000 |
commit | 8925f6fa30e0089b1a9e4dac39542c2733218355 (patch) | |
tree | d7895a3e945a597c02f0f100b628ca662e8de3f4 /smtpd | |
parent | restore one set of quotes i shouldn;t have removed; (diff) | |
download | OpenSMTPD-8925f6fa30e0089b1a9e4dac39542c2733218355.tar.xz OpenSMTPD-8925f6fa30e0089b1a9e4dac39542c2733218355.zip |
split forkmda() in two:
- forkmda() creates the process that will be used for the delivery and does
the switching of privileges then calls mda_unpriv()
- mda_unpriv() runs with privileges of the recipient, it expands variables,
sets up environment and executes the mda
ok millert@ and eric@
Diffstat (limited to 'smtpd')
-rw-r--r-- | smtpd/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/smtpd/Makefile b/smtpd/Makefile index 135c3e18..4d7793cf 100644 --- a/smtpd/Makefile +++ b/smtpd/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.90 2018/05/24 11:38:24 gilles Exp $ +# $OpenBSD: Makefile,v 1.91 2018/06/03 14:04:06 gilles Exp $ .PATH: ${.CURDIR}/.. @@ -26,6 +26,7 @@ SRCS+= lka_session.c SRCS+= log.c SRCS+= mailaddr.c SRCS+= mda.c +SRCS+= mda_unpriv.c SRCS+= mda_variables.c SRCS+= mproc.c SRCS+= mta.c |