首页 > 解决方案 > Postfix 不向 gmail 发送邮件(未授权)

问题描述

我在运行 Ubuntu Server 20.04.2 LTS 的服务器上设置了一个 postfix 邮件服务器。它可以正确发送邮件,但由于未经授权而发送到 gmail 的电子邮件被退回。我 4 天前在 spamhaus 上,并于 7 月 1 日被删除。现在肯定应该发送邮件吗?

这是邮件程序守护进程在弹回时告诉我的内容:

Final-Recipient: rfc822; recipient@gmail.com
Original-Recipient: rfc822;recipient@gmail.com
Action: failed
Status: 5.7.1
Remote-MTA: dns; gmail-smtp-in.l.google.com
Diagnostic-Code: smtp; 550-5.7.1 [90.222.63.77] The IP you're using to send
    mail is not authorized to 550-5.7.1 send email directly to our servers.
    Please use the SMTP relay at your 550-5.7.1 service provider instead. Learn
    more at 550 5.7.1  https://support.google.com/mail/?p=NotAuthorizedError
    z8si8433769wmp.218 - gsmtp

MailTester 结果:https ://www.mail-tester.com/test-ifc1fti4w

标签: emailgmailpostfix-mta

解决方案


推荐阅读