summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2025-05-23 23:13:24 +0100
committerSadie Powell <sadie@witchery.services>2025-05-23 23:18:12 +0100
commit4317b5557e432b6477f22d8f2bb5320e82057b51 (patch)
tree81667f1ad0adecff2a691b3f91bd5982915cde2c
parentf97448f48a8d4defc0175f61d8579f2483a26a0b (diff)
Redocument sendmailpath.
-rw-r--r--data/anope.example.conf24
1 files changed, 13 insertions, 11 deletions
diff --git a/data/anope.example.conf b/data/anope.example.conf
index f3edf619e..2b7860f2a 100644
--- a/data/anope.example.conf
+++ b/data/anope.example.conf
@@ -930,18 +930,20 @@ mail
usemail = yes
/*
- * This is the command-line that will be used to call the mailer to send an
- * email. It must be called with all the parameters needed to make it
- * scan the mail input to find the mail recipient; consult your mailer
- * documentation.
+ * The command used for sending emails. It is assumed that this behaves like
+ * sendmail (i.e. it reads the email from the standard input stream) but you
+ * should probably use Postfix or some other sendmail-compatible emailer
+ * instead of sendmail as sendmail is very hard to configure correctly. If
+ * you are using Windows then https://www.glob.com.au/sendmail/ is probably
+ * the best option currently.
*
- * 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.
- *
- * If you are running on Windows you should use a Windows sendmail port
- * like https://www.glob.com.au/sendmail/ for sending emails.
+ * If your emailer sends emails directly from the services host you will
+ * need to configure DKIM, DMARC, and SPF to avoid email hosts from marking
+ * your services emails as spam. It is important that you do this *BEFORE*
+ * sending emails for the first time as some email providers will add your
+ * host to a DNSBL like Spamhaus if they consider your emails to be spam. If
+ * this is too difficult then you may want to consider sending emails via an
+ * external email provider using a forwarder like msmtp.
*/
#sendmailpath = "/usr/sbin/sendmail -it"