DMARCbis Explained: What’s Changing + What Domain Owners Need to Know (Q&A with DMARCbis Co-Editor) View here

SMTP error 540: What it means and how to fix it


What SMTP error 540 means


Common causes of SMTP error 540


Provider-specific 540 error

Error messageMeaning
540 5.7.1 – recipient address rejected: InactiveThe account has been deactivated
540 5.7.1 – recipient address rejected: BlockedThe sender has been blocked

How to fix SMTP error 540


Email authentication for improved delivery

HostTypeValue
@TXTv=spf1 ip4:192.168.0.1 include:mail.example.com -all
HostTypeValue
selector._domainkey.yourdomain.comTXTv=DKIM1; k=rsa; p=[public key]
HostTypeValue
_dmarc.yourdomain.comTXTv=DMARC1; p=reject; rua=mailto:[email protected]; fo=1;

How Sendmarc helps

SMTP error 540 FAQs

Is SMTP error 540 a permanent error?

Yes – SMTP error 540 is a permanent (5xx) SMTP error, which means the receiving server rejected the message, and delivery will continue to fail until the underlying issue is resolved.

Does SMTP error 540 mean the email address doesn’t exist?

No – SMTP error 540 usually isn’t about a nonexistent address. SMTP error 540 typically means the address is valid, but the recipient server is refusing delivery due to mailbox status (inactive/deactivated or suspended) or because the sender is being blocked.

What should I ask the recipient to do to fix SMTP error 540?

To fix SMTP error 540, ask the recipient to confirm whether their mailbox is inactive/deactivated or suspended. If the bounce points to blocking, ask them to allowlist your domain/IP or share the specific reason you’re being blocked.