CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]  2010/04/19 02:14:07

Modified files:
        usr.sbin/smtpd : mda.c runner.c smtpd.c smtpd.h 

Log message:
Simplify local delivery codepath:
- replace uses of struct batch in the parent with simpler struct delivery.
- replace IMSG_BATCH_* dance with single IMSG_MDA_SESS_NEW.
- make mda assume it delivers to external program over a pipe.
- fork helper process when delivering to maildir or a file.

New feature: upon external mda failure use last line of its output
as an error message.

With input and tests from n...@.

OK nicm@ gilles@

Reply via email to