Page MenuHomePhabricator

Brickimedia's MediaWiki-generated emails are being sent to Gmail's spam folder
Closed, InvalidPublic


...because Google thinks they are in violation of their recommended email sender guidelines, apparently:

The link points to this Google help page. Looking at the email headers, I guess that at least a SPF record is missing (since the mail has Received-SPF: neutral header set), but probably some other things aren't quite as configured as they should be. Here are the headers of that particular email if they're of any use:

Received: by with SMTP id x2csp696916ivf;
        Sat, 9 Jul 2016 04:17:17 -0700 (PDT)
X-Received: by with SMTP id o185mr1325998ywo.45.1468063037871;
        Sat, 09 Jul 2016 04:17:17 -0700 (PDT)
Return-Path: <>
Received: from ([2604:180::a9c8:d19d])
        by with ESMTPS id s205si782155ywc.402.2016.
        for <>
        (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Sat, 09 Jul 2016 04:17:17 -0700 (PDT)
Received-SPF: neutral ( 2604:180::a9c8:d19d is neither permitted nor denied by best guess record for domain of client-ip=2604:180::a9c8:d19d;
       spf=neutral ( 2604:180::a9c8:d19d is neither permitted nor denied by best guess record for domain of
Received: from (localhost.localdomain [])
	by (8.14.4/8.14.4/Debian-8) with ESMTP id u69BHHZa019937
	for <>; Sat, 9 Jul 2016 07:17:17 -0400
Received: (from www-data@localhost)
	by (8.14.4/8.14.4/Submit) id u69BHHDg019936;
	Sat, 9 Jul 2016 07:17:17 -0400
X-Authentication-Warning: www-data set sender to brickipedia using -f
To: Jack Phoenix <>
Subject: LegoFan4000 has sent you the Gold Brick gift on Brickipedia!
X-PHP-Originating-Script: 0:UserMailer.php
From: Brickipedia <>
Date: Sat, 09 Jul 2016 11:17:17 +0000
Message-ID: <>
X-Mailer: MediaWiki mailer
List-Unsubscribe: <>
MIME-Version: 1.0
Content-type: text/html; charset=UTF-8
Content-transfer-encoding: 8bit

@lcawte, maybe you have some thoughts on this as you know lots about mail ops?

Event Timeline

ashley created this task.Jul 9 2016, 3:03 PM
Restricted Application added subscribers: MacFan4000, Zppix. · View Herald TranscriptJul 9 2016, 3:03 PM
MacFan4000 triaged this task as High priority.Jul 10 2016, 11:14 PM
MacFan4000 removed a subscriber: Zppix.

I don't know why that happend.

MacFan4000 moved this task from Backlog to EMAIL on the Brickimedia board.Jul 10 2016, 11:17 PM
MacFan4000 assigned this task to lcawte.Jul 11 2016, 5:56 PM
lcawte removed lcawte as the assignee of this task.Jul 11 2016, 5:58 PM
MacFan4000 assigned this task to ashley.Jul 11 2016, 6:01 PM
lcawte reassigned this task from ashley to Ajraddatz.EditedJul 11 2016, 6:05 PM

The only people with access to fix this (to my knowledge) are @Ajraddatz and @georgebarnick. Please stop assigning this to anyone and everyone.

SamanthaNguyen moved this task from EMAIL to General on the Brickimedia board.Aug 28 2016, 4:22 PM

I'm not really sure how to fix this either. George?

I've never been able to figure it out but I've also never looked deep into it. For as long as I can remember, it's just how it's always been with private MediaWiki installations. I don't know what WMF does differently for theirs to come through.

SamanthaNguyen closed this task as Invalid.Apr 2 2017, 12:09 AM

Since Brickimedia has moved to ShoutWiki's server, this is now invalid.