diff options
author | Jacek Masiulaniec <jacekm@cvs.openbsd.org> | 2009-04-16 15:35:07 +0000 |
---|---|---|
committer | Jacek Masiulaniec <jacekm@cvs.openbsd.org> | 2009-04-16 15:35:07 +0000 |
commit | dd6deb459c9ab0661ccbdc8771cdfe58f41d505d (patch) | |
tree | 1945ddb895a10f363aab71f084b07d38c9a1b703 /distrib/sets/lists/base/md.hp300 | |
parent | 9a62f48680726b99408b4681140b0a804c4596a9 (diff) |
Total rewrite of the sendmail interface. Adds support for -t, -v,
and -F cmdline args. Also, date and Message-Id headers are added
when missing.
The main trouble with the current enqueue code is that it requires
dealing with problems in the control process that are already solved
in the smtp process, ie. duplicating a lot of code which interacts
with untrusted clients. This diff solves this by making sendmail
obtain a SMTP socket from smtp via smtpd.sock, and using that socket
to deliver the message. For smtpd it looks as if connection was
made from the network, only difference being the F_MESSAGE_ENQUEUED
message flag, handy when differentation between local and remote
deliveries is wanted.
Most of the features come from the femail program, created by henning@.
Additional testing by Nigel J. Taylor.
ok gilles@, henning@ happy with smtpd using femail code
Diffstat (limited to 'distrib/sets/lists/base/md.hp300')
0 files changed, 0 insertions, 0 deletions