aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/settings/templates/settings/admin/additional-mail.php2
-rw-r--r--lib/private/Mail/Mailer.php2
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',
};