Fix email errors / Sending errors
SMTP error 554 5.7.1: message rejected
554 means the transaction failed (RFC 5321) and 5.7.1 means not authorized (RFC 3463): a permanent rejection for a policy reason. The text after the code names the server that refused the message and why.
Common reasons
- Your server's address is on a blocklist: the text often names it (Spamhaus, Barracuda, SpamCop). Look the address up on that list and follow its removal steps, after fixing whatever sent the spam.
- Content filtering: a link to a flagged site, an attachment type the recipient blocks (
.exe,.js, some archives), or wording that looks like spam. - Recipient restrictions: the address only accepts mail from certain senders.
- Authentication: SPF, DKIM or DMARC failing for your domain.
Next steps
- Read the full bounce message: the line after the code and the name of the server that wrote it.
- Check your domain's records with the SPF checker and DMARC checker.
- Send a plain test message without links or attachments. If it goes through, the content was the cause.