Add "-i" to sendmail's pipe

Signed-off-by: FedericoHeichou <federicoheichou@gmail.com>
pull/39607/head
FedericoHeichou 2023-07-28 09:34:16 +07:00 committed by Arthur Schiwon
parent e5b0941c64
commit 3cf66ae156
2 changed files with 2 additions and 2 deletions

@ -45,7 +45,7 @@ if ($_['mail_smtpmode'] === 'qmail') {
$mail_sendmailmode = [
'smtp' => 'smtp (-bs)',
'pipe' => 'pipe (-t)'
'pipe' => 'pipe (-t -i)'
];
?>

@ -331,7 +331,7 @@ class Mailer implements IMailer {
}
$binaryParam = match ($this->config->getSystemValueString('mail_sendmailmode', 'smtp')) {
'pipe' => ' -t',
'pipe' => ' -t -i',
default => ' -bs',
};