![阻止 IP 或垃圾邮件或其他问题](https://linux22.com/image/174884/%E9%98%BB%E6%AD%A2%20IP%20%E6%88%96%E5%9E%83%E5%9C%BE%E9%82%AE%E4%BB%B6%E6%88%96%E5%85%B6%E4%BB%96%E9%97%AE%E9%A2%98.png)
我设置了一个 SMTP 服务器(Postfix),然后我发送一封电子邮件到我的 gmail,我从 gmail 收到以下电子邮件:
This is the mail system at host mail.pahlevanzadeh.net.
I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.
For further assistance, please send mail to postmaster.
If you do so, please include this problem report. You can
delete your own text from the attached returned message.
The mail system
<[email protected]>: host gmail-smtp-in.l.google.com[142.250.31.27]
said: 550-5.7.26 This message does not have authentication information or
fails to 550-5.7.26 pass authentication checks. To best protect our users
from spam, the 550-5.7.26 message has been blocked. Please visit 550-5.7.26
https://support.google.com/mail/answer/81126#authentication for more 550
5.7.26 information. m13si7030284qvk.215 - gsmtp (in reply to end of DATA
command)
Reporting-MTA: dns; mail.pahlevanzadeh.net
X-Postfix-Queue-ID: 96B203C01C0
X-Postfix-Sender: rfc822; [email protected]
Arrival-Date: Sat, 6 Jun 2020 11:37:33 -0400 (AST)
Final-Recipient: rfc822; [email protected]
Original-Recipient: rfc822;[email protected]
Action: failed
Status: 5.7.26
Remote-MTA: dns; gmail-smtp-in.l.google.com
Diagnostic-Code: smtp; 550-5.7.26 This message does not have authentication
information or fails to 550-5.7.26 pass authentication checks. To best
protect our users from spam, the 550-5.7.26 message has been blocked.
Please visit 550-5.7.26
https://support.google.com/mail/answer/81126#authentication for more 550
5.7.26 information. m13si7030284qvk.215 - gsmtp
salamkdsdjfi.eml
Subject:
salamkdsdjfi
From:
Mohsen Pahlevanzadeh <[email protected]>
Date:
6/6/20, 8:06 PM
To:
Pahlevanzadeh <[email protected]>
dwjkdjkdjvkdlvnfklvnfklvf
我的问题出在哪里?
答案1
这是错误:
主持人gmail-smtp-in.l.google.com[142.250.31.27]说:550-5.7.26 这个 消息没有认证信息或者失败 550-5.7.26通过身份验证检查。
(强调我的)
没有更多需要添加的内容,Google 不会让您从他们的用户向他们的服务器发送消息,除非您首先验证您的 SMTP 会话。