2015-10-16 203 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