domain-name-system – 用于将电子邮件转发到Gmail帐户的SPF softfail

前端之家收集整理的这篇文章主要介绍了domain-name-system – 用于将电子邮件转发到Gmail帐户的SPF softfail前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我已经能够SPF传递来自Postfix服务器的所有已发送电子邮件.但对于只是将电子邮件重定向到我的gmail ID的转发域,我在SPF中看到了softfail.

例如,如果我从hotmail帐户发送电子邮件至contactus@workingwoman.org,则会转发至测试电子邮件ID ragraggupta8899@gmail.com.

我为我的主机名(host.tariffplans.com)添加了SPF标题“spf1 a mx -all”以及所有域.所有域/子域的A记录正确指向我的服务器IP:23.239.30.81

但在转发的电子邮件标题中.. Google将其显示为softfail.可能是什么问题呢?:

Delivered-To: rag.raggupta8899@gmail.com
Received: by 10.114.96.70 with SMTP id dq6csp51447ldb;
        Sat,19 Jul 2014 23:05:03 -0700 (PDT)
X-Received: by 10.182.65.66 with SMTP id v2mr22896624obs.74.1405836302184;
        Sat,19 Jul 2014 23:05:02 -0700 (PDT)
Return-Path: 
Received: from host.tariffplans.com (tariffplans.com. [23.239.30.81])
        by mx.google.com with ESMTPS id js4si25593503obc.98.2014.07.19.23.05.01
        for 
        (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
        Sat,19 Jul 2014 23:05:02 -0700 (PDT)
Received-SPF: softfail (google.com: domain of transitioning bhasker@hotmail.com does not designate 23.239.30.81 as permitted sender) client-ip=23.239.30.81;
Authentication-Results: mx.google.com;
       spf=softfail (google.com: domain of transitioning bhasker@hotmail.com does not designate 23.239.30.81 as permitted sender) smtp.mail=bhasker@hotmail.com
Received: from BLU004-OMC4S20.hotmail.com (blu004-omc4s20.hotmail.com [65.55.111.159])
    (using TLSv1.2 with cipher AES128-SHA256 (128/128 bits))
    (No client certificate requested)
    by host.tariffplans.com (Postfix) with ESMTPS id 668E01E1619
    for ; Sun,20 Jul 2014 11:35:01 +0530 (IST)
Received: from BLU181-W79 ([65.55.111.136]) by BLU004-OMC4S20.hotmail.com with Microsoft SMTPSVC(7.5.7601.22712);
     Sat,19 Jul 2014 23:05:01 -0700
X-TMN: [mcaEHqstvkaYJBg7Y5zPleq+hEPF4BC7]
X-Originating-Email: [bhasker@hotmail.com]
Message-ID: 
Content-Type: multipart/alternative;
    boundary="_dfcd1b0c-5d39-4204-a29c-16fb51556946_"
From: Bhasker Yamsani 
To: "contactus@workingwoman.org" 
Subject: testing
Date: Sun,20 Jul 2014 02:05:00 -0400
Importance: Normal
MIME-Version: 1.0
X-OriginalArrivalTime: 20 Jul 2014 06:05:01.0018 (UTC) FILETIME=[8A96E3A0:01CFA3E0]

解决方法

您的服务器host.tariffplansindia.com正在接收来自外部的邮件,在本例中为bhasker1@hotmail.com.主持人的接收者是contactus@indianworkingwoman.org.现在,您的服务器将该邮件中继(不更改信封发件人地址)到gmail. gmail服务器现在从您的服务器host.tariffplansindia.com获取一封邮件,信封来自bhasker1@hotmail.com.现在,hotmail.com的SPF-Record禁止除了它自己以外的所有发件人,你不能做任何事情. SPF打破了这种邮件转发,这是一个已知的问题,但它也是由 Sender Rewriting Scheme (SRS)解决的.

使用SRS,中继邮件服务器可以重写信封来自,以便它来自您控制SPF记录的域(host.tariffplansindia.com).不幸的是,在邮件服务器上设置SRS需要 – 在大多数情况下 – 手动编译和安装软件,available implementations的种类非常有限,而且现有的问题是how to perform SRS on postfix.

猜你在找的HTML相关文章