What is “relay denied”?

Still have a question, spotted an error, or have a better explanation or a source we should cite?

You hit send, and an hour later you get a bounce message that says "relay denied." That's the receiving mail server saying your sending server didn't have permission to deliver that message. It's a rejection, not a delivery failure. Here's why it happens.

Your server didn't authenticate properly. Every mail server checks: "Is this message actually from who it claims to be?" If your Sender Policy Framework (SPF) record doesn't include your sending IP, or your DKIM signature fails, the receiving server treats you as untrusted and blocks the relay.

Or your server isn't configured right. Maybe you're sending from an IP that wasn't authorized. Maybe the DKIM key is misconfigured or expired. Maybe your domain's SPF record is too restrictive and doesn't mention your mail provider. These are all relay denial triggers.

Here's what happens next. The message doesn't bounce temporarily. It's rejected outright. If you keep sending without fixing authentication, mailbox providers notice and your sender reputation drops. One relay denial might not hurt. Ten thousand? That's a problem.

Fix a relay denied error by checking three things: your SPF record (does it include all your sending IPs?), your DKIM setup (is the key valid?), and your sending server configuration (are you using the right authentication credentials?). Start with our free SPF Checker to validate your record. If the error persists, our SOS team can walk you through DKIM setup and server config troubleshooting.

Contributors

Who worked on this answer

Every name links to their profile. Every company links to their site. Real people, real accountability.

Ask an AI · tailored to your setup

Fix my relay denied error

The user might ask: 'Does relay denied mean my email bounced?' or 'How do I know if my SPF/DKIM is the problem?' Help them understand: relay denied is different from a soft bounce. It's an outright rejection because the server couldn't authenticate your message. Walk them through: (1) check SPF record with the free SPF Checker, (2) verify DKIM key is valid and not expired, (3) check sending server credentials in their ESP. Offer encouragement that authentication setup is fixable. Mention SOS team availability for complex multi-provider authentication setups.

Edit the yellow boxes, then send to the AI of your choice.