Add "-i" to sendmail's pipe

Signed-off-by: FedericoHeichou <federicoheichou@gmail.com>
pull/39607/head
FedericoHeichou 3 years ago committed by Arthur Schiwon
parent e5b0941c64
commit 3cf66ae156
  1. 2
      apps/settings/templates/settings/admin/additional-mail.php
  2. 2
      lib/private/Mail/Mailer.php

@ -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',
};

Loading…
Cancel
Save