Dzahn has submitted this change and it was merged.

Change subject: phab/exim: rewriting rule for maint-announce@ mail
......................................................................


phab/exim: rewriting rule for maint-announce@ mail

This is an attempt to fix the blocker for replacing the
last RT queue we are using, maint-announce.

Currently phabricator fails to create tasks sent to that email
address even though it already recives the mail.

The issue is that mail sent to [email protected]
is sent to both maint-announce@phab and maint-announce@rt but
the to/envelope-to is not changed by this use of an alias.

So when mail arrives at phabricator it's not accepted:

"Phabricator can not process this mail because no application knows how to
handle it. "

because the headers still have "to: [email protected]"

See details on T118176#1938685

This should fix that issue, making phab create tickets in the maint-announce
space and then we can finally stop using RT.

PS7: instead of adding this on the mx servers, i am adding it on phab directly
     this should work around the problem having to send it to both phab and RT

Bug:T118176
Change-Id: Ice5d7c04b4a27e9c0f3f13d54266c38958106a07
---
M templates/exim/exim4.conf.phab.erb
1 file changed, 9 insertions(+), 0 deletions(-)

Approvals:
  jenkins-bot: Verified
  Dzahn: Looks good to me, approved



diff --git a/templates/exim/exim4.conf.phab.erb 
b/templates/exim/exim4.conf.phab.erb
index aa9ab11..2b99611 100644
--- a/templates/exim/exim4.conf.phab.erb
+++ b/templates/exim/exim4.conf.phab.erb
@@ -181,3 +181,12 @@
 begin retry
 
 *      *       F,2h,15m; G,16h,1h,1.5; F,4d,6h
+
+#################
+# Rewrite rules #
+#################
+
+begin rewrite
+
+# T118176 - rewrite 'to/envelope-to' for mail to maint-announce
[email protected]   [email protected]        
tT

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ice5d7c04b4a27e9c0f3f13d54266c38958106a07
Gerrit-PatchSet: 9
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Dzahn <[email protected]>
Gerrit-Reviewer: Alexandros Kosiaris <[email protected]>
Gerrit-Reviewer: Dzahn <[email protected]>
Gerrit-Reviewer: RobH <[email protected]>
Gerrit-Reviewer: Rush <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to