2012-11-24 139 views
2

我有一個redmine實例使用GMail帳戶發送電子郵件,我意識到電子郵件被Gmail識別爲垃圾郵件。使用後綴爲繼電器,我可以通過控制檯發送電子郵件(使用「郵件」命令),但管理平臺仍然被標記爲垃圾郵件,後綴錯誤發送郵件到垃圾郵件

這裏是我的郵件細節

Delivered-To: [email protected] 
Received: by 10.114.29.166 with SMTP id l6csp194412ldh; 
     Fri, 23 Nov 2012 03:10:39 -0800 (PST) 
Received: by 10.58.162.130 with SMTP id ya2mr5620087veb.2.1353669038834; 
     Fri, 23 Nov 2012 03:10:38 -0800 (PST) 
Return-Path: <[email protected]> 
Received: from domU-12-31-39-03-7D-77.compute-1.internal (ec2-xxx-xx-xxx-xx.compute-1.amazonaws.com. [xxx.xx.xxx.xx]) 
     by mx.google.com with ESMTP id y12si5657502vco.81.2012.11.23.03.10.38; 
     Fri, 23 Nov 2012 03:10:38 -0800 (PST) 
Received-SPF: neutral (google.com: xxx.xx.xxx.xx is neither permitted nor denied by best guess record for domain of [email protected]) client-ip=xxx.xx.xxx.xx; 
Authentication-Results: mx.google.com; spf=neutral (google.com: xxx.xx.xxx.xx is neither permitted nor denied by best guess record for domain of [email protected]) [email protected] 
Received: by domU-12-31-39-03-7D-77.compute-1.internal (Postfix, from userid 0) 
    id 3FDD638407; Fri, 23 Nov 2012 11:10:38 +0000 (UTC) 
+0

這是所有的郵件標題嗎?你沒有「To」,「From」等。 – Brad

+0

這些顯然只是運輸標題。 – arkascha

回答

2

有什麼錯你的後綴。您需要爲郵件服務器IP設置SPFDKIMreverse PTR記錄。你可以谷歌「如何設置SPF和DKIM」。

我跟着Jeff Atwood的this article瞭解所有爲什麼需要它,我怎麼設置。

+0

亞馬遜SES似乎提供這個。 – bobobobo