5.5.2: Official Definition
5.X.X
[RFC3463] (Standards Track) from the The Internet Engineering Task Force (IETF) definition for codes that start with 5.X.X:
A permanent failure is one which is not likely to be resolved by resending the message in the current form. Some change to the message or the destination must be made for successful delivery.
X.X.2
[RFC3463] (Standards Track) from the The Internet Engineering Task Force (IETF) definition for codes that end with X.X.2:
A mail transaction protocol command was issued which could not be interpreted, either because the syntax was wrong or the command is unrecognized. This is useful only as a permanent error.