Page MenuHomePhabricator

deployment-mx should not send out emails with $domain part set as wikimedia.org
Closed, ResolvedPublic

Description

The new deployment-mx routes emails from the beta-cluster - and still have the $domain part of Return-Path header set to 'wikimedia.org'. This will cause for bounces to come back all the way till polonium - which is not the intended path. Probably, beta should have something like wmflabs.org set as the $domain part so that bounce emails will come back to deployment-mx.
The current return path for an email sent from http://deployment.wikimedia.beta.wmflabs.org/ is :

Return-Path: <wiki-deploymentwiki-pg-niuja1-g/Qo8rG/uI9DaDAg@wikimedia.org>

After adding DNS records for deployment-mx. This should become something like :

Return-Path: <wiki-deploymentwiki-pg-niuja1-g/Qo8rG/uI9DaDAg@wmflabs.org

Event Timeline

01tonythomas raised the priority of this task from to Needs Triage.
01tonythomas updated the task description. (Show Details)
01tonythomas added subscribers: 01tonythomas, Jgreen, Legoktm and 2 others.

Looks like the rewrite happens from the deployment wiki level - consider this header from the Deployment wiki email

Received: from apache by deployment-mediawiki01.eqiad.wmflabs with local (Exim 4.82)
	(envelope-from <wiki-deploymentwiki-pg-nitobf-UEI5RedsqbyokF35@wikimedia.org>)
	id 1YFzWZ-0002Ji-0N
	for 01tonythomas@gmail.com; Tue, 27 Jan 2015 06:21:19 +0000

The envolope-from already have the $domain part set as wikimedia.org right after the wiki send the email out.

That should probably be beta.wmflabs.org or something similar to avoid confusion with other Labs projects.

gerritbot subscribed.

Change 187905 had a related patch set uploaded (by 01tonythomas):
Set $domain part override for emails from beta

https://gerrit.wikimedia.org/r/187905

Patch-For-Review

Change 187905 merged by jenkins-bot:
Set $domain part override for emails from beta

https://gerrit.wikimedia.org/r/187905

01tonythomas claimed this task.

Thanks @hoo for the weekend +2 :)