summaryrefslogtreecommitdiff
path: root/sys/compat/hpux/hpux_exec.h
diff options
context:
space:
mode:
authorGilles Chehade <gilles@cvs.openbsd.org>2010-03-01 22:00:53 +0000
committerGilles Chehade <gilles@cvs.openbsd.org>2010-03-01 22:00:53 +0000
commit0256a40533d04c2ccdfc63a6aee436c6ae0ba94b (patch)
tree2c4a8524f51663aa8f4c0687fad43a1b5e12548f /sys/compat/hpux/hpux_exec.h
parent356c9ace818c89ef636a651ab0c4a9d3355545c7 (diff)
mda_event() assumed the mbox fp to be a file when it could be a pipe, do
not fatal on read/write errors otherwise a broken pipe in an external mda will bring smtpd down. mda_store() assumed write would succeed and fatal otherwise, change code so that EINTR/EAGAIN trigger a new write while other errors gracefully return causing the message to be rescheduled later. these two prevent a fatal() from being hit when execution of a filter or external mda fails (bug experienced and fix verified by nicm@) while at it, fix a small bug where logs would not display the recipient when mail went through a ~/.forward / aliases expansion.
Diffstat (limited to 'sys/compat/hpux/hpux_exec.h')
0 files changed, 0 insertions, 0 deletions