554 5.7.1 <user@example.com>: Relay access denied
Postfix refused to relay to that recipient
Seen in Postfix, mail clients sending through Postfix
Postfix will not deliver to that recipient domain because it is not a local domain and the client isn't trusted or authenticated to relay.
Common causes
- The mail client did not authenticate (SMTP AUTH) before sending to an outside address.
- The client's IP is not in mynetworks.
- On an inbound server: the recipient domain is missing from mydestination, virtual_mailbox_domains or relay_domains, or MX points at the wrong server.
How to fix it
- Enable SMTP authentication in the mail client and send on port 587.
- On the server, check smtpd_relay_restrictions includes permit_sasl_authenticated and permit_mynetworks before reject_unauth_destination.
- For inbound mail, add the domain to the right Postfix domain list and check the MX record.
Got a different message? Paste it into the error explainer.
Related errors
- 550 5.1.1 User unknown · The recipient address doesn't exist
- 550 5.1.10 RESOLVER.ADR.RecipientNotFound · Microsoft 365 could not find the recipient
- 550 5.4.4 SMTPSEND.DNS.NonExistentDomain; nonexistent domain · The recipient's domain does not exist in DNS
- 450 4.1.8 <user@example.com>: Sender address rejected: Domain not found · The sender's domain does not resolve in DNS
- 550 5.7.26 Unauthenticated email is not accepted · Gmail rejected mail that failed DMARC
- 550 5.7.25 The IP address sending this message does not have a PTR record · The sending IP has no reverse DNS
- 550 5.7.1 Relaying denied / Message rejected · The receiving server refused the message on policy grounds
- 554 5.7.1 Service unavailable; Client host blocked using a blocklist · The sending IP is on a blocklist
- 421 4.7.0 Try again later · Temporarily deferred by the receiving server
- 550 5.7.515 Access denied, sending domain does not meet the required authentication level · Outlook.com rejected unauthenticated bulk mail
- 550 5.7.23 SPF validation failed · The message failed the SPF check
- 550 5.4.1 Recipient address rejected: Access denied · Microsoft 365 rejected an unknown recipient at the edge