CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2012/11/02 10:02:33
Modified files:
usr.sbin/smtpd : mda.c smtpd.c smtpd.h
Log message:
Consistency and robustness improvements in mda:
- Introduce a mda_getlastline function(); improve the code to avoid
useless allocations and string formatting; make it return the last
line with content (skip trailing empty lines if found).
- Add a mechanism by which the mda can request the parent to abort a
local delivery by killing the process.
- Use ioev/iobuf for draining data to the delivery process.
- Make sure to catch all transient errors and make them result in a
tempfail rather than calling fatal().
- Make sure that the envelope status is properly set for all failures.
- Stop using SMTP response codes; it makes no sense in this context.
ok gilles@