SMTP error · Any server
554 5.7.1: Message rejected for policy reasons or as spam
554 5.7.1 Service unavailable; Client host [203.0.113.10] blocked using zen.spamhaus.org
IP addresses, domains and links in the line differ per message, and a long reply may be split over several lines.
What it means
The receiving server refused the message because of one of its own rules. The enhanced code 5.7.1 is defined as "delivery not authorised, message refused". It says a policy stopped the message, and the text after the code says which one.
The line above is the most common form: the server looked up your IP address on a DNS blocklist and found it listed. Other servers use 554 5.7.1 for "Message rejected as spam", for a banned attachment type, or for a sender their administrator has blocked. Always read the whole line.
Usual causes
- Your sending IP address is on a public blocklist such as Spamhaus or Barracuda.
- The receiving server's spam filter scored the content as spam.
- Your message failed SPF, DKIM or DMARC and the receiver rejects such mail.
- The sending IP address has no reverse DNS, or it is a home or dynamic address. Many servers refuse those outright.
- The message has an attachment type the receiver does not allow.
- The recipient's administrator blocked your address or domain.
- The text says "Relay access denied". That is a different problem with its own fix.
How to fix it
-
Read the text after the code
It normally names the reason: a blocklist, a filter, a rule. If it has a URL or a reference number, follow it. That is the receiver telling you how to resolve the block.
-
Look up your IP address
If a blocklist is named, go to that list's website and look up the IP address from the bounce. It shows why you were listed and how to ask for removal.
-
Fix the cause before you ask for removal
Find the spam source: a hacked account, a vulnerable form, an infected machine on your network. Lists remove you faster, and keep you off, when the problem is really gone.
-
Check authentication and reverse DNS
Make sure SPF, DKIM and DMARC pass. The sending IP needs a PTR record, and that hostname must resolve back to the same IP address.
-
Do not send from a home connection
If your server sits on a consumer broadband line, send through a mail provider's SMTP service. Consumer IP ranges are listed on policy blocklists on purpose.
-
Ask the recipient
If nothing above explains it, the block is local. Contact the recipient another way and ask their mail administrator to check why your message was refused, quoting the full error.
Free tools that help
Related errors
- 550 5.7.1: Message is likely unsolicited mail (Gmail) permanent
- 550 5.7.1: Part of their network is on our block list (S3140 / S3150) permanent
- 554 5.7.9: Message not accepted for policy reasons (Yahoo) permanent
- 550 5.7.1 / 554 5.7.1: Relay access denied permanent
Rather not do DNS by hand?
Buzzmark is EU-hosted transactional email that generates your SPF, DKIM, DMARC and Return-Path records, checks them for you and warns you if they ever drift.
Free up to 300 emails a month · No credit card