exim4问题发送邮件给Gmail

我试图从我的服务器发送自动电子邮件到我的Gmail帐户,这样我可以得到重要的通知,如当我的networking服务器没有响应,或只是一些日常统计。

作为电子邮件发送程序,我在我的debian6服务器上使用exim4。 每当发送邮件时,我都会在/ var / log / exim4 / mainlog中获得以下错误日志:

2016-04-24 12:48:34 1auHac-0000Mr-G3 ** jakobabfalter@gmail.com R=dnslookup T=remote_smtp X=TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128 DN="C=US,ST=California,L=Mountain View,O=Google Inc,CN=mx.google.com": SMTP error from remote mail server after end of data: host gmail-smtp-in.l.google.com [2a00:1450:400c:c09::1b]: 550-5.7.1 [2a02:c200:1:10:2:6:6291:1] Our system has detected that this message\n550-5.7.1 does not meet IPv6 sending guidelines regarding PTR records and\n550-5.7.1 authentication. Please review\n550-5.7.1 https://support.google.com/mail/?p=ipv6_authentication_error for more\n550 5.7.1 information. sw5si18679304wjc.113 - gsmtp 

随着重要的部分beeing

  Our system has detected that this message\n550-5.7.1 does not meet IPv6 sending guidelines regarding PTR records and\n550-5.7.1 authentication. 

我回顾了这个指导方针,并试图根据需要设置一切,但有些东西似乎是不正确的。

我试过的:

首先,我在我的托pipe服务提供商的控制面板上为IPv6地址设置一个PTR条目:

在这里输入图像说明

由于这并没有改变任何我试图强迫exim使用Ipv4,而不是希望解决这个问题。

在我的update-exim4.conf.conf我将我的dc_smarthost地址添加到dc_smarthost条目,并将dc_local_interfaces设置为dc_local_interfaces='127.0.0.1'

这种configuration变化也没有帮助,因为我真的不知道我在做什么,我决定要问这个问题进一步的帮助。

当您尝试将消息发送给自己时,请在发送消息时将Eximconfiguration为使用gmail凭据进行身份validation。 这应该适用于未被转发的低卷。

将您的凭据添加到/etc/exim/passwd.client。 你应该保护这个文件,以便Exim可以读取它,但不是普通用户。 我不会推荐大量的电子邮件或电子邮件转发给其他用户。