Skip to content

SMTP error 5.7.9 Authentication mechanism is too weak

What SMTP error 5.7.9 means

The credentials may be entirely correct; the method used to present them is not good enough for this account. The reply is 534 5.7.9. The version most people actually meet is Google Workspace using it to say an application-specific password is required, which is really a statement about two-step verification on the account rather than about the mechanism itself. On other servers it means the client selected something like CRAM-MD5 or a plain login where policy demands better, and the correct response is for the client to try again with a stronger method.

What SMTP error 5.7.9 Authentication mechanism is too weak actually means

A server can hold different users to different standards. An administrator, a finance account or anything with elevated rights may be barred from methods that ordinary accounts can still use, and this reply is the server saying so. In theory a client receiving it retries with a better mechanism from the list it was offered. In practice hardly any client does; scanners, scripts and older applications simply record the failure and stop, which is why this looks to the user like a hard authentication failure rather than a negotiation. It is reported permanently, with only a 5 registered in the leading position, even though the remedy is often a single setting in the client and takes a minute.

This response to the AUTH command indicates that the selected authentication mechanism is weaker than server policy permits for that user. The client SHOULD retry with a new authentication mechanism.

RFC 4954

How 5.7.9 appears in a bounce

A server reporting this condition sends it alongside a three-digit reply code, and a bounce prints the two together. The registry lists 534 5.7.9 as the pairing for this status.

The leading 5 is the server's verdict rather than part of the code's identity: it marks this as a permanent failure, which means the sending server has given up and returned the message.

What causes SMTP error 5.7.9 on a business phone system

How to fix SMTP error 5.7.9

  1. Read the text following the code firstThis is one of the few codes where providers write genuinely useful wording. Google names the required action explicitly. Whatever the server says here is worth more than any general advice, including this page.
  2. Move the client onto modern authenticationOutlook, Thunderbird, Apple Mail and every current mobile client support OAuth-based sign-in. Removing and re-adding the account rather than editing it is usually what forces the client to renegotiate rather than reuse its stored method.
  3. Generate an application-specific password where the platform still allows itTreat the result as a full credential: it bypasses the second factor by design. Record which device holds it, and revoke it the moment that device is replaced or leaves the building.
  4. For anything you build yourself, use the provider's OAuth flowA script or line-of-business application sending through Google or Microsoft should obtain a token rather than store a password. It is more work once and it survives every policy change afterwards.
  5. Relay the devices that cannot be changedWhere firmware will never support anything better, put an internal relay in front of it and let the relay hold the modern credential. One managed component authenticating properly beats a dozen appliances holding passwords.

Fixing the underlying problem

This page explains the code. These guides walk through the fix in detail.

Questions about SMTP error 5.7.9

How is this different from an invalid credentials error?
An invalid credentials error means the password itself was wrong or unusable. This one means the password was never the problem — the server objected to how the client offered to prove it. Changing the password will not help; changing the client configuration will.
Are application-specific passwords safe to use?
They are a compromise. They exist so a device that cannot handle a second factor can still sign in, which means they sidestep the protection you enabled MFA for. Use them narrowly, one per device, and revoke them when the device goes. If a device can be moved to OAuth instead, do that.
Does Microsoft 365 send this code?
Much less often than Google does. A 365 tenant usually refuses a weak or legacy client through Conditional Access or by having SMTP AUTH disabled, both of which surface as 5.7.8 instead. If you are troubleshooting Microsoft 365, start from that code.

Related SMTP status codes

Source. SMTP error 5.7.9 Authentication mechanism is too weak is defined in RFC 4954 and registered in the IANA SMTP Enhanced Status Codes registry. The causes and fixes above are drawn from our own experience supporting UK business email systems.

All Email delivery & SMTP codes

Sitemap