diff options
author | Eric Faurot <eric@cvs.openbsd.org> | 2012-11-02 16:02:34 +0000 |
---|---|---|
committer | Eric Faurot <eric@cvs.openbsd.org> | 2012-11-02 16:02:34 +0000 |
commit | f6ba6dd5506311f803258c1d69486fc439b7c323 (patch) | |
tree | 78a82d16c941410956b68801c2d6fa3ca35a0b29 /libexec | |
parent | ea1f62fc8aa35fc860149f014ee035e73107cf73 (diff) |
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@
Diffstat (limited to 'libexec')
0 files changed, 0 insertions, 0 deletions