At a glance
- Type: permanent reply (class 5, RFC 3463 §2) to a command your mail app or client sent, such as its sign-in, not to a message. Nothing is queued and nothing bounces. The same command fails the same way until the cause is fixed.
- Basic code: varies. The IANA registry lists it with 535 and 554.
- Enhanced code 5.7.14: “Trust relationship required” in the IANA registry (RFC 5248), in the group security or policy status (RFC 3463 §3.8).
Your mail app did not upload the message. It asked its server to fetch a copy stored on another server, and its server is not set up to trust that one, so nothing was sent.
What it means
RFC 5248 §2.4 registers X.7.14 as "Trust relationship required": the submission server requires a configured trust relationship with a third-party server in order to access the message content.
The case comes from the BURL extension of RFC 4468. BURL lets a mail app send a message that sits on an IMAP server without first downloading it, for example to forward it. The app sends a BURL command with an IMAP URL in place of the message data, and the submission server fetches the message from that URL. If the fetch fails, the whole transaction fails.
RFC 4468 first gave this error the code X.7.8, which RFC 4954 also uses, for invalid sign-in credentials. RFC 5248 moved the trust error to X.7.14 and updated RFC 4468. A server built to the original RFC 4468 may still send 554 5.7.8 for this case. The IANA registry pairs X.7.14 with the basic replies 535 and 554.
How Gmail uses it
Gmail uses the same code for something else. It answers 534 5.7.14 to a mail app's sign-in when it wants the account signed in through a web browser first (Gmail SMTP errors and codes). That reply has nothing to do with BURL or trust between servers.
Common causes
- The app used a plain IMAP URL for a server that the submission server does not list as trusted. After sign-in, the submission server names trusted IMAP servers in its EHLO reply, as
imap://arguments afterBURL. - The IMAP server holding the message belongs to a different provider or domain than the submission server.
- The trust relationship was removed or changed on the submission server.
How to fix it
If you are the sender:
- If your app has a setting that sends or forwards messages without downloading them first, turn it off, so the app sends the full content.
- If the problem stays, pass the bounce to your mail admin.
If you run the submission server:
- Configure the trust relationship with the IMAP server, as RFC 4468 §3.3 describes, and advertise it after sign-in.
- Avoid super-user proxy credentials for it. RFC 4468 §8 strongly discourages them, because a break-in at the submission server would then expose every account on the IMAP server.
- Send 5.7.14, not 5.7.8, so apps do not mistake the error for a wrong password.
If the server could reach the IMAP server but the fetch itself failed, see 554 5.6.6.
What to do with the address
Nothing. This reply is about how your mail app hands its message to its own server, not about any recipient. The addresses you were sending to are not the problem. Send the message again with its full content.