Using the CLI Console
Go to Dashboard > Console to access the CLI without exiting from the web UI.
You can click the Open in New Window button to move the CLI Console into a pop-up window that you can resize and reposition.
For more information about CLI commands, see the FortiMail CLI Reference.