On this page
Short answer
550 5.7.0 is a permanent refusal for a security or policy reason the code doesn't name. The bounce shows who refused: in Microsoft 365 reports, the Remote server field. In one public case a Proofpoint gateway returned Local Policy Violation although SPF, DKIM and DMARC passed. Gmail uses 5.7.0 for relay, content and session errors. Read the refusing server's text and fix your side before sending again.
Read the text after 5.7.0
The code is generic. The text after it decides what to fix:
Text after 5.7.0 | Cause | First fix |
|---|---|---|
"Local Policy Violation" | The recipient's filter policy | Find the filter; check your setup |
"Local Policy Violation SPF Violation" | SPF fail at that filter | Fix SPF |
"Email rejected per SPF policy" | SPF fail | Fix SPF |
"Message Size Violation" | A size rule on a receiving server | Send a smaller email |
"[blocked file] … banned file attachment" | A banned attachment type | Remove the attachment |
Gmail 552: "content presents a potential security issue" | A blocked file type or content | Remove the attachment |
Gmail: "Email relay denied" or "Email sending denied" | Workspace SMTP relay settings | Check the relay settings |
Gmail 554: "Too many unauthenticated commands." | No login in the session | See 530 5.7.0 |
The Gmail texts are from Google's SMTP error list (updated November 10, 2026). Relay settings fix the error about a domain or IP address "which isn't registered in your Workspace account". The other is about the account: "The sending email account has been temporarily suspended due to abuse."
The [blocked file] text is from Rackspace (updated November 19, 2025). Broadcom ties 550 5.7.0 Message Size Violation to "a restriction or policy applied for size limitation" downstream. The two SPF texts, including 550 5.7.0 Email rejected per SPF policy, come from senders' posts on Microsoft Q&A (2022, 2019) that don't name the product behind the bounce.
Why the code says so little
The IANA registry (updated December 6, 2024) calls X.7.0 "Other or undefined security status": "Something related to security caused the message to be returned, and the problem cannot be well expressed with any of the other provided detail codes. This status code may also be used when the condition cannot be further described because of security policies in force." A filter can keep its rule to itself.
The 550 makes the refusal permanent, and RFC 5321 §4.2.3 lists "command rejected for policy reasons" among its cases.
UW–Madison explains its own Local Policy Violation: "your message received a high spam rating and was rejected by our security scanning" (KB 3998, updated January 29, 2025).
Find the server that said no
- Copy the full bounceKeep the diagnostic section under the summary
- Read the Remote serverMicrosoft: the name of the server that rejected it
- Look up their MXMX lookup names gateways such as Proofpoint or Mimecast
- Count the domainsOne domain means their policy; many means your setup
- Fix your sideSPF, DKIM, DMARC, files and size, then a fresh test
Microsoft's NDR reference (updated August 25, 2026) defines the Remote server as "the name of the mail server that rejected the message". On the SMTP response it says: "The mail server that rejected the original message returns this value." With no remote server listed, "the generating server is also the server that rejected the original email message."
A Microsoft Q&A thread from September 2024 shows the host mx0a-003d3601.pphosted.com and "Remote server returned '550 5.7.0 Local Policy Violation'". pphosted.com is Proofpoint's domain: Sublime Security's guide has admins leaving Proofpoint remove its pphosted.com MX records. Proofpoint's Essentials guide lists MX hosts on ppe-hosted.com.
In the original headers, Microsoft's check reads spf=pass, dkim=pass, dmarc=pass. X-MS-Has-Attach: yes marks an attachment. Correct records didn't get the email through, and the bounce doesn't say which rule fired.
MX lookup on the recipient's domain names the gateway when it knows one.
When we verified 141,508 B2B addresses on 80,425 company domains in September 2026, 8,041 were on domains with a security gateway (Proofpoint, Mimecast, Barracuda or Cisco) in front of the mailbox. The list is our own outreach lead pool, skewed to small tech and agency companies (full table). It counts recipients behind a gateway and says nothing about how often gateways answer 5.7.0.
If one domain refuses, that is its policy: stop sending to it. If many domains behind different gateways refuse, look at your own setup.
What to fix on your side
Check authentication. Run the sending domain through the SPF, DKIM and DMARC checker; see SPF PermError and SPF, DKIM and DMARC for cold email. The 2022 SPF Violation thread followed a move from Office 365 to Google Workspace: after such a move, check which services your SPF record lists. If all three pass, the policy is judging something else.
Drop attachments from cold emails. Rackspace and Gmail refuse some file types. Send the file after the prospect replies.
Keep the email small. Message Size Violation is a receiving server's size rule with no limit in the text.
Send a fresh test to your own mailbox at another provider and read its Authentication-Results in the email header analyzer.
Leave that domain alone until the fix is in.
Free guide20 min read
Send 100,000 cold emails a month
Domains and mailboxes you need, DNS, warmup, lists, copy and follow-ups, with a launch checklist, sent to your inbox.
5.7.0, 5.7.1 or 530 5.7.0
550 5.7.0 is a policy refusal with the reason left out.
550 5.7.1 is IANA X.7.1, "Delivery not authorized, message refused", with provider texts that name the reason: see 550 5.7.1.
530 5.7.0 means the server wanted a login or TLS, and nothing was sent: see 530 5.7.0.
Questions
Is 550 5.7.0 the same as 550 5.7.1?
Both are permanent policy refusals. 5.7.1 means "Delivery not authorized, message refused"; 5.7.0 leaves the reason unnamed. See 550 5.7.1.
Can I just resend the email?
Only after you fix what the bounce text or your test points to. A 5xx refusal is permanent, and an unchanged email meets the same policy again.
What does 554 5.7.0 mean?
From another company's server, 554 5.7.0 is a security or policy refusal: IANA puts every X.7 code in that class. Read it like a 550. Gmail's own 554 5.7.0, "Too many unauthenticated commands.", means your tool sent commands before logging in: see 530 5.7.0.
Why did SPF cause my mail to be rejected?
The recipient's filter checked your sending domain's SPF record, got fail or permerror, and its policy refuses such mail. Fix the record: SPF PermError.
What we recommend at Outreach2day
Outreach2day sets SPF, DKIM and DMARC automatically on every domain bought in the app or connected to it. Each mailbox shows inbox, spam and bounce rates during warmup, with sends split by recipient provider. We measure delivery and don't guarantee it. Only the recipient can switch off its gateway's policy. See cold email infrastructure.
Sources
- IANA: SMTP Enhanced Status Codes: iana.org/assignments/smtp-enhanced-status-codes/smtp-enhanced-status-codes.xhtml
- RFC 3463: Enhanced Mail System Status Codes: rfc-editor.org/rfc/rfc3463
- RFC 5321: Simple Mail Transfer Protocol: rfc-editor.org/rfc/rfc5321
- Microsoft Learn: Email nondelivery reports (NDRs) and SMTP errors in Exchange Online: learn.microsoft.com/en-us/troubleshoot/exchange/email-delivery/ndr/non-delivery-reports-in-exchange-online
- Google Workspace Admin Help: Gmail SMTP errors and codes: knowledge.workspace.google.com/admin/support/troubleshooting/gmail-smtp-errors-and-codes
- Microsoft Q&A: 550 5.7.0 Local Policy Violation: learn.microsoft.com/en-us/answers/questions/4669795/550-5-7-0-local-policy-violation
- Microsoft Q&A: 550 5.7.0 Local Policy Violation SPF Violation: learn.microsoft.com/en-us/answers/questions/4605555/550-5-7-0-local-policy-violation-spf-violation-err
- Microsoft Q&A: 550 5.7.0 Email rejected per SPF policy: learn.microsoft.com/en-us/answers/questions/5032029/550-5-7-0-email-rejected-per-spf-policy
- Rackspace: Common email bounce messages: docs.rackspace.com/docs/common-email-bounces
- Broadcom KB 159768: Message Size Violation error found in SMTP Prevent log: knowledge.broadcom.com/external/article/159768/message-size-violation-error-found-in-sm.html
- UW–Madison KB 3998: Understanding SMTP errors: kb.wisc.edu/ibio/3998
- Sublime Security: Proofpoint migration guide: docs.sublime.security/docs/proofpoint-migration-guide
- Proofpoint Essentials: Getting Started Guide (US2): proofpoint.com/sites/default/files/essentials-getting_started_guide_us2-cm.pdf
Related answers
- What Does a 550 5.7.1 Bounce Mean, and How Do I Fix It?Bounces and errors
- What Does 530 5.7.0 Mean, and How Do I Fix It?Bounces and errors
- What Causes SPF PermError, and How Do I Fix It?Bounces and errors
- Why Is Outlook Blocking or Junking My Cold Emails?Outlook and Microsoft
In depth on the blog
- How to Avoid Spam Filters: What They Check10 min read
- SPF, DKIM and DMARC Test: How to Check by Hand15 min read

