邮件从我的POSTFIX邮件服务器发送到Gmail垃圾邮件

我已经在我的VPS上设置了一个POSTFIX服务器,并通过邮件发送到Gmail中的垃圾邮件。 这是我的信息:

Delivered-To: sgenov@gmail.com Received: by 10.140.43.75 with SMTP id d69csp350632qga; Mon, 19 Jan 2015 15:29:29 -0800 (PST) X-Received: by 10.194.89.39 with SMTP id bl7mr6149887wjb.76.1421710169272; Mon, 19 Jan 2015 15:29:29 -0800 (PST) Return-Path: <[email protected]> Received: from mail.sgenov.com (mail.sgenov.com. [192.81.221.174]) by mx.google.com with ESMTP id j9si29338582wjy.109.2015.01.19.15.29.28 for <[email protected]>; Mon, 19 Jan 2015 15:29:29 -0800 (PST) Received-SPF: pass (google.com: domain of [email protected] designates 192.81.221.174 as permitted sender) client-ip=192.81.221.174; Authentication-Results: mx.google.com; spf=pass (google.com: domain of [email protected] designates 192.81.221.174 as permitted sender) [email protected]; dkim=pass [email protected] Received: by mail.sgenov.com (Postfix, from userid 33) id 665FB44097; Tue, 20 Jan 2015 01:29:28 +0200 (EET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=hotelfors-bg.com; s=default; t=1421710168; bh=ZOL1SsCcV0ncUnB8HJhFqzY/7ZocyZVCh5HCRSTXejY=; h=To:Subject:Date:From; b=TjCDSt9mOFyoXVGu4CI7xqPxR7iHMtzeL1Nykd+t0cZBlWEH15OQQVdkDR07G4xJH WvKPQAFBHPVynQNYbnsRnwf4A57elvUImo77MDLZGhNGrS70fYdIjEjKAWe8BLX61G 1GuaBLPfJYYUz6SdVjYsBPNm/io2wrWc63Sdvb1M= To: <[email protected]> Subject: Hello, Stanimir X-PHP-Originating-Script: 0:main.inc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 20 Jan 2015 01:29:28 +0200 From: [email protected] Message-ID: <[email protected]> X-Sender: [email protected] User-Agent: Roundcube Webmail/0.7.2 This is my new email. Please add it to contacts and reach me if you need anything. Best Regards 

正如你所看到的,我的邮件服务器设置如下:

  • 服务器有DKIM
  • 服务器有一个经过validation的签名证书
  • SPF(TXT)设置正确
  • 服务器的PTR(反向DNS)正确指向我的邮件服务器
  • 所有可能的检查工具为服务器提供最大的结果(它应该被所有人信任)

然而,Gmail将所有域的所有消息发送到垃圾邮件。 有谁知道可能是什么原因或者我应该采取什么措施? 我可以联系别人吗?

提前致谢。

不知道下面的解决scheme是你的select,但它适用于我,因为我有一个类似的问题。 我正在使用一个传输地图selectselect邮件@ gmail.com作为目的地址,并通过smtp.gmail.com中继他们使用我的G-Mail凭据进行身份validation。

这里是步骤:

将下面的条目添加到/ etc / postfix / transport

 gmail.com smtp:[smtp.gmail.com] 

在/ etc / postfix / sasl_passwd中添加一个条目

 [smtp.gmail.com]:587 [email protected]:<your_gmail_password_here> 

将以下条目添加到/etc/postfix/main.cf

 transport_maps = hash:/etc/postfix/transport smtp_sasl_auth_enable = yes smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd smtp_sasl_security_options = noanonymous smtp_tls_CAfile = /etc/postfix/ssl/cacert.pem smtp_use_tls = yes sudo chmod 400 /etc/postfix/sasl_passwd sudo postmap /etc/postfix/sasl_passwd sudo postmap /etc/postfix/transport