最近决定放弃谷歌邮件服务并建立私人邮件服务器。我提到的是,从me@example.com
发送到inbox@gmail.com
和spam@gmail.com
的电子邮件已相应地放入Inbox
和Spam
个文件夹中。
问题
为什么邮件分发到不同的文件夹?邮件目标文件夹(*@gmail.com
)是否依赖于
Inbox
帐户中标记为非垃圾邮件时,我能够从me@example.com
收到gmail
的邮件?gmail
的一些特定要求,例如Received-SPF
,DKIM-Signature
等标题?消息
检查了某些标题字段中的pass
。恕我直言似乎也很好。各个IP都是隐藏的。
Delivered-To: spam@gmail.com
Received: by [example.com] with SMTP id s194csp2015594wmd;
Tue, 16 Jun 2015 03:43:40 -0700 (PDT)
X-Received: by 10.66.154.233 with SMTP id vr9mr57332135pab.124.1434451419946;
Tue, 16 Jun 2015 03:43:39 -0700 (PDT)
Return-Path: <me@example.com>
Received: from mail.example.com (example.com. [[example.com]])
by mx.google.com with ESMTP id hf2si854902pbb.140.2015.06.16.03.43.38
for <spam@gmail.com>;
Tue, 16 Jun 2015 03:43:39 -0700 (PDT)
Received-SPF: pass (google.com: domain of me@example.com designates [example.com] as permitted sender) client-ip=[example.com];
Authentication-Results: mx.google.com;
spf=pass (google.com: domain of me@example.com designates [example.com] as permitted sender) smtp.mail=me@example.com;
dkim=pass header.i=@mail.example.com;
dmarc=pass (p=QUARANTINE dis=NONE) header.from=example.com
Received: from [spam@gmail.com] (unknown [[gmail.com]])
by mail.example.com (Postfix) with ESMTPSA id 7D2CB12164B
for <spam@gmail.com>; Tue, 16 Jun 2015 06:43:36 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mail.example.com;
s=default; t=1434451416;
bh=EmposAsl9Yoxe9cb6dijtNnJsjZ0DuYCuwTZhRF2GXU=;
h=Date:From:To:Subject:From;
b=cjR7tpLvJ1JFVPf/ddLM4rpooeo95kFlu3ybHSHW8IK6oOTA1QfKy/Q14U9CojrDL
IDf9s2fqNIBBAhH81ivwdNQQFo64hw4/rstljealG1lNQRiIl0zUvD3bm8WbC1CfWb
i3/d8CgiAYkixStNSYEYQhNaUEixWMmznk/bUJJg=
Message-ID: <557FFDD8.2070201@example.com>
Date: Tue, 16 Jun 2015 13:43:36 +0300
From: =?UTF-8?B?TcSBcnRpxYbFoSBFZ2zEq3Rpcw==?= <me@example.com>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
MIME-Version: 1.0
To: spam@gmail.com
Subject: Some test subject
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
This is some message, however the mail is put to Spam folder...
DNS
MX 50 mail.example.com.
TXT @ "v=spf1 a mx ip4:[example.com] -all"
TXT _dmarc "v=DMARC1; p=quarantine; rua=mailto:postmaster@example.com"
TXT default._domainkey.mail "v=DKIM1; k=rsa; p=[some_long_string]"
OUTRO
关注了nice tutorial相关帖子here和here。还使用public tools检查了DNS设置 - 一切都很好。
更新
发送到yahoo
的同一封邮件已放入Inbox
文件夹...
答案 0 :(得分:0)
问题的答案是这一行:
TXT _dmarc "v=DMARC1; p=quarantine; rua=mailto:postmaster@example.com"
作为stated here,政策可以是
之一