CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2018/06/03 08:04:06
Modified files:
usr.sbin/smtpd : smtpd.c smtpd.h
usr.sbin/smtpd/smtpd: Makefile
Added files:
usr.sbin/smtpd : mda_unpriv.c
Log message:
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@