How to Fix SMTP Error 554 5.7.9

T
Tilak Pujari, CEOUpdated: Aug 3, 2026
How to Fix SMTP Error 554 5.7.9

Key Takeaways

  • SMTP error 554 5.7.9 is usually a permanent policy or security rejection, not a temporary delay.
  • The text after the code matters more than the code alone, because providers use 5.7.9 for different policy checks.
  • Missing or misaligned SPF, DKIM, or DMARC is one of the most common causes.
  • Relay restrictions, connector mistakes, and sending from an unapproved IP can also trigger it.
  • The fastest path to a fix is to review the full SMTP transcript, then validate auth, routing, and provider specific rules.

Google's sender requirements for bulk senders set a spam complaint threshold of 0.3%, and policy rejections like SMTP error 554 5.7.9 often show up before teams realise something in their setup or sending pattern has drifted.

If you are seeing 554 5.7.9, treat it as a decision signal, not a generic bounce. In most environments, it means the receiving server rejected the message for a security, authentication, or policy reason, and the exact reason is usually spelled out in the rest of the SMTP response.

What SMTP error 554 5.7.9 usually means

SMTP status code 554 is a permanent failure. The 5.7.x family points to a security or policy issue rather than a mailbox full or DNS timeout. In practice, 554 5.7.9 often appears when the receiving server believes the message should not be accepted from your current sender, IP, relay, or authentication state.

The important detail is that 554 5.7.9 is not perfectly standardised across providers. Gmail, Outlook, Yahoo, and corporate gateways can all use it a little differently. One server may use it for unauthenticated mail, another for relay denial, and another for a policy block tied to reputation or domain alignment.

Common causes of SMTP error 554 5.7.9

Common triggerWhat you usually seeWhat to check first
SPF failure or broken SPF recordRejected as unauthorised sender or policy violationConfirm the sending IP is included, and keep SPF within the 10 DNS lookup limit
DKIM missing or invalidMessage signed incorrectly, or not signed at allVerify the selector, public key, and that the live message has a valid DKIM signature
DMARC alignment failureDomain policy rejection, especially at Gmail or YahooMake sure the visible From domain aligns with SPF or DKIM
Relay or connector misconfigurationServer says you are not allowed to relay through itReview Microsoft 365 connectors, Google Workspace relay settings, or smart host permissions
IP or domain reputation issueRejected for local policy reasonsCheck recent complaint spikes, blocklist mentions, and sudden volume changes
Header or identity mismatchMail looks spoofed or inconsistentCompare Return-Path, From, DKIM d= domain, and envelope sender

How to diagnose 554 5.7.9 without guessing

Read the full SMTP reply, not just the code

A bounce line that only shows 554 5.7.9 is not enough. You need the full server message from your ESP, MTA, or mail logs. Look for phrases like message rejected for policy reasons, sender not authenticated, relay access denied, or domain does not pass DMARC. Those strings tell you which system made the decision and why.

Validate SPF, DKIM, and DMARC in the exact path that sent the mail

Teams often confirm that DNS records exist, but not that the actual sending path is covered. If marketing mail goes through one ESP, lifecycle mail through another, and outbound sales mail through Microsoft 365 or Google Workspace, one stream can pass while another fails. For 554 5.7.9, that difference matters.

Check the live message headers and confirm three things. First, the sending IP is authorised in SPF. Second, the message has a valid DKIM signature. Third, the domain your recipient sees in the From header aligns with SPF or DKIM for DMARC.

Confirm which system is relaying the message

This error is common when a platform is sending through a relay that does not trust the source IP or authenticated user. A classic example is a product or CRM trying to send through a Microsoft 365 connector that only allows specific source addresses. Another is a server authenticating with one domain while using a different envelope sender that the relay is not configured to allow.

Compare behaviour by mailbox provider

If Gmail rejects but Outlook accepts, or Yahoo rejects while Gmail accepts, the issue may be provider specific policy rather than a universal SMTP failure. Gmail and Yahoo are especially sensitive to alignment and complaint signals. Outlook environments, especially corporate Microsoft 365 tenants, often surface more relay and connector related rejections.

How to fix SMTP error 554 5.7.9

1. Fix authentication before changing content

If SPF, DKIM, or DMARC is even slightly off, fix that first. A permanent policy rejection is rarely solved by rewriting copy or reducing image weight.

  • SPF: add the correct sending sources, remove stale includes, and stay under 10 DNS lookups.
  • DKIM: publish the right public key, use the correct selector, and make sure the mail is actually being signed in production.
  • DMARC: align the visible From domain with either SPF or DKIM, and verify the domain in your ESP or sending platform.

2. Fix relay permissions and connectors

If the SMTP response points to relay denial, review the exact sending host, source IP, auth user, and destination domain. In Microsoft 365, that often means checking inbound and outbound connectors, accepted domains, and any scoped transport rules. In Google Workspace, review SMTP relay service settings, allowed senders, and whether the source IP is trusted.

3. Use the correct From, Return-Path, and signing domains

Identity mismatch is a quiet cause of 554 5.7.9. For example, if the From domain is your brand domain, the Return-Path is an unconfigured subdomain, and DKIM signs with a third domain, the recipient server may decide the message looks spoofed. Bring those identities into a clean, intentional alignment.

4. Review sender reputation if auth is correct

When authentication passes but the message is still rejected for policy reasons, look at recent complaint rate, bounce rate, and volume changes. If a shared or new dedicated IP suddenly ramps, some receiving systems will hard reject rather than throttle. This is especially common after a migration, a new subdomain launch, or a cold start on Outlook heavy audiences.

5. Recheck suppression and list quality

A provider may use policy language when the underlying issue is poor audience quality. If a segment includes old, role based, or low engagement addresses, complaint and unknown user signals can rise quickly. That does not always produce 5.1.1 style mailbox errors first. Sometimes it shows up as a policy reject on later attempts.

How to prevent 554 5.7.9 from coming back

Prevention is mostly about consistency. Keep every sending stream mapped to an owner, a platform, a sending domain, and an authentication record set. Document which system signs DKIM, which IPs are in SPF, and which domain is used in the visible From header.

It also helps to monitor by stream, not just by domain. Transactional mail, sales mail, and marketing mail can each fail for different reasons. If you only look at aggregate bounce rate, you can miss a broken connector or expired DKIM selector until a key flow starts hard failing.

Finally, make mailbox provider differences part of your normal review process. Gmail, Yahoo, Outlook, and Apple related inbox ecosystems do not always reject for the same reason, even when the root setup issue is identical. Watching those differences early gives you a much faster path to the right fix.

Related reading: smtp ports and gmail smtp configuration.

Run your first deliverability test with Mailora

FAQs

Is SMTP error 554 5.7.9 a hard bounce?

Yes. The 554 class is a permanent failure, so the message was rejected and will usually need a configuration or policy fix before resend.

Does 554 5.7.9 always mean DMARC failed?

No. DMARC is a common cause, but providers also use 5.7.9 for relay denial, unauthorised sender issues, reputation blocks, and other policy checks.

Why does Gmail reject with 554 5.7.9 while Outlook accepts?

Because provider policies differ. Gmail may reject on alignment or reputation where Outlook still accepts, or the reverse may happen with Microsoft 365 relay rules.

Can content alone cause SMTP error 554 5.7.9?

Sometimes, but less often than teams assume. Most 5.7.9 cases trace back to authentication, identity mismatch, relay permissions, or sender reputation.

What is the fastest way to troubleshoot 554 5.7.9?

Get the full SMTP response, identify which server rejected the mail, then validate SPF, DKIM, DMARC, relay permissions, and the exact sending path that produced the bounce.

Stay in the loop

Deliverability insights, product updates, and early access to new features. No spam, unsubscribe anytime.

By subscribing, you agree to our Privacy Policy. Unsubscribe anytime.