Contents
FortiMailâ„¢ Secure Messaging Platform Version 3.0 MR4 CLI Reference
06-30004-0420-20080814 3
Contents

Introduction....................................................................................... 15

About the FortiMail Secure Messaging Platform........................................... 15
About this document........................................................................................ 15
Document conventions................................................................................. 16
FortiMail documentation......................................................... .........................17
Fortinet Tools and Documentation CD......................................................... 17
Fortinet Knowledge Center .........................................................................17
Comments on Fortinet technical documentation .........................................18
Customer service and technical support....................................................... 18

What’s new ........................................................................................19

Using the CLI..................................................................................... 21

CLI command syntax........................................................................................ 21
Connecting to the CLI...... ................................................................................22
Connecting to the FortiMail unit console...................................................... 22
Setting administrative access for SSH or Telnet.......................................... 23
Connecting to the FortiMail CLI using SSH.................................................. 23
Connecting to the FortiMail CLI using Telnet...................................... .........24
CLI command branches.......................................................................... .........24

execute...............................................................................................25

backup config.......... .........................................................................................26
checklogdisk..................................................................................................... 27
checkmaildisk....................................... ............................................................ 28
clearqueue....................................................................................................... ..29
factoryreset........................................... ............................................................30
formatlogdisk.................................................................................................... 31
formatmaildisk......................................... ......................................................... 32
formatmaildisk_backup.................................................................................... 33
maintain....................................................................... ......................................34
nslookup....................................................................................................... .....35
partitionlogdisk................................................................................................. 36
ping........................................... .........................................................................37
ping-option...................................................................... ..................................38
reboot.................................................................................................................39
reload..................................................................... ............................................40
restore................................................................................................................ 41