Document smtp mail back end even for autoconf builds.
authorMichael Poole <mdpoole@troilus.org>
Wed, 23 Jul 2008 01:38:24 +0000 (21:38 -0400)
committerMichael Poole <mdpoole@troilus.org>
Wed, 23 Jul 2008 01:38:24 +0000 (21:38 -0400)
configure.in: List "smtp" as a mail mechanism.
srvx.conf.example: Show the configuration options associated with it.

configure.in
srvx.conf.example

index 9471c1bdbeb8239fb8a78d0ca9f80d9a89ecfa05..8239c6068ac46cd25662fc39bacdfd0b9274104d 100644 (file)
@@ -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
index d3cac229f22565131e0efa14fa9d2b836b467144..5c1556bda393698ebb38d9a0d8870cd16468ea56 100644 (file)
     "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.