Skip to content

Commit 6a26821

Browse files
authored
Merge pull request #43788 from nextcloud/backport/39607/stable28
2 parents d692b2a + 354f895 commit 6a26821

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

apps/settings/templates/settings/admin/additional-mail.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545

4646
$mail_sendmailmode = [
4747
'smtp' => 'smtp (-bs)',
48-
'pipe' => 'pipe (-t)'
48+
'pipe' => 'pipe (-t -i)'
4949
];
5050

5151
?>

lib/private/Mail/Mailer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ protected function getSendMailInstance(): SendmailTransport {
331331
}
332332

333333
$binaryParam = match ($this->config->getSystemValueString('mail_sendmailmode', 'smtp')) {
334-
'pipe' => ' -t',
334+
'pipe' => ' -t -i',
335335
default => ' -bs',
336336
};
337337

tests/lib/Mail/MailerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ protected function setUp(): void {
7272
public function sendmailModeProvider(): array {
7373
return [
7474
'smtp' => ['smtp', ' -bs'],
75-
'pipe' => ['pipe', ' -t'],
75+
'pipe' => ['pipe', ' -t -i'],
7676
];
7777
}
7878

0 commit comments

Comments
 (0)