2015-10-16 180 views
1

我正在开发一个Web应用程序。
所有传出的电子邮件都被标记为垃圾邮件,或被接收者的电子邮件提供商完全拒绝。
这可以防止我们向注册用户发送欢迎电子邮件,激活码或其他任何内容。传出邮件标记为垃圾邮件:BAYES_99

我测试了用isnotspam.com发送的电子邮件,问题似乎是BAYES_99和BAYES_999指标。无论电子邮件内容如何,​​都会发生此情况

有人可以告诉我为什么会发生这种情况吗? 有没有办法让垃圾邮件过滤器未被标记为垃圾邮件的传出电子邮件?

这里isnotspam.com测试结果的结果(我修改了几个隐私参数)。

This message is an automatic response from isNOTspam's authentication verifier service. The service allows email senders to perform a simple check of various sender authentication mechanisms. It is provided free of charge, in the hope that it is useful to the email community. While it is not officially supported, we welcome any feedback you may have at . 

    Thank you for using isNOTspam. 

    The isNOTspam team 

    ========================================================== 
    Summary of Results 
    ========================================================== 

    SPF Check : pass 
    Sender-ID Check : pass 
    DomainKeys Check : neutral 
    DKIM Check : pass 
    SpamAssassin Check : ham (non-spam) 
    ========================================================== 
    Details: 
    ========================================================== 

    HELO hostname: my.hostname.com 
    Source IP: XX.YY.WW.ZZ 
    mail-from: [email protected] 
    Anonymous To: [email protected] 
    --------------------------------------------------------- 
    SPF check details: 
    ---------------------------------------------------------- 

    Result: pass 
    ID(s) verified: [email protected] 
    DNS record(s): 
    mydomain.com. 11379 IN  TXT  "v=spf1 +a +mx +ip4:XX.YY.WW.ZZ +ip4:AA.BB.CC.DD +include:_spf.google.com ~all" 


    ---------------------------------------------------------- 
    Sender-ID check details: 
    ---------------------------------------------------------- 

    Result: pass 

    ID(s) verified: [email protected] 
    DNS record(s): 
    mydomain.com. 11379 IN  TXT  "v=spf1 +a +mx +ip4:XX.YY.WW.ZZ +ip4:AA.BB.CC.DD +include:_spf.google.com ~all" 


    ---------------------------------------------------------- 
    DomainKeys check details: 
    ---------------------------------------------------------- 

    Result: neutral (message not signed) 
    ID(s) verified: header.From[email protected] 
    Selector= 
    domain= 
    DomainKeys DNS Record= 

    ---------------------------------------------------------- 
    DKIM check details: 
    ---------------------------------------------------------- 

    Result: pass 
    ID(s) verified: [email protected] 
    Selector=default 
    domain=mydomain.com 

    DomainKeys DNS Record=default._domainkey.mydomain.com 


    ---------------------------------------------------------- 
    SpamAssassin check details: 
    ---------------------------------------------------------- 
    SpamAssassin 3.4.1 (2015-04-28) 

    Result: ham (non-spam) (03.7points, 10.0 required) 

    pts rule name description 
    ---- ---------------------- ------------------------------- 


    * 3.5 BAYES_99 BODY: Bayes spam probability is 99 to 100% 
    * [score: 1.0000] 
    * 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. 
    * See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block 
    * for more information. 
    * [URIs: mydomain.com] 
    * -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 
    * -0.0 SPF_PASS SPF: sender matches SPF record 
    * 0.2 BAYES_999 BODY: Bayes spam probability is 99.9 to 100% 
    * [score: 1.0000] 
    * 0.1 HTML_MESSAGE BODY: HTML included in message 
    * -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's 
    * domain 
    * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 
    * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily 
    * valid 
    X-Spam-Status: Yes, hits=3.7 required=-20.0 tests=BAYES_99,BAYES_999, 
    DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HTML_MESSAGE,SPF_HELO_PASS,SPF_PASS, 
    URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.1 
    X-Spam-Score: 3.7 
+0

检查实际响应。有可能服务器报告为一个域,你的电子邮件是另一个域。例如:我的服务器的IP地址是1.2.3.4。我发了一封电子邮件,声称自己是“[email protected]”。接收器检查1.2.3.4,它出现在someserver.com,而不是here.com。这是对你的一击。然后,它检查here.com并发现IP为10.20.30.40,而不是1.2.3.4。这是对你的又一次打击。此时,它可能会被标记为垃圾邮件,而不会查看内容。 – kainaw

回答

2

我总是在恐慌中发布这个问题,我们公司在推出新产品时遇到了麻烦,客户不满意,我们是努力寻找问题所在。

最后,我们收到的邮件并不是因为垃圾邮件检测,而是因为我们的服务器配置错误。有条件导致电子邮件根本不被发送。

这个故事的要点是:如果您在发送电子邮件时遇到问题,请确认您发送的是有效的html(例如通过),并在考虑垃圾邮件之前检查您的服务器配置。

+1

问题发生了什么?尽管所有其他指标(DKIM等)都是正面的,并且mail-tester.com为我提供了10/10,但我仍在努力解决同一问题。 – user1111929

+0

问题是,对于我们的一些客户,我们还提供了电子邮件帐户([email protected]),这些电子邮件帐户被视为本地帐户,即使它们不是。这导致服务器尝试将电子邮件发送到本地主机而不是正确的IP地址。 – Alberto