diff example.cfg @ 113:f45115bfb17a

Implement sendmail mail sending support. Various e-mail related settings have also changed, so this is not backwards compatible. Sorry.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 18 Oct 2016 13:26:20 +0300
parents fe3bfabf0b5f
children
line wrap: on
line diff
--- a/example.cfg	Tue Oct 18 12:56:44 2016 +0300
+++ b/example.cfg	Tue Oct 18 13:26:20 2016 +0300
@@ -31,18 +31,24 @@
 ###
 ### E-mail settings
 ###
-# Enable/disable sending of e-mail message in case of fatal errors
+# Enable sending of e-mail message in case of fatal errors
+# off = Don't send e-mail
+# smtp = use an SMTP server for sending (see below settings)
+# sendmail = use local sendmail (see below settings)
 email = off
 
+# Sendmail binary location
+email_sendmail = /usr/bin/sendmail
+
 # SMTP server for sending mail
-#email_server = host[:port]
+#email_smtp_server = host[:port]
 
 # SMTP user and password (not encrypted!)
-#email_srv_user = username
-#email_srv_password = password
+#email_smtp_user = username
+#email_smtp_password = password
 
 # Use TLS
-#email_use_tls = no
+#email_smtp_tls = no
 
 
 # Message subject