为什么我的电子邮件服务器被标记为垃圾邮件?

为什么我的电子邮件服务器被标记为垃圾邮件?

你好,我已经安装了电子邮件服务器,并且配置了 SPF,DKIM 不中继。但发送到另一个邮件服务器时仍然标记为垃圾邮件。

这是我发送到 Gmail 时的标题。

Delivered-To: [email protected]
Received: by 10.67.5.134 with SMTP id cm6csp1162899pad;
        Mon, 12 Jan 2015 14:59:06 -0800 (PST)
X-Received: by 10.66.249.226 with SMTP id yx2mr47651949pac.112.1421103545987;
        Mon, 12 Jan 2015 14:59:05 -0800 (PST)
Return-Path: <[email protected]>
Received: from serverB.id (serverB.id. [xxx.xxx.xxx.xxx])
        by mx.google.com with ESMTP id sk3si24842126pab.208.2015.01.12.14.59.05
        for <[email protected]>;
        Mon, 12 Jan 2015 14:59:05 -0800 (PST)
Received-SPF: fail (google.com: domain of [email protected] does not designate xxx.xxx.xxx.xxx as permitted sender) client-ip=xxx.xxx.xxx.xxx;
Authentication-Results: mx.google.com;
       spf=fail (google.com: domain of [email protected] does not designate xxx.xxx.xxx.xxx as permitted sender) [email protected];
       dkim=pass [email protected]
Received: from localhost (localhost [127.0.0.1])
    by serverB.id (Postfix) with ESMTP id 6ECDE18222D
    for <[email protected]>; Mon, 12 Jan 2015 17:59:03 -0500 (EST)
X-Virus-Scanned: Debian amavisd-new at serverB.id
Received: from serverB.id ([127.0.0.1])
    by localhost (serverB.id [127.0.0.1]) (amavisd-new, port 10024)
    with ESMTP id XndeuiUPTr3z for <[email protected]>;
    Mon, 12 Jan 2015 17:58:58 -0500 (EST)
Received: from [127.0.0.1] (unknown [36.72.188.178])
    by serverB.id (Postfix) with ESMTPSA id 55CD6181BF3
    for <[email protected]>; Mon, 12 Jan 2015 17:58:58 -0500 (EST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=siteA.id; s=mail;
    t=1421103538; bh=eoiZDmxu8BwVN9n+nMx/jqQf4L+771kN8+jJD3SIF0Q=;
    h=Date:From:To:Subject:From;
    b=VLR6ZOWGuZHhE3+DVbXBZAwu5xGhyBipe/ciwF+rlyKzmC8D0ikd2hOlynW8ob5Q5
     h7/6fiNpBxHAma/g9aGCMeVfJGX2jdxazfLiVcfY+MnrrzjoOhE4Iy5NdWBEOww5vj
     xmSsHgOoSAoZQ1WNe6P3TWzDpfDOKaH9qj+VTcG8=
Message-ID: <[email protected]>
Date: Tue, 13 Jan 2015 05:58:57 +0700
From: info <[email protected]>
Organization: eneloop
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0
MIME-Version: 1.0
To: [email protected]
Subject: attaaat
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Antivirus: avast! (VPS 150112-1, 01/13/2015), Outbound message
X-Antivirus-Status: Clean

tatas

---
This email has been checked for viruses by Avast antivirus software.
http://www.avast.com

有人能告诉我这里出了什么问题吗?

答案1

您当前的 SPF 是这样的:

eneloop.id.             1799    IN      TXT     "v=spf1 mx:smtp.microad.co.id -all"

这表示“域 smtp.microad.co.id 的 MX 服务器可以为该域发送电子邮件,但不能发送其他任何内容”。

但是,smtp.microad.co.id 是服务器,而不是域,因此没有 MX 服务器。实际上,您是在说没有服务器可以合法地为该域发送电子邮件。

你可能想要这个:

eneloop.id.             1799    IN      TXT     "v=spf1 mx -all"

这意味着 eneloop.id 的 MX 服务器可以为 eneloop.id 发送电子邮件 - 并且smtp.microad.co.id被列为其 MX 服务器。

或者你想要:

eneloop.id.             1799    IN      TXT     "v=spf1 a:smtp.microad.co.id -all"

这表示smtp.microad.co.id解析的 IP 地址可以为 eneloop.id 发送电子邮件

这两个选项实现的功能相同 - 前者意味着如果您将来选择使用其他电子邮件服务器发送电子邮件,您的 SPF 仍然有效。

答案2

您需要将该 IP(xxx.xxx.xxx.xxx)添加到允许的发件人列表中 - 您的域名注册商的帐户页面上可能有一个工具。

该记录应如下所示:

TXT    siteA.id    “v=spf1 ip4:xxx.xxx.xxx.xxx ~all”

相关内容