标记为垃圾邮件的外发电子邮件:BAYES_99

时间:2015-10-16 15:19:06

标签: php email spam spamassassin

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

我用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: service@mydomain.com
    Anonymous To: ins-3mqqpdgw@isnotspam.com
    ---------------------------------------------------------
    SPF check details:
    ----------------------------------------------------------

    Result: pass
    ID(s) verified: smtp.mail=service@mydomain.com
    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: smtp.mail=service@mydomain.com
    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=service@mydomain.com
    Selector=
    domain=
    DomainKeys DNS Record=

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

    Result: pass
    ID(s) verified: header.From=service@mydomain.com
    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

2 个答案:

答案 0 :(得分:2)

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

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

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

答案 1 :(得分:1)

在spamassassin中查找垃圾邮件的统计方法我不是统计人员,但您可以通过spamassassin的文档官方找到您的回复 这个回应:How SpamAssassin defines BAYES_99 ? How to avoid it?

https://wiki.apache.org/spamassassin/Rules/BAYES_99

https://en.wikipedia.org/wiki/Naive_Bayes_spam_filtering