所以我设置了一个带设备的rails应用程序,用于发送帐户确认和密码重置电子邮件。使用postfix for smtp使用sendmail命令发送电子邮件。我有DKIM设置,gmail接受签名有效。我也正确设置了SPF。
Gmail正在向我发送此邮件,说明我的电子邮件收到垃圾邮件的原因:
为什么垃圾邮件中有此消息?它包含通常使用的内容 在垃圾邮件中。
就像那样描述,我不知道垃圾邮件中通常使用哪种内容。我已经尝试调整文本,更改为html,然后更改为text + html,更改from地址,将用户的全名添加到地址以及电子邮件地址。我很难过。也许另外一双眼球可以指出一些我忽略的愚蠢。
该消息的全文随后是个人身份信息的编辑。
Delivered-To: myaddress@gmail.com
Received: by 10.216.199.130 with SMTP id x2csp42610wen;
Sun, 16 Jun 2013 13:16:13 -0700 (PDT)
X-Received: by 10.224.174.6 with SMTP id r6mr13525400qaz.87.1371413772413;
Sun, 16 Jun 2013 13:16:12 -0700 (PDT)
Return-Path: <account-services@booyango.com>
Received: from booyango.com (node1.booyango.com. [97.107.138.232])
by mx.google.com with ESMTP id k6si3223197qcj.4.2013.06.16.13.16.11
for <myaddress@gmail.com>;
Sun, 16 Jun 2013 13:16:12 -0700 (PDT)
Received-SPF: pass (google.com: domain of account-services@booyango.com designates 97.107.138.232 as permitted sender) client-ip=97.107.138.232;
Authentication-Results: mx.google.com;
spf=pass (google.com: domain of account-services@booyango.com designates 97.107.138.232 as permitted sender) smtp.mail=account-services@booyango.com;
dkim=pass header.i=@booyango.com
Received: by booyango.com (Postfix, from userid 33)
id 7CEC133DF5; Sun, 16 Jun 2013 20:16:11 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=booyango.com;
s=default; t=1371413771;
bh=iXfBZB6q0fPI+Yms0E8FC1P/T9J+3enBFtTrsjcTADY=;
h=Date:From:Reply-To:To:Subject;
b=AGw4SXj6UN0lpEo0FSO91s3aAYDsmAHZVqBvvYGQPW6Jp1UhfAQFlIE1AYY0CcoUq
Xb3Mn4vul1WXpdWIZMPEgHXJ3SwvEvSxDfDEeYTNiGRoI+DW7vFopTo+1rQeLLdS/B
j6iIKFsJUAOz0n1yh9/gasXJeOv4fmK6+ZoMhLfQ=
Date: Sun, 16 Jun 2013 20:16:11 +0000
From: Booyango Account Services <account-services@booyango.com>
Reply-To: Booyango Account Services <account-services@booyango.com>
To: me <myaddress@gmail.com>
Message-ID: <51be1d0b55c16_44f38e887057054@node1.booyango.com.mail>
Subject: [Booyango] Reset password instructions
Mime-Version: 1.0
Content-Type: text/plain;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Oops, it looks like you lost your Booyango password.
You can use the following link within the next 24 hours to reset your password:
http://booyango.com/users/password/edit?reset_password_token=<reset_token>
Thanks,
The Booyango Team
答案 0 :(得分:1)
我过去遇到过这个问题,并且发现解决方案很大程度上受到了影响。如果由于之前的垃圾邮件发送者链接到您的服务器/ IP地址,发送邮件的服务器恰好位于黑名单上,那么您可能运气不佳。否则,我通过使用不同的标题变量获得了有限的成功;同样,纯文本电子邮件的交付成功率往往高于HTML - 根据我的经验(尽管我知道你已经这样做了)。
同时尝试重新描述您的主题行或正文,您可能会被垃圾邮件规则捕获,因为它会查找您偶然发现的模式。
答案 1 :(得分:0)
如果
,我发现我的设计或电子邮件已发送到gmail span1)他们包括一个链接(例如确认令牌)
2)主题是空白