diff options
author | FedericoHeichou <federicoheichou@gmail.com> | 2023-07-28 09:34:16 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2024-01-19 17:08:01 +0100 |
commit | 3cf66ae1568b5151116600682af795dee7811e80 (patch) | |
tree | ee2dbbc0f8c0cf3e3317ffa7a1b2a7f31809ed04 | |
parent | e5b0941c6446aeabeb40d3e98cd5e6e4cae2d07e (diff) | |
download | nextcloud-server-3cf66ae1568b5151116600682af795dee7811e80.tar.gz nextcloud-server-3cf66ae1568b5151116600682af795dee7811e80.zip |
Add "-i" to sendmail's pipe
Signed-off-by: FedericoHeichou <federicoheichou@gmail.com>
-rw-r--r-- | apps/settings/templates/settings/admin/additional-mail.php | 2 | ||||
-rw-r--r-- | lib/private/Mail/Mailer.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/settings/templates/settings/admin/additional-mail.php b/apps/settings/templates/settings/admin/additional-mail.php index 7b88e997369..7f0f362e955 100644 --- a/apps/settings/templates/settings/admin/additional-mail.php +++ b/apps/settings/templates/settings/admin/additional-mail.php @@ -45,7 +45,7 @@ if ($_['mail_smtpmode'] === 'qmail') { $mail_sendmailmode = [ 'smtp' => 'smtp (-bs)', - 'pipe' => 'pipe (-t)' + 'pipe' => 'pipe (-t -i)' ]; ?> diff --git a/lib/private/Mail/Mailer.php b/lib/private/Mail/Mailer.php index 9b7b3cf117b..61dc6f9214b 100644 --- a/lib/private/Mail/Mailer.php +++ b/lib/private/Mail/Mailer.php @@ -331,7 +331,7 @@ class Mailer implements IMailer { } $binaryParam = match ($this->config->getSystemValueString('mail_sendmailmode', 'smtp')) { - 'pipe' => ' -t', + 'pipe' => ' -t -i', default => ' -bs', }; |