Skip to content

Commit

Permalink
Add "-i" to sendmail's pipe
Browse files Browse the repository at this point in the history
Signed-off-by: FedericoHeichou <federicoheichou@gmail.com>
  • Loading branch information
FedericoHeichou authored Jul 28, 2023
1 parent 67e1f5d commit da46b0b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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

0 comments on commit da46b0b

Please sign in to comment.