This is the mail system at host webdev.localdomain.
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
<udsp@yooshu.cn>: host mxn.mxhichina.com[42.120.219.27] said: 554 Reject by
behaviour spam at Rcpt State(Connection IP
address:117.121.45.243)ANTISPAM_BAT[01201311R396a, e02c03299]: spf check
failedCONTINUE (in reply to RCPT TO command)
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。
The error message you've received indicates that an email you attempted to send was not delivered due to a failed SPF (Sender Policy Framework) check. This typically happens when the server sending the email is not authorized by the domain's SPF record to send emails on behalf of that domain.
Here's a breakdown of the key points in your error message:
Host and Recipient Information: The message originates from webdev.localdomain and was unable to reach one or more recipients. The issue occurred at the host mxn.mxhichina.com, specifically with the IP address 42.120.219.27.
Error Code 554: This is a standard SMTP (Simple Mail Transfer Protocol) error code indicating that the transaction failed. In this case, it's because the receiving mail server rejected the email based on spam policies.
Reason for Rejection: The specific reason given is "Reject by behaviour spam at Rcpt State". This means the rejection was triggered by anti-spam measures during the process of specifying the recipient (RCPT TO command).
SPF Check Failed: SPF is a DNS record that specifies which mail servers are allowed to send email on behalf of a domain. The error mentions "spf check failed", suggesting that the IP address 117.121.45.243—which seems to be the IP of the sending server—is not listed as an approved sender in the SPF record of the domain you're sending from.
How to Resolve:
Update SPF Record: If you manage the domain's DNS settings, you should update the SPF record to include the IP address 117.121.45.243 if it’s supposed to be an authorized mail server for your domain. The format would look something like v=spf1 ip4:117.121.45.243 mx ~all (assuming there are no other restrictions or servers to include). Be cautious not to exceed the DNS TXT record size limit.
Use Authorized Sending Service: If you're using a third-party email service or application to send emails, ensure it's correctly configured and its IP addresses are whitelisted in your SPF record.
Check Email Content: Sometimes, even with a correct SPF record, emails can be flagged as spam due to content. Review the email for any suspicious or overly promotional language.
Contact Support: If you're unsure about how to proceed or believe there might be a mistake, consider reaching out to the support team of your hosting provider or the domain registrar for assistance.
Remember, maintaining a valid SPF record is crucial for email deliverability and helps prevent your messages from being marked as spam.