From 0466da57ba5a8be9faa43f2b1a2bf8bc762abf68 Mon Sep 17 00:00:00 2001 From: Michael Poole Date: Tue, 22 Jul 2008 21:38:24 -0400 Subject: [PATCH] Document smtp mail back end even for autoconf builds. configure.in: List "smtp" as a mail mechanism. srvx.conf.example: Show the configuration options associated with it. --- configure.in | 2 +- srvx.conf.example | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/configure.in b/configure.in index 9471c1b..8239c60 100644 --- a/configure.in +++ b/configure.in @@ -227,7 +227,7 @@ fi AC_MSG_CHECKING(how to send mail) AC_ARG_WITH(mail, [ --with-mail=name How to send mail; one of: - sendmail (the default)], + sendmail (the default), smtp], [], [withval="sendmail"]) if test -r "${srcdir}/src/mail-${withval}.c" ; then diff --git a/srvx.conf.example b/srvx.conf.example index d3cac22..5c1556b 100644 --- a/srvx.conf.example +++ b/srvx.conf.example @@ -399,6 +399,10 @@ "body_prefix" ("This goes before the mail text.", "Each string here is treated as a separate \"paragraph\" for line wrapping."); "body_suffix_first" ("We care a lot about spam. If you did not request this email, bitch and moan loudly at our opers, and tell our ISP to gank our connection."); "body_suffix" ("PLEASE DO NOT BE ALARMED. CALMLY BOARD THE AIRCRAFT, STRAP YOUR ARMS ACROSS YOUR BODY, AND JUMP THE HELL OUT OF THE PLANE.", "Yaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaatta!"); + // If you are using the smtp mail back-end, you may need to set these: + "smtp_server" "localhost"; + "smtp_service" "smtp"; + // "smtp_myname" "localhost.domain"; }; // New section in srvx-1.2 to control database locations, etc. -- 2.20.1