Kghbln has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/378848 )

Change subject: Set $wgUserEmailUseReplyTo = true by default
......................................................................

Set $wgUserEmailUseReplyTo = true by default

Mainly to work around restrictive DMARC policies.

"Backport" of I3b34f6820915cc68d46ff6fd38feacd06efd2b69

Bug: T66795
Change-Id: I2127a228a0641021f078d195023bac53eb2ba2db
---
M RELEASE-NOTES-1.27
M includes/DefaultSettings.php
2 files changed, 6 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/48/378848/1

diff --git a/RELEASE-NOTES-1.27 b/RELEASE-NOTES-1.27
index 7c24362..655eb7d 100644
--- a/RELEASE-NOTES-1.27
+++ b/RELEASE-NOTES-1.27
@@ -9,6 +9,7 @@
 * (T160462) Allow namespaces defined in extension.json to be overwritten 
locally.
 * (T168856) Allow SVGs created by Dia to be uploaded.
 * (T174262) Various backports for PHP 7.1 support.
+* (T66795) Mainly to work around restrictive DMARC policies.
 
 == MediaWiki 1.27.3 ==
 Due to a packaging error, the wrong version of the SyntaxHighlight extension 
was
diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php
index 4292387..3397616 100644
--- a/includes/DefaultSettings.php
+++ b/includes/DefaultSettings.php
@@ -1575,14 +1575,15 @@
 $wgEnableUserEmail = true;
 
 /**
- * Set to true to put the sending user's email in a Reply-To header
- * instead of From. ($wgEmergencyContact will be used as From.)
+ * If true put the sending user's email in a Reply-To header
+ * instead of From (false). ($wgPasswordSender will be used as From.)
  *
  * Some mailers (eg SMTP) set the SMTP envelope sender to the From value,
  * which can cause problems with SPF validation and leak recipient addresses
- * when bounces are sent to the sender.
+ * when bounces are sent to the sender. In addition, DMARC restrictions
+ * can cause emails to fail to be received when false.
  */
-$wgUserEmailUseReplyTo = false;
+$wgUserEmailUseReplyTo = true;
 
 /**
  * Minimum time, in hours, which must elapse between password reminder

-- 
To view, visit https://gerrit.wikimedia.org/r/378848
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I2127a228a0641021f078d195023bac53eb2ba2db
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: REL1_27
Gerrit-Owner: Kghbln <mediaw...@kghoffmeyer.de>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to