From 61d2b401f7d14284c262c278990dd31e1e7fa2da Mon Sep 17 00:00:00 2001 From: Cade Robinson Date: Sat, 7 Oct 2023 10:29:17 -0500 Subject: [PATCH] Fix using multiple email addresses for sendmail busybox sendmail wants space separated list but To: is comma separated so let sendmail just parse the email body for To: --- config/action.d/sendmail-common.conf | 2 +- config/jail.conf | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/config/action.d/sendmail-common.conf b/config/action.d/sendmail-common.conf index 1e31fadf..45bf499a 100644 --- a/config/action.d/sendmail-common.conf +++ b/config/action.d/sendmail-common.conf @@ -62,7 +62,7 @@ actionunban = # Your system mail command # -mailcmd = /usr/sbin/sendmail -f "" "" +mailcmd = /usr/sbin/sendmail -f "" -t # Recipient mail address # diff --git a/config/jail.conf b/config/jail.conf index 01e1fdf7..daec7ffd 100644 --- a/config/jail.conf +++ b/config/jail.conf @@ -175,6 +175,7 @@ filter = %(__name__)s[mode=%(mode)s] # Destination email address used solely for the interpolations in # jail.{conf,local,d/*} configuration files. +# comma separated list for multiple addresses destemail = root@localhost # Sender email address used solely for some actions