Enhanced status codes look like:

5.1.1
4.2.2
5.7.1

The first digit indicates success, persistent temporary failure or permanent failure. The following components identify a subject area and more specific condition.

Providers can add human-readable diagnostics around these codes.

For troubleshooting, preserve the complete SMTP response rather than keeping only 550 or 554.

Reference material