summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorNaram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864>2008-11-09 23:41:28 +0000
committerNaram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864>2008-11-09 23:41:28 +0000
commit93985d17a8f6ac33d4174df2073a2cf79e9b30c5 (patch)
tree934e0cdfa43bc1d1daa701994bb9240147d6fb6e /data
parent8cf37b7f2e57dc3e75dd7b15e66e3ae2e83e4718 (diff)
Added sendmailpath directive to mail block in new config.
Added ValidateMail function to validate certain mail block config directives only when usemail is enabled. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1622 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'data')
-rw-r--r--data/example_new.conf15
1 files changed, 14 insertions, 1 deletions
diff --git a/data/example_new.conf b/data/example_new.conf
index 3d021c3bb..a06bf08f6 100644
--- a/data/example_new.conf
+++ b/data/example_new.conf
@@ -222,11 +222,24 @@ mail
{
/*
* If set, this option enables the mail commands in Services. You may choose
- * to disable it if you have no sendmail-compatible mailer installed. While
+ * to disable it if you have no Sendmail-compatible mailer installed. While
* this directive (and entire block) is optional, it is required if the
* nickserv:emailregistration is set to yes.
*/
usemail = yes
+
+ /*
+ * This is the command-line that will be used to call Sendmail to send an
+ * e-mail. It must be called with all the parameters needed to make it
+ * scan the mail input to find the mail recipient; consult your Sendmail
+ * documentation.
+ *
+ * Postfix users must use the compatible sendmail utility provided with
+ * it; this one usually needs no parameters on the command-line. Most
+ * sendmail applications (or replacements of it) require the -t option
+ * to be used.
+ */
+ sendmailpath = "/usr/sbin/sendmail -t"
}
/*