factoryreset2
Use this command to reset the FortiMail unit to its default settings for the currently installed firmware version, while retaining all network settings. If you have not upgraded or downgraded the firmware, this restores factory default settings.
This command also erases all the log files and mail data on the hard drive.
Back up your FortiMail configuration, mail data, and other data before entering this command. This procedure resets all changes that you have made to the FortiMail unit’s configuration file and reverts the system to the default values for the firmware version. While this command does not include network interfaces, other data may be erased.
Syntax
execute factoryreset2
Example
The following example resets the FortiMail unit's configuration and disk partition to its factory default settings, while keeping the network settings.
execute factoryreset2