If you are sending email to Gmail and getting back "550-5.7.26" or similar SMTP errors, it usually means your email is failing authentication. Here is how to diagnose and fix it.
The free InboxProof audit runs a 7-point check (MX, SPF, DKIM, DMARC, TLS, PTR, and IP reputation) and returns a 0-100 score with a plain-English fix list. No signup.
Run the free checkThis error code means Gmail has rejected your email because it failed one or more authentication checks. Common variants include:
All of these point to the same root cause: your domain is not properly authenticated.
SPF tells Gmail which IPs are allowed to send email on behalf of your domain. If your sending IP is not in your SPF record, Gmail will reject the email.
Run this command to check your SPF record:
dig +short TXT yourdomain.com
Make sure the SPF record includes your sending service. For example, if you use Google Workspace, your SPF record should include include:_spf.google.com.
DKIM signs your email with a private key, proving it was sent by you. If your DKIM signature is missing or invalid, Gmail will reject the email.
Run this command to check your DKIM record:
dig +short TXT google._domainkey.yourdomain.com
Make sure the DKIM record exists and matches the selector your email provider uses.
DMARC ties SPF and DKIM together and tells Gmail what to do with unauthenticated email. If your DMARC record is missing or misconfigured, Gmail will reject the email.
Run this command to check your DMARC record:
dig +short TXT _dmarc.yourdomain.com
Make sure the DMARC record exists and has a valid policy (p=none, p=quarantine, or p=reject).
If your sending IP is on a blocklist, Gmail will reject your email regardless of your SPF, DKIM, and DMARC configuration.
Run the free InboxProof audit to check your IP reputation against major blocklists.
After making the changes, run the free InboxProof audit to confirm all three protocols are configured correctly. The audit checks:
Run the free audit and see if your SPF, DKIM, and DMARC are configured correctly.
Run a free auditWant this checked automatically every day? Inboxproof Pro monitors your domain around the clock and alerts you the moment a record breaks or an IP gets listed. See pricing →
Related: SPF vs DKIM vs DMARC · SPF record not working? · How to set up a DMARC record · Why email lands in spam