Problem description
Emails sent from Alibaba Mail are returned with the following error.
‘554 Reject by behaviour spamANTISPAM_BAT[012****ruler036, r4****24]: broken the antispam rules’
‘554 Reject by behaviour spamANTISPAM_BAT[012****R196a, c0****42]: spf check failed (in reply to MAIL FROM command) ’Cause
The error message indicates that the Sender Policy Framework (SPF) validation failed. The email bounced because it did not pass this validation. The validation failed because the DNS record for your domain name is incorrect. For more information about SPF records, see More information.
Solution
Check the DNS records for your domain name. Confirm that the following record exists.
Domain resolution operations
|
DNS Record Type
|
Priority
|
DNS Record Value
|
@
|
TXT
|
-
|
v=spf1 include the following:spf.mxhichina.com -all
|
If this record does not exist, or if its value is different from the one in the table, add or modify the record as shown. After the record is updated, send the email again to confirm that the issue is resolved.
More information
Q: What is SPF validation?
A: SPF stands for Sender Policy Framework. It is an email authentication method that uses IP addresses to verify a sender's identity. It is a highly effective anti-spam solution. A receiving mail server checks the domain's SPF record to determine if the sender's IP address is authorized. If the sender's IP address is listed in the SPF record, the email is considered legitimate. Otherwise, the email is considered a forgery and is returned.
Q: How do I set up SPF validation?
A: If you use Alibaba Mail, follow the steps in the Solution section to add the required SPF record to your domain's DNS settings.
References
Applies to
Alibaba Mail