mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 08:52:39 +01:00
Remove "metamta.precedence-bulk" option (always enable it)
Summary: Ref T7746. This might possibly improve deliverability. Or might make it worse. Who knows? Test Plan: `grep` Reviewers: btrahan Reviewed By: btrahan Subscribers: epriestley Maniphest Tasks: T7746 Differential Revision: https://secure.phabricator.com/D12266
This commit is contained in:
parent
d8ab19a166
commit
5b1d0f9ed7
3 changed files with 5 additions and 11 deletions
|
@ -241,6 +241,10 @@ final class PhabricatorExtraConfigSetupCheck extends PhabricatorSetupCheck {
|
|||
'metamta.differential.reply-handler' => $reply_handler_reason,
|
||||
'metamta.maniphest.reply-handler' => $reply_handler_reason,
|
||||
'metamta.package.reply-handler' => $reply_handler_reason,
|
||||
|
||||
'metamta.precedence-bulk' => pht(
|
||||
'Phabricator now always sends transaction mail with '.
|
||||
'"Precedence: bulk" to improve deliverability.'),
|
||||
);
|
||||
|
||||
return $ancient_config;
|
||||
|
|
|
@ -271,14 +271,6 @@ EODOC
|
|||
))
|
||||
->setSummary(pht('Show email preferences link in email.'))
|
||||
->setDescription($email_preferences_description),
|
||||
$this->newOption('metamta.precedence-bulk', 'bool', false)
|
||||
->setBoolOptions(
|
||||
array(
|
||||
pht('Add "Precedence: bulk" Header'),
|
||||
pht('No "Precedence: bulk" Header'),
|
||||
))
|
||||
->setSummary(pht('Control the "Precedence: bulk" header.'))
|
||||
->setDescription($bulk_description),
|
||||
$this->newOption('metamta.re-prefix', 'bool', false)
|
||||
->setBoolOptions(
|
||||
array(
|
||||
|
|
|
@ -545,10 +545,8 @@ final class PhabricatorMetaMTAMail extends PhabricatorMetaMTADAO {
|
|||
break;
|
||||
case 'is-bulk':
|
||||
if ($value) {
|
||||
if (PhabricatorEnv::getEnvConfig('metamta.precedence-bulk')) {
|
||||
$mailer->addHeader('Precedence', 'bulk');
|
||||
}
|
||||
}
|
||||
break;
|
||||
case 'thread-id':
|
||||
|
||||
|
|
Loading…
Reference in a new issue