From 4317b5557e432b6477f22d8f2bb5320e82057b51 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Fri, 23 May 2025 23:13:24 +0100 Subject: Redocument sendmailpath. --- data/anope.example.conf | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) (limited to 'data') 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" -- cgit