Use this command to reset the FortiMail-VM configuration to its factory default settings, while retaining the network settings and VM license file.
execute factoryreset2 keeplicense
backup
vm