Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Add "-i" to sendmail's pipe
Signed-off-by: FedericoHeichou <[email protected]>
  • Loading branch information
FedericoHeichou authored and backportbot[bot] committed Feb 23, 2024
commit 39d81aff8f8961d50b8af5b830d999654ff40113
2 changes: 1 addition & 1 deletion apps/settings/templates/settings/admin/additional-mail.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@

$mail_sendmailmode = [
'smtp' => 'smtp (-bs)',
'pipe' => 'pipe (-t)'
'pipe' => 'pipe (-t -i)'
];

?>
Expand Down
2 changes: 1 addition & 1 deletion lib/private/Mail/Mailer.php
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ protected function getSendMailInstance(): SendmailTransport {
}

$binaryParam = match ($this->config->getSystemValueString('mail_sendmailmode', 'smtp')) {
'pipe' => ' -t',
'pipe' => ' -t -i',
default => ' -bs',
};

Expand Down