At a glance
- Type: permanent failure (class 5, RFC 3463 §2). The sending server does not retry it and reports the failure to the sender: a bounce message, or an error in the mail app.
- Basic code: varies; the enhanced code is the part that identifies the problem.
- Enhanced code 5.3.5: “System incorrectly configured” in the IANA registry (RFC 3463), in the group mail system status (RFC 3463 §3.4).
The destination refused your message because its own configuration is wrong. There is usually nothing in your message to change.
What it means
RFC 3463 §3.4 defines X.3.5 as "system incorrectly configured": the system is not configured in a way that permits it to accept this message. RFC 3463 §2 assumes X.3 problems are under the general control of the destination system's administrator. The IANA registry gives no basic reply code for it.
The RFC gives no examples. The text after the code is the only clue to what is wrong.
As a 5 code it is permanent. Your server stops, and nothing changes on a resend until the receiving side fixes its setup.
Common causes
- The domain's MX records point to a server that is not set up to handle mail for that domain.
- A server that should pass the domain's mail on has a wrong or missing next host.
- A recent change on the receiving server left it partly configured.
- If the text mentions a loop between servers, the specific code is 554 5.4.6.
How to fix it
If you are the sender:
- Read the text after the code.
- Look up the domain's MX records with the MX lookup. If they are missing or broken, see 5.4.4.
- Tell the recipient through another channel, with the full bounce text, so they can pass it to their administrator.
- Send the message again after they confirm the fix. Your server will not send it again by itself.
If you run the receiving server:
- Check that the server accepts mail for every domain you mean to host on it. An MX record pointing at your server is not enough: the domain must also be set up on the server.
- Check the forwarding and relay settings for the domain.
- After a change, send a test from an outside account.
What to do with the address
Keep it, but hold sending until the domain's owner fixes their server. The address may be fine; the system behind it is not. If the domain keeps failing with 5.3.5 for weeks, treat the address as not working and remove it.
The address on your list is not what failed here. For the bounces your list does cause, clean the list before you send.