# Gmail refuses mail because the sender is unauthenticated

UrbeStack sysadmin note about Rspamd. Last updated 30 Nov 2026.

Gmail bounces a domain's mail with `550 5.7.26` when the mail passes neither SPF nor DKIM. Copy the missing records to the domain's external DNS host to fix authentication for mail UrbeStack signs with Rspamd.

## Symptoms

Mail to a Gmail email address bounces with this reply documented by Google.

```output
550 5.7.26 This email has been blocked because the sender is unauthenticated.
```

For a domain with a DMARC policy, Google documents this reply.

```output
550 5.7.26 Unauthenticated email from example.com is not accepted due to domain's DMARC policy.
```

## Cause

Gmail requires every sender to pass SPF or DKIM.

UrbeStack signs each domain's mail with DKIM through Rspamd and writes the domain's SPF, DKIM and DMARC records in its DNS zone on this server.

When the domain's DNS is hosted elsewhere, public DNS lookups use that DNS host. The records are missing there until you copy them.

## Resolution

List the records in the DNS zone UrbeStack keeps for the domain.

```
urbestack-dns-zone-get --name example.com
```

Find these records in the output.

- The SPF record is a TXT record on the domain itself. Its value starts with `v=spf1`.
- The DMARC record at `_dmarc` has the value `v=DMARC1; p=none`.
- There is one DKIM TXT record at each `_domainkey` name, such as `s20261126a._domainkey`. Each value starts with `v=DKIM1`.

Add each record at the domain's DNS host with the same name, type and value.

Check that public DNS returns the TXT values you added.

```
dig +short TXT example.com
dig +short TXT s20261126a._domainkey.example.com
dig +short TXT _dmarc.example.com
```

Send a message to a Gmail email address again.

If the problem persists after you follow this note, you can [open a support ticket](https://support.urbestack.com/new?type=support). Including the output of the commands you ran helps support diagnose the problem.
