554 5.7.1: Message rejected as spam
554 5.7.1 “Message rejected as spam,” or “Message rejected under suspicion of SPAM,” means the recipient’s mail server ran your email through its spam filter and refused it. The address exists, and your own account isn’t blocked: that server judged the email likely to be spam, so the person didn’t get it. Sending the same email to them again gets the same answer. Gmail says it in its own words: “This message is likely unsolicited mail.”
Any mail server
554 5.7.1 Message rejected under suspicion of SPAM
- 550 5.7.1 Message rejected as spam by Content Filtering
- 554 5.7.1 Spam message rejected
- 554 5.7.1 Message refused by attachment check
Why it happens in a mail merge
In the standard’s words, 5.7.1 means “Delivery not authorized, message refused”: the server’s filtering stopped the email, for good. Each server’s filter has rules of its own, and the large providers say what theirs weigh. Apple’s looks at the reputation of the sending IP address and domain, at the content and at what its users report. Yahoo refuses content such as viruses, phishing and links to them.
A mail merge sends many similar emails close together, and Google says sending to a large group at once can set off a recipient’s filter, as can links, attachments or text. People at the same company sit behind the same filter, so one verdict can come back for each of them. “Message refused by attachment check” points to a file: the same attachment in every email meets the same check.
How to fix it
- Read the words after the code
“Attachment check” is about a file. “Spam” and “Content Filtering” are about the email as a whole. If the reply has a web address in it, open it: Apple says most of iCloud Mail’s refusals carry one with more information.
- Check the links and the files
Google’s advice is to remove links or text that ask for personal information, and Yahoo won’t take viruses, phishing or links to them. A file the attachment check refused can be shared as a link instead.
- Authenticate your domain
Apple and Yahoo both check SPF and DKIM, and ask bulk senders for a DMARC policy too. For an address on your own domain, set them up where its DNS is managed: the page on Gmail’s unauthenticated sender error explains each record.
- Ask the person to allow you
For a 5.7.1 refusal, Microsoft says you typically can’t fix it yourself: contact the person another way, by phone or in person, and ask them to tell their email administrator, who may need to set their mailbox to accept your email.
What DearByDear does
DearByDear sends each person an email of their own, one after another from your own mailbox, and keeps each mailbox under its provider’s limits. You can preview each person’s email before it goes, with its links and files. That is how it sends, not a way past a filter: no app can promise what a recipient’s filter decides.
When a filter refuses an email anyway, DearByDear reads the bounce from your mailbox while it, or Claude Desktop with its extension, is running. A refusal with a 5.7 code, or with words such as spam or policy, counts against the email, not the person: they’re marked as not delivered, and their address stays on your list and off the Do-Not-Disturb list, unless the bounce says the address doesn’t exist. A report in no standard format waits for you to confirm it, and changes nothing until you do. If three of a merge’s emails are refused this way while it’s still sending, DearByDear pauses it, so you can change the email before the rest go. Once you’ve changed the email or fixed the domain, send them again from the send log.
Questions about 554 5.7.1
What does 554 5.7.1 “Message rejected as spam” mean?
That the recipient’s mail server judged your email likely to be spam and refused it. 554 makes the refusal permanent, and 5.7.1 says a filter or a policy stopped it, not a wrong address or a full mailbox.
How do I fix “Message rejected under suspicion of SPAM”?
Change what the filter saw, then send that person the email again: links that go where they say, nothing that asks for personal details, files the server accepts, and a domain with SPF and DKIM. If it keeps coming back, ask the person to have their administrator allow your address.
Why were only some of my emails rejected?
Each recipient’s server runs its own filter, with its own rules, so one merge can be taken at one company and refused at another. When several bounces come from the same domain, it’s that company’s filter.
What does 554 5.7.1 [HM08] “Message rejected due to local policy” mean?
It’s iCloud Mail refusing your email: the link in it goes to Apple’s page for the administrators of mail servers. Apple doesn’t explain codes such as HM08 or CS01 there, but says its filter weighs the reputation of the sending IP address and domain, the content and what its users report, and that it checks SPF and DKIM. Its postmaster address, icloudadmin@apple.com, is for those administrators. If you aren’t one, Apple says to contact Apple Support instead.
Sources
Each provider’s own pages, read on November 5, 2026. The error texts and the fixes are the providers’ own: if they change their wording, theirs is right.