When attemting to run some commands from the Symantec Messaging Gateway (SMG) command line interface (CLI), the command fails with a an error indicating that an invalid token is present.
This is caused by the presence of non-UTF-8 characters in the scanner configuration file. These characters are most likely part of a content filtering notification which has been carried forward from a previous release. Changes to the xml parser used by CLI commands resulted in the parser being being more strict with respect to xml well formedness.
Later releases of SMG will clean up non-UTF-8 character data when it is imported or exported into the control center. The solution to this issue is to back up policy data and then restore that backup. Doing so will cause the SMG control center to clean up the invalid characters during the restore process.