Project

General

Profile

Actions

Bug #3212

closed

Gerrit email service does not have PTR record

Added by Junxiao Shi about 10 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
High
Assignee:
-
Category:
Gerrit
Start date:
09/18/2015
Due date:
% Done:

0%

Estimated time:

Description

Gmail is classifying emails from Gerrit as spam, because they are in violation of Google's recommended email sender guidelines.

Gmail requires:

  1. Use a consistent IP address to send bulk mail.
  2. Keep valid reverse DNS records for the IP address(es) from which you send mail, pointing to your domain.
  3. Use the same address in the 'From:' header on every bulk mail you send.
  4. (IPv6) The sending IP must have a PTR record (i.e., a reverse DNS of the sending IP) and it should match the IP obtained via the forward DNS resolution of the hostname specified in the PTR record. Otherwise, mail will be marked as spam or possibly rejected.
  5. (IPv6) The sending domain should pass either SPF check or DKIM check. Otherwise, mail might be marked as spam.

Headers from one of such emails include:

Return-Path: <[email protected]>
Received: from named-data.net ([2607:f010:2e8:77:85b2:db47:4ad:5c77])
        by mx.google.com with ESMTP id x75si7078946ioi.11.2015.09.18.07.44.23;
        Fri, 18 Sep 2015 07:44:23 -0700 (PDT)
Received-SPF: neutral (google.com: 2607:f010:2e8:77:85b2:db47:4ad:5c77 is neither permitted nor denied by best guess record for domain of [email protected]) client-ip=2607:f010:2e8:77:85b2:db47:4ad:5c77;
Authentication-Results: mx.google.com;
       spf=neutral (google.com: 2607:f010:2e8:77:85b2:db47:4ad:5c77 is neither permitted nor denied by best guess record for domain of [email protected]) [email protected]
Message-Id: <[email protected]>
Date: Fri, 18 Sep 2015 07:44:41 -0700
From: NDN CodeReview <[email protected]>

This email violates Google guideline item 2,4,5. A violation of item 4 will definitely cause the email to be classified as spam.

Corrective actions required:

  • add a PTR record for the Gerrit email server 2607:f010:2e8:77:85b2:db47:4ad:5c77
  • add an AAAA record to point to this IP
  • add an SPF record to permit this IP to send emails on behalf of gerrit.named-data.net domain

Related issues 1 (0 open1 closed)

Has duplicate named-data.net - Bug #3213: Redmine email server does not have PTR recordClosed09/18/2015

Actions
Actions #1

Updated by Alex Afanasyev about 10 years ago

  • Has duplicate Bug #3213: Redmine email server does not have PTR record added
Actions #2

Updated by Alex Afanasyev over 9 years ago

  • Status changed from New to Closed

MX relay has been switched to use Google's SMTP. Things seem to be working properly.

Actions

Also available in: Atom PDF