What Gmail is telling you
The bounce looks like: 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. Variants mention DMARC: "Unauthenticated email
from example.com is not accepted due to domain's DMARC policy". Gmail refused the message because it could not prove
that it really came from your domain.
Why it happens
- No SPF and no DKIM for the server that sent the message. Since 2024, Gmail rejects that for every sender.
- DMARC fails and the domain's policy is
quarantineorreject(see dmarc=fail). - For bulk senders (5,000+ messages a day to Gmail), a missing DMARC record, missing one-click unsubscribe or unaligned From domain.
- A form or app on your website sends "from" a visitor's address (for example a Gmail address) through your server: that can never pass.
How to fix it
- Check DMARC with the tool above, then SPF and DKIM for the domain in the From address.
- Add every service that sends as your domain to SPF, and turn on DKIM with your own domain in each one.
- Publish a DMARC record if you have none (start with
p=noneand reports): the DMARC generator builds it. - For website forms, send from your own address and put the visitor's address in Reply-To.
- Send a new test message to Gmail and open "Show original": SPF, DKIM and DMARC should all say PASS.