aboutsummaryrefslogtreecommitdiffstats
path: root/smtpd
diff options
context:
space:
mode:
authorgilles <gilles@openbsd.org>2018-06-03 14:04:06 +0000
committergilles <gilles@openbsd.org>2018-06-03 14:04:06 +0000
commit8925f6fa30e0089b1a9e4dac39542c2733218355 (patch)
treed7895a3e945a597c02f0f100b628ca662e8de3f4 /smtpd
parentrestore one set of quotes i shouldn;t have removed; (diff)
downloadOpenSMTPD-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/Makefile3
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