raw content from exim4 log:
2019-09-18 03:22:48 1iAQYD-0000Ap-2K ** xxxxxx@gmail.com
R=dnslookup_relay_to_domains T=remote_smtp: SMTP error from remote mail
server after end of data: host gmail-smtp-in.l.google.com [74.125.203.27]:
550-5.7.1 [159.138.58.40] The IP address sending this message does not have
a\n550-5.7.1 PTR record setup. As a policy, Gmail does not accept messages
from\n550-5.7.1 IPs with missing PTR records. Please visit\n550-5.7.1
https://support.google.com/mail/answer/81126#authentication for more\n550
5.7.1 information. i24si3205050pgi.56 - gsmtp
Follow the gmail community thread here: https://support.google.com/mail/thread/14607605?hl=en
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
@TommyLike could you please let us know does this issue only occur on gmail system? and what kind of PTR do you suggest? thanks
/assign @TommyLike
this issue is assigned to: @TommyLike.
Hi, I am expert with SMTP protocol.
A PTR record is a kind of DNS record that reverse point an IP to a domain. You should ask IP addr provider
(ISP like 电信
) to add the PTR for you. For example:
DNS A record: mail.openeuler.org -> 1.1.1.1
DNS PTR record: 1.1.1.1 -> mail.openeuler.org. (when setup record, it's not 1.1.1.1 by the way).
With this PTR record, email receiver system(gmail) knows that the sender owns the IP. (by checking whether email sender(domain) and email send IP matches, otherwise someone may send fake emails).
This is a kind of spam email protection mechanism.
By the way, you should setup TXT record like "v=spf xxxxx" too,almost all email system will check this record.
@Qianbiao.NG thanks, from what I know, we already have configured as what you are saying. @freesky-edward have more detail to share, but we are very gladed that you can help us with our mail system, since there are still some features and issues left here, for example the Unicode issue。
yeah, we already support the PTR,spf,dmarc,dkim currently. please refer to [dns definition] (https://gitee.com/openeuler/infrastructure/blob/master/environment/huaweicloud/resources.tf#L124) for more detailed information.
@Qianbiao.NG thank you so much anyway.
@TommyLike is it time to close this isuss now?
ok, NP.
登录 后才可以发表评论