Commit b96d6864 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Send mail using sendmail, to avoid malformed mails. (Bug 185). Make

the path to sendmail configurable.  Make it possible to turn off mail
delivery completely.
parent 48b4cee3
2003-08-20 Per Cederqvist <ceder@ceder.dyndns.org> 2003-08-20 Per Cederqvist <ceder@ceder.dyndns.org>
Send mail using sendmail, to avoid malformed mails. (Bug 185).
Make the path to sendmail configurable. Make it possible to turn
off mail delivery completely.
* configure.in: Search for a sendmail binary.
* doc/lyskomd.texi (Parameters): Document "sendmail path".
* src/server/param.h (struct kom_par): Added sendmail_path.
* src/server/server-config.c (parameters): Added "sendmail path".
(read_configuration): Handle it.
* src/server/updateLysKOM.c (checkstatus): Send mail by opening a
pipe to "sendmail -t". That is more portable than pipeing a
message into "mail". Turn off mail delivery completely if
"sendmail path" is set to ":".
* src/server/Makefile.am (paths.h): Write SENDMAIL_PATH.
Test suite: Don't forget to distribute aux-items-bad.conf. Test suite: Don't forget to distribute aux-items-bad.conf.
* src/server/testsuite/lyskomd.0/Makefile.am (EXTRA_DIST): Added * src/server/testsuite/lyskomd.0/Makefile.am (EXTRA_DIST): Added
aux-items-bad.conf. aux-items-bad.conf.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment