Deliverability

550-5.7.26 Gmail Requires SPF or DKIM: MailChannels Fix

The error 550-5.7.26 means Gmail found neither a passing SPF result nor a valid DKIM signature on your message. For mail relayed through MailChannels, sign with DKIM for your own From domain where the mail originates, authorize the relay in SPF, and check alignment in the headers.

Sohail HussainSohail Hussain9 min read

Short answer

  • The message reached Gmail with no passing SPF and no valid DKIM signature. Gmail requires at least one of them for every sender.
  • Add a DKIM signature for your own From domain at the system that sends the mail, and include the relay in your SPF record.
  • Read the Authentication-Results header on a test message first, so you know which of the two is failing.

You sent mail through relay.mailchannels.net (from a POS system, an SMTP proxy, a contact form or a hosted site) and Gmail bounced it:

550-5.7.26 This mail has been blocked because the sender is unauthenticated. 550-5.7.26 Gmail requires all senders to authenticate with either SPF or DKIM.

Google's own error list gives the same text and the same meaning: the sender is unauthenticated and Gmail wants SPF or DKIM. The relay did its job. Your domain's DNS or the sending system is what failed the check.

Why it happens

Gmail's rule is simple. All senders need SPF or DKIM; bulk senders need SPF, DKIM and DMARC. Messages that aren't authenticated might be marked as spam or rejected with a 5.7.26 error. Mail that slipped through unauthenticated in the past now bounces.

With a relay, the usual causes are these, most common first:

  1. Nothing signs the message. Devices and apps that speak plain SMTP to the relay do not add a DKIM signature, so you get dkim=none.
  2. SPF does not cover the relay. The relay sends from its own IP addresses. If your domain is the envelope sender and your SPF record does not list the relay, SPF fails.
  3. SPF passes for the wrong domain. The relay or host uses its own bounce domain as the envelope sender. SPF passes, but not for your From domain, so it does not align. A dmarcian community thread from March 2023 describes this for a WP Engine contact form relayed through MailChannels.
  4. Forwarding or modification. A forwarder breaks SPF, and a footer or subject change breaks DKIM.

Google lists other 5.7.26 variants too. One is an SPF hard fail: the MAIL FROM domain publishes -all but the sending IP fails the check. Another is unauthenticated mail blocked by the domain's DMARC policy. The tail of your bounce text tells you which one you have.

Read the headers before changing DNS

Get one failed message, or a test copy that reached any mailbox. In Gmail, open it and choose Show original. Or paste the headers into our email header analyzer; understanding email headers explains the format.

Authentication-Results: mx.google.com;
       dkim=none;
       spf=fail smtp.mailfrom=bounce.example.net;
       dmarc=fail header.from=example.com
What you seeMeaningGo to
dkim=noneNothing signed the messageFix 1
spf=fail or softfailYour SPF does not authorize the sending IPFix 2
spf=pass, but smtp.mailfrom is another domainSPF passes but does not align with FromFix 3
dkim=failSignature broke or the key is wrongFix 1, then forwarding section

If the message bounced outright and you have no headers, check the sending system's logs, or send a test to a Gmail address you control.

Step-by-step fixes

Fix 1: sign with DKIM for your own domain

I'd do this first. A DKIM signature travels inside the message, so it survives relays. Google says DKIM is especially important for forwarded messages. Google also advises requiring every third-party sending service to use DKIM for your domain, with a unique key per service.

  1. Find where the message originates: the mail server, WordPress SMTP plugin, application framework or device.
  2. Look for a DKIM setting there. Enable it with a selector and private key for your domain.
  3. If your host or relay account offers domain-level DKIM signing, turn it on in their dashboard. Follow MailChannels' current documentation, since I can't confirm the exact steps for your account type.
  4. If the device cannot sign, send through a mail server or provider that can, instead of straight to the relay.
  5. Publish the public key as a TXT record at the selector. The key below is a placeholder.
selector1._domainkey.example.com.  TXT  "v=DKIM1; k=rsa; p=MIIBIjANBgkqh...IDAQAB"

Sending to personal Gmail accounts requires a DKIM key of 1024 bits or longer, and Google recommends 2048 bits where your provider supports it. Our DKIM generator builds the key pair and record, and what DKIM is covers selectors.

Match the d= domain

The d= value in the signature should be your From domain or a subdomain of it. A valid signature from the relay's own domain passes DKIM but does nothing for DMARC alignment.

Fix 2: authorize the relay in SPF

Google says your SPF record should include all email senders for your domain. Take the exact include value from MailChannels' documentation, not a forum post. The record usually looks like this; the Google include is only an example of a second sender:

example.com.  TXT  "v=spf1 include:_spf.mailchannels.net include:_spf.google.com ~all"
  • Keep exactly one SPF record. Merge includes into it; two v=spf1 records cause a permanent error.
  • SPF allows 10 DNS lookups, counting nested includes. Check yours with the SPF lookup count calculator and build the record with the SPF generator.
  • SPF is checked against the envelope sender (Return-Path), not the visible From address. The include only helps if the relay uses your domain there.

If your record ends in -all and the relay is missing, you get the hard-fail variant of 5.7.26. Add the relay before tightening anything else.

Fix 3: check alignment

DMARC needs one aligned pass, either SPF or DKIM. DMARC relies solely on the MAIL FROM identity for SPF. A relay that uses its own bounce domain gives you an SPF pass that cannot align. You usually cannot change that envelope domain, so DKIM alignment is the practical route: sign with d=example.com.

Under relaxed alignment, domains match if they share the same organizational domain. So mail.example.com aligns with example.com.

Publish a monitoring-only DMARC record while you confirm legitimate mail aligns:

DNS TXT Record
Type:TXT
Host:_dmarc
Value:v=DMARC1; p=none; rua=mailto:dmarc@example.com

Google says a DMARC enforcement policy of none is acceptable. Tighten it only after reports are clean. The DMARC generator builds the record.

Forwarded mail and mailing lists

Forwarded messages often fail SPF authentication. A valid DKIM signature is what rescues them. Modifying the Subject, the MIME boundaries, or the body can break DKIM on a forwarded message. No DNS change fixes that. The forwarder has to stop altering the message, or you send straight to the final mailbox.

Cause, symptom and fix at a glance

CauseSymptom in headersFix
Unsigned relay maildkim=noneSign at the origin (Fix 1)
Relay missing from SPFspf=fail or softfailAdd the include (Fix 2)
Relay bounce domainspf=pass, dmarc=failDKIM with your d= domain (Fix 3)
Content changed after signingdkim=failStop the modification
Two SPF recordsspf=permerrorMerge into one record

Old failures stay failed

DNS changes take effect after your record's TTL expires, which is often an hour and sometimes up to 24 hours. Gmail does not re-check a message that already bounced, so send a new test after the wait.

Checklist before you try again

  • One SPF record exists, and it includes the relay.
  • A DKIM public key is published at the selector the sender uses.
  • The signature's d= domain matches your From domain or a subdomain.
  • A new test message shows dkim=pass or an aligned spf=pass in Show original.
  • A DMARC record exists with reporting, at p=none while you verify.
  • Every other service or device that sends as your domain is covered too.

If nothing works

If the headers show authentication passing and Gmail still rejects, you have a different problem such as reputation, spam rate or content, and the bounce code will usually differ. Google's Gmail SMTP errors list explains each code, and the email sender guidelines list the full requirements.

For questions about how your account's mail is signed or which envelope domain the relay uses, contact MailChannels support or your web host. Send the full bounce text, full headers from a test message, the timestamp with time zone, the sending IP and the steps you have tried.

Subject: Gmail 550-5.7.26 on mail relayed via relay.mailchannels.net

Hello,

Mail from {your-domain} sent through relay.mailchannels.net is rejected by Gmail:
"550-5.7.26 This mail has been blocked because the sender is unauthenticated.
Gmail requires all senders to authenticate with either SPF or DKIM."

Timestamp (with time zone): {time}
Sending IP: {ip}
Headers of a test message are attached. They show dkim=none / spf={result}.

I have published SPF including the relay and a DKIM key for {your-domain}.
Please tell me how to sign outgoing mail with DKIM for my own domain, and
which envelope-sender domain is used for my account.

Thank you.

Where Mailneo fits

Mailneo does not fix this relay problem; the signing and SPF work happen in your sending system and your DNS. What we offer is diagnosis. The free email header analyzer and the SPF, DKIM and DMARC generators need no login. If you also send from Mailneo through your own connected accounts, it checks the sending domain's SPF, DKIM and DMARC records, but it cannot edit your DNS. You make those changes at your registrar or DNS host.

Common questions

Do I need both SPF and DKIM to get past this error?

No. Gmail's requirement for all senders is SPF or DKIM. I'd still set up both, because SPF alone is fragile with relays and forwarding.

Why does SPF pass but DMARC still fail?

SPF passed for a domain that is not your From domain, usually the relay's bounce domain. DMARC needs an aligned pass, so sign with DKIM using your own domain.

Is this only a problem for bulk senders?

No. This error is the all-sender rule. Bulk senders face extra requirements, such as DMARC, on top of it. Google defines bulk senders as those sending more than 5,000 messages a day.

Can I fix it by changing the From address?

Not reliably. You need authentication that aligns with whatever From domain you use. Switching to a domain you control and have signed for helps; switching to an unrelated domain does not.

deliverabilitymailchannelsgmailerror-codes
Share this article
Sohail Hussain

Sohail Hussain

Founder & CEO at Mailneo

Building Mailneo — AI-powered email marketing for growing businesses.

Related Articles

Deliverability

421-4.7.0 Gmail Has Detected This Message Is Suspicious: Fix

The 421-4.7.0 "suspicious due to the nature of the content and/or the links" error means Gmail's content filter rejected your message after DATA, not an authentication check. Remove click tracking or move it to your own domain, drop URL shorteners, check link reputation, then retest with a plain message.

Sohail Hussain|10 min read
Deliverability

421 4.7.0 Temporary System Problem. Try again later (10)

`421 4.7.0 Temporary System Problem. Try again later (10).` is a temporary Gmail deferral, not a permanent rejection. Google's server asked your sender to retry later. Slow your send rate, let your mail server retry, and check authentication and reputation if the deferrals last more than a day or two.

Sohail Hussain|9 min read
Deliverability

421-4.7.0 Try again later, closing connection (EHLO): fix

The error "421-4.7.0 Try again later, closing connection. (EHLO)" means Google's SMTP server is temporarily refusing your session, usually because of connection volume, a low-reputation IP, or a weak relay setup. Slow down, reuse one connection, queue with retries, authenticate, and send a real EHLO hostname.

Sohail Hussain|11 min read
Deliverability

421 4.7.28 Gmail Unusual Rate of Unsolicited Mail: Fixes

The 421 4.7.28 error is a temporary Gmail deferral, not a block. Gmail is rate limiting a domain, DKIM domain or IP range it sees sending too much unwanted mail. Retries usually deliver, but you should fix authentication, unsubscribe headers, sending pace and shared infrastructure to stop it recurring.

Sohail Hussain|9 min read

Ready to supercharge your email marketing?

Start sending smarter emails with AI-powered campaigns. No credit card required.

Get Started Free