簡體   English   中英

Gmail / Hotmail將電子郵件標記為垃圾郵件

[英]Gmail/Hotmail Flag email as spam

我有一個簡單的.NET應用程序,該應用程序使用SMTPClient發送電子郵件。

我正在從本地服務器上經過身份驗證的帳戶發送帶有SPF記錄的郵件,主機(gogrid)不確定他們還能采取什么措施來解決此問題。

來自我的簡單應用程序的任何電子郵件都被標記為垃圾郵件,但是使用該smtp服務器或通過squirrelmail等發送的任何其他電子郵件都可以通過。 因此,肯定有某些像squirrelmail這樣的應用正在執行的操作而我丟失了。

還有其他人遇到和/或解決了這個問題嗎?

使用Gmail中的顯示原始命令比較兩封電子郵件(squirellmail與SmtpClient)的MIME輸出,並在此處發布差異。

另外,檢查SmtpClient的SMTP設置。

嘗試使用PHP mail()函數發送標頭,該標頭將“發件人”地址指定為服務器上的有效電子郵件地址。 這就是說:在您的Web服務器上創建一個電子郵件帳戶以“發送”電子郵件,然后讓PHP腳本報告您從該帳戶發送來的消息。 我是通過我的郵件發送者執行此操作的,而垃圾郵件過濾沒有任何問題。

您應該考慮使用dkim對消息進行簽名。

參見http://www.dkim.org/

要么

http://en.wikipedia.org/wiki/DomainKeys_Identified_Mail

關於您的垃圾郵件與干凈的電子郵件內容,請查看“垃圾郵件”消息中的x-spam-status字段。 您可以通過檢查針對spamassassin描述標記的測試來嘗試找出問題所在:

http://spamassassin.apache.org/tests_3_2_x.html

垃圾郵件輸出:

Delivered-To: there.test.hey@gmail.com
Received: by 10.140.252.20 with SMTP id z20cs531261rvh;
        Thu, 13 Aug 2009 17:05:42 -0700 (PDT)
Received: by 10.115.117.7 with SMTP id u7mr1383293wam.152.1250208342113;
        Thu, 13 Aug 2009 17:05:42 -0700 (PDT)
Return-Path: 
Received: from n19.c05.mtsvc.net (n19.c05.mtsvc.net [70.32.68.19])
        by mx.google.com with ESMTP id 29si1711715pzk.0.2009.08.13.17.05.41;
        Thu, 13 Aug 2009 17:05:41 -0700 (PDT)
Received-SPF: neutral (google.com: 70.32.68.19 is neither permitted nor denied by best guess record for domain of admin@flatfinderadmin.com) client-ip=70.32.68.19;
Authentication-Results: mx.google.com; spf=neutral (google.com: 70.32.68.19 is neither permitted nor denied by best guess record for domain of admin@flatfinderadmin.com) smtp.mail=admin@flatfinderadmin.com
Received: from [96.49.122.252] (port=18788 helo=sk1)
    by n19.c05.mtsvc.net with esmtpa (Exim 4.63)
    (envelope-from )
    id 1MbkIe-00078B-BG
    for there.test.hey@gmail.com; Thu, 13 Aug 2009 17:05:40 -0700
MIME-Version: 1.0
From: admin@flatfinderadmin.com
To: there.test.hey@gmail.com
Date: 13 Aug 2009 17:05:42 -0700
Subject: Flat Finder Site Submitted Contact Form
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Message-Id: 
X-Authenticated-User: 75266 admin@flatfinderadmin.com
X-Spam-Status: "score=3.7 tests=ALL_TRUSTED, HTML_IMAGE_ONLY_16, HTML_MESSAGE,
    HTML_SHORT_LINK_IMG_2, MIME_HTML_ONLY, NO_REAL_NAME version=3.1.7
    cmae=v=1.0 c=1 a=Bu8eb_7rEXsA:10 a=wNIIKIUcX8P6fymBW3VY0A==:17
    a=SSmOFEACAAAA:8 a=btttyEYfAAAA:8 a=P_WOZhPR8xpSgznosTMA:9 a=L7jHSo-IajUz1O2H4c4A:7
    a=c8QRsX8pXm0wgMQia4dzJuyZCb0A:4 a=L0MSjj-u4uAA:10 a=MSl-tDqOz04A:10
    xcat=Undefined/Undefined"
X-Spam-Level: ***

=
=0D=0A=0D=0A=0D=0A =
   Site Contact=0D=0A=0D=0A=
=0D=0A    =0D=0A        =0D=0A    =0D=0A    =0D=0A    =
=0D=0A        =0D=0A            =0D=0A                A visitor=
 to the site has submitted the following info through the contact form:=
=0D=0A            =0D=0A        

=0D=0A =0D=0A =0D=0A =0D=0A User: John Doe=0D=0A Email: doyouunderstand@gmail.com
=0D=0A= Message: Testing=0D=0A =0D=0A = =0D=0A =0D=0A=0D=0A=0D=0A



良好的電子郵件輸出:

Delivered-To: there.test.hey@gmail.com
Received: by 10.140.252.20 with SMTP id z20cs531296rvh;
        Thu, 13 Aug 2009 17:07:24 -0700 (PDT)
Received: by 10.115.100.20 with SMTP id c20mr1379009wam.75.1250208443895;
        Thu, 13 Aug 2009 17:07:23 -0700 (PDT)
Return-Path: 
Received: from n17.c05.mtsvc.net (n17.c05.mtsvc.net [70.32.68.17])
        by mx.google.com with ESMTP id 13si1834503pzk.161.2009.08.13.17.07.23;
        Thu, 13 Aug 2009 17:07:23 -0700 (PDT)
Received-SPF: neutral (google.com: 70.32.68.17 is neither permitted nor denied by best guess record for domain of admin@flatfinderadmin.com) client-ip=70.32.68.17;
Authentication-Results: mx.google.com; spf=neutral (google.com: 70.32.68.17 is neither permitted nor denied by best guess record for domain of admin@flatfinderadmin.com) smtp.mail=admin@flatfinderadmin.com
Received: from localhost ([127.0.0.1]:60628 helo=s75266.gridserver.com)
    by n17.c05.mtsvc.net with esmtp (Exim 4.63)
    (envelope-from )
    id 1MbkKH-0006Xh-OF
    for there.test.hey@gmail.com; Thu, 13 Aug 2009 17:07:23 -0700
Received: from 96.49.122.252 (proxying for 96.49.122.252)
        (SquirrelMail authenticated user admin@flatfinderadmin.com)
        by s75266.gridserver.com with HTTP;
        Thu, 13 Aug 2009 17:07:21 -0700 (PDT)
Message-ID: 
Date: Thu, 13 Aug 2009 17:07:21 -0700 (PDT)
Subject: Flat Finder Site Submitted Contact Form
From: admin@flatfinderadmin.com
To: there.test.hey@gmail.com
User-Agent: SquirrelMail/1.4.9a
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
Importance: Normal
X-Spam-Status: "score=-0.9 tests=ALL_TRUSTED, NO_REAL_NAME version=3.1.7 cmae=v=1.0
    c=1 a=Bu8eb_7rEXsA:10 a=wNIIKIUcX8P6fymBW3VY0A==:17 a=oHM1V9sc3__v4s30wF0A:9
    a=AUDcTUBt7KQaFxkMUcF7gsiVO_sA:4 xcat=Undefined/Undefined"
X-Spam-Level: 

Testing

您可能會在MIME信息中丟失編碼,或者未設置回信電子郵件或將回信電子郵件設置為偽造。 如果不查看您正在/未填寫的參數,很難說。

Slaks的回答也是不錯的一步。

考慮到沒有標記來自服務器的其他電子郵件,因此不太可能出現黑名單或缺少參數。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM