Document
Library
Product Pillars
Network Security
Network Security
FortiGate / FortiOS
FortiGate-5000
/
6000
/
7000
FortiProxy
NOC & SOC Management
FortiManager
/
FortiManager Cloud
FortiAnalyzer
/
FortiAnalyzer Cloud
FortiMonitor
FortiGate Cloud
Enterprise Networking
Secure SD-WAN
FortiLAN Cloud
FortiSwitch
FortiAP / FortiWiFi
FortiAP-U Series
FortiNAC-F
FortiExtender
/
FortiExtender Cloud
FortiAIOps
Business Communications
FortiFone
FortiVoice
/
FortiVoice Cloud
FortiRecorder
/
FortiCamera
Zero Trust Access
ZTNA
Zero Trust Network Access
FortiClient EMS
SASE
FortiSASE
Identity
FortiAuthenticator
FortiTrust Identity
FortiToken Cloud
FortiToken
Cloud Security
Hybrid Cloud Security
FortiGate Public Cloud
FortiGate Private Cloud
FortiFlex
Cloud Native Protection
FortiCNP
FortiDevSec
Web Application / API Protection
FortiWeb
/
FortiWeb Cloud
FortiADC
/
FortiGSLB
FortiGuard ABP
SAAS Security
FortiMail
/
FortiMail Cloud
FortiCASB
Security Operations
SOC Platform
FortiAnalyzer
/
FortiAnalyzer Cloud
FortiSIEM
/
FortiSIEM Cloud
FortiSOAR
FortiPhish
Advanced Threat Protection
FortiSandbox
/
FortiSandbox Cloud
FortiNDR
FortiNDR Cloud
FortiDeceptor
FortiInsight
/
FortiInsight Cloud
FortiIsolator
Endpoint Security
FortiClient
/
FortiClient Cloud
FortiEDR
Best Practices
Solution Hubs
Curated links by solution
Cloud
FortiCloud
Public & Private Cloud
Popular Solutions
Secure SD-WAN
Zero Trust Network Access
Secure Access
Next Generation Firewall
Security Fabric
Tele-Working
Multi-Factor Authentication
FortiASIC
Operational Technology
MSSP
4-D Resources
Define, Design, Deploy, Demo
Secure SD-WAN
Zero Trust Network Access
Wireless
Switching
Secure Access Service Edge
Identity and Access Management
Next Generation Firewall
Hardware Guides
FortiAnalyzer
FortiAnalyzer Big-Data
FortiADC
FortiAP / FortiWiFi
FortiAP U-Series
FortiAuthenticator
FortiCache
FortiCarrier
FortiController
FortiDDoS
FortiDDoS-F
FortiDeceptor
FortiExtender
FortiGate
FortiGate-5000
FortiGate-6000
FortiGate-7000
FortiHypervisor
FortiIsolator
FortiMail
FortiManager
FortiNAC
FortiNDR
FortiProxy
FortiRecorder
FortiRPS
FortiSandbox
FortiSIEM
FortiSwitch
FortiTester
FortiToken
FortiVoice
FortiWAN
FortiWeb
FortiWLC
FortiWLM
Product A-Z
AscenLink
AV Engine
AWS Firewall Rules
Container FortiOS
FortiADC
FortiADC E Series
FortiADC Manager
FortiADC Private Cloud
FortiADC Public Cloud
FortiAIOps
FortiAnalyzer
FortiAnalyzer BigData
FortiAnalyzer BigData Private Cloud
FortiAnalyzer Cloud
FortiAnalyzer Private Cloud
FortiAnalyzer Public Cloud
FortiAP / FortiWiFi
FortiAP-U Series
FortiAuthenticator
FortiAuthenticator Private Cloud
FortiAuthenticator Public Cloud
FortiAuthProxy
FortiBalancer
FortiBranchSASE
FortiBridge
FortiCache
FortiCamera
FortiCamera Cloud
FortiCare Elite
FortiCarrier
FortiCASB
FortiCentral
FortiClient
FortiClient Cloud
FortiCloud Services
FortiCNP
FortiConnect
FortiController
FortiConverter Service
FortiConverter Tool
FortiCore
FortiCSPM
FortiCWP
FortiDAST
FortiDB
FortiDDoS
FortiDDoS-F
FortiDeceptor
FortiDeceptor DaaS
FortiDeceptor Private Cloud
FortiDeceptor Public Cloud
FortiDevSec
FortiDNS
FortiEdge Cloud
FortiEDR/XDR
FortiExplorer
FortiExplorer Go
FortiExtender
FortiFlex
FortiFone
FortiGate / FortiOS
FortiGate Cloud
FortiGate CNF
FortiGate Private Cloud
FortiGate Public Cloud
FortiGate-5000
FortiGate-6000
FortiGate-7000
FortiGate-as-a-Service
FortiGSLB
FortiGuard Advanced Bot Protection
FortiGuest
FortiHypervisor
FortiInsight
FortiInsight Cloud
FortiIPAM
FortiIsolator
FortiIsolator Public Cloud
FortiLAN Cloud
FortiMail
FortiMail Cloud
FortiManager
FortiManager Cloud
FortiManager Private Cloud
FortiManager Public Cloud
FortiMonitor
FortiNAC
FortiNAC-F
FortiNDR
FortiNDR (on-premise) Private Cloud
FortiNDR (on-premise) Public Cloud
FortiNDR Cloud
FortiNDR Cloud Sensors
FortiPAM
FortiPAM Private Cloud
FortiPAM Public Cloud
FortiPhish
FortiPlanner
FortiPolicy
FortiPortal
FortiPortal Public Cloud
FortiPresence
FortiPresence VM
FortiProxy
FortiProxy Private Cloud
FortiProxy Public Cloud
FortiRecon
FortiRecorder
FortiRPS
FortiSandbox
FortiSandbox Cloud
FortiSandbox Private Cloud
FortiSandbox Public Cloud
FortiSASE
FortiScanner
FortiSIEM
FortiSIEM Cloud
FortiSOAR
FortiSOAR Cloud
FortiSRA
FortiSwitch
FortiSwitch Manager
FortiTap
FortiTester
FortiTester Private Cloud
FortiTester Public Cloud
FortiToken
FortiToken Cloud
FortiTrust Identity
FortiVoice
FortiVoice Cloud
FortiVoice Private Cloud
FortiVoice Public Cloud
FortiWAN
FortiWAN Controller
FortiWeb
FortiWeb Cloud
FortiWeb Manager Private Cloud
FortiWeb Manager Public Cloud
FortiWeb Private Cloud
FortiWeb Public Cloud
FortiWLM
FortiZTP
IPS Engine
Lacework FortiCNAPP
Managed FortiGate Service
Overlay-as-a-Service
Security Awareness and Training
SOCaaS
Wireless Controller
Ordering Guides
Search documents and hardware ...
CLI Reference
Using the CLI
Connecting to the CLI
Command syntax
Sub-commands
Permissions
Tips and tricks
config
antispam adult-image-analysis
antispam behavior-analysis
antispam bounce-verification
antispam deepheader-analysis
antispam dmarc-report
antispam endpoint reputation blocklist
antispam endpoint reputation exempt
antispam greylist exempt
antispam quarantine-report
antispam settings
antispam trusted
antispam url-fgas-exempt-list
archive account
archive exempt-policy
archive journal
archive policy
calendar server
customized-message
dlp scan-rules
domain
domain-association
file content-disarm-reconstruct
file decryption password
file filter
file signature
log setting remote
log setting local
log alertemail recipient
log alertemail setting
mailsetting email-addr-handling
mailsetting host-mapping
mailsetting mail-scan-options
mailsetting preference
mailsetting proxy-smtp
mailsetting quarantine-rescan-options
mailsetting relay-host-list
mailsetting sender-rewriting-scheme
mailsetting smtp-rcpt-verification
mailsetting storage central-ibe
mailsetting storage central-quarantine
mailsetting storage config
mailsetting storage email-continuity
mailsetting systemquarantine
ms365 account
ms365 policy
ms365 profile action
ms365 profile antispam
ms365 profile antivirus
ms365 profile content
ms365 profile dlp
ms365 setting
policy access-control receive
policy access-control delivery
policy delivery-control
policy ip
policy recipient
profile access-control
profile antispam
profile antispam-action
profile antivirus
profile antivirus-action
profile authentication
profile certificate-binding
profile content
profile content-action
profile cousin-domain
profile dictionary
profile dictionary-group
profile dlp
profile email-address-group
profile encryption
profile geoip-group
profile impersonation
profile ip-address-group
profile ip-pool
profile ldap
profile notification
profile resource
profile session
profile tls
profile uri-filter
report mail
report mailbox
sensitive data
system accprofile
system admin
system advanced-management
system appearance
system backup-restore-mail
system certificate ca
system certificate crl
system certificate local
system certificate remote
system csf
system ddns
system disclaimer
system disclaimer-exclude
system dns
system domain-group
system encryption ibe
system encryption ibe-auth
system fortiguard antivirus
system fortiguard antispam
system fortisandbox
system geoip-override
system global
system ha
system interface
system link-monitor
system mailserver
system password-policy
system port-forwarding
system route
system saml
system scheduled-backup
system security crypto
system security authserver
system snmp community
system snmp sysinfo
system snmp threshold
system snmp user
system time manual
system time ntp
system wccp settings
system webmail-language
user alias
user map
user pki
execute
backup
backup-restore
blocklist
certificate
checklogdisk
checkmaildisk
cleanqueue
create
date
db
dlp
endpoint
erase-filesystem
factoryreset
factoryreset config
factoryreset disk
factoryreset keeplicense
factoryreset shutdown
fips
formatlogdisk
formatmaildisk
formatmaildisk-backup
forticloud
ha commands
ibe data
ibe user
license
lvm
maintain
nslookup
partitionlogdisk
ping
ping-option
ping6
ping6-option
raid
reboot
reload
restore as
restore av
restore config
restore image
restore mail-queues
safelist
sched-backup
shutdown
smtptest
ssh
storage
telnettest
traceroute
update
user-config
vm
get
system performance
system status
show & show full-configuration
Change Log
Home
FortiMail 7.0.2
CLI Reference
7.0.2
7.6.0
7.4.3
7.4.2
7.4.1
7.4.0
7.2.6
7.2.5
7.2.4
7.2.3
7.2.2
7.2.1
7.2.0
7.0.8
7.0.7
7.0.6
7.0.5
7.0.5
7.0.4
7.0.3
7.0.2
7.0.1
7.0.0
6.4.8
6.4.7
6.4.6
6.4.5
6.4.4
6.4.3
6.4.2
6.4.1
6.4.0
6.2.0
6.0.4
6.0.3
6.0.1
6.0.0
cleanqueue
cleanqueue
Select to remove all messages from the deferred queue.
Syntax
execute cleanqueue
Related topics
maintain
Previous
Next
cleanqueue
cleanqueue
Select to remove all messages from the deferred queue.
Syntax
execute cleanqueue
Related topics
maintain
Previous
Next
Home
Product Pillars
Network Security
Network Security
FortiGate / FortiOS
FortiGate 5000
FortiGate 6000
FortiGate 7000
FortiProxy
NOC & SOC Management
FortiManager
FortiManager Cloud
FortiAnalyzer
FortiAnalyzer Cloud
FortiMonitor
FortiGate Cloud
Enterprise Networking
Secure SD-WAN
FortiLAN Cloud
FortiSwitch
FortiAP / FortiWiFi
FortiAP-U Series
FortiNAC-F
FortiExtender
FortiExtender Cloud
FortiAIOps
Business Communications
FortiFone
FortiVoice
FortiVoice Cloud
FortiRecorder
FortiCamera
Zero Trust Access
ZTNA
Zero Trust Network Access
FortiClient EMS
SASE
FortiSASE
Identity
FortiAuthenticator
FortiTrust Identity
FortiToken Cloud
FortiToken
Cloud Security
Hybrid Cloud Security
FortiGate Public Cloud
FortiGate Private Cloud
FortiFlex
Cloud Native Protection
FortiCNP
FortiDevSec
Web Application / API Protection
FortiWeb
FortiWeb Cloud
FortiADC
FortiGSLB
FortiGuard ABP
SAAS Security
FortiMail
FortiMail Cloud
FortiCASB
Security Operations
SOC Platform
FortiAnalyzer
FortiAnalyzer Cloud
FortiSIEM
/
FortiSIEM Cloud
FortiSOAR
FortiPhish
Advanced Threat Protection
FortiSandbox
FortiSandbox Cloud
FortiNDR
FortiNDR Cloud
FortiDeceptor
FortiInsight
FortiInsight Cloud
FortiIsolator
Endpoint Security
FortiClient
FortiClient Cloud
FortiEDR
Best Practices
Solution Hubs
Cloud
FortiCloud
Public & Private Cloud
Popular Solutions
Secure SD-WAN
Zero Trust Network Access
Secure Access
Next Generation Firewall
Security Fabric
Tele-Working
Multi-Factor Authentication
FortiASIC
Operational Technology
MSSP
4-D Resources
Secure SD-WAN
Zero Trust Network Access
Wireless
Switching
Secure Access Service Edge
Identity and Access Management
Next Generation Firewall
Hardware Guides
FortiAnalyzer
FortiAnalyzer Big-Data
FortiADC
FortiAP / FortiWiFi
FortiAP U-Series
FortiAuthenticator
FortiCache
FortiCarrier
FortiController
FortiDDoS
FortiDDoS-F
FortiDeceptor
FortiExtender
FortiGate
FortiGate-5000
FortiGate-6000
FortiGate-7000
FortiHypervisor
FortiIsolator
FortiMail
FortiManager
FortiNAC
FortiNDR
FortiProxy
FortiRecorder
FortiRPS
FortiSandbox
FortiSIEM
FortiSwitch
FortiTester
FortiToken
FortiVoice
FortiWAN
FortiWeb
FortiWLC
FortiWLM
Product A-Z
AscenLink
AV Engine
AWS Firewall Rules
Container FortiOS
FortiADC
FortiADC E Series
FortiADC Manager
FortiADC Private Cloud
FortiADC Public Cloud
FortiAIOps
FortiAnalyzer
FortiAnalyzer BigData
FortiAnalyzer BigData Private Cloud
FortiAnalyzer Cloud
FortiAnalyzer Private Cloud
FortiAnalyzer Public Cloud
FortiAP / FortiWiFi
FortiAP-U Series
FortiAuthenticator
FortiAuthenticator Private Cloud
FortiAuthenticator Public Cloud
FortiAuthProxy
FortiBalancer
FortiBranchSASE
FortiBridge
FortiCache
FortiCamera
FortiCamera Cloud
FortiCare Elite
FortiCarrier
FortiCASB
FortiCentral
FortiClient
FortiClient Cloud
FortiCloud Services
FortiCNP
FortiConnect
FortiController
FortiConverter Service
FortiConverter Tool
FortiCore
FortiCSPM
FortiCWP
FortiDAST
FortiDB
FortiDDoS
FortiDDoS-F
FortiDeceptor
FortiDeceptor DaaS
FortiDeceptor Private Cloud
FortiDeceptor Public Cloud
FortiDevSec
FortiDNS
FortiEdge Cloud
FortiEDR/XDR
FortiExplorer
FortiExplorer Go
FortiExtender
FortiFlex
FortiFone
FortiGate / FortiOS
FortiGate Cloud
FortiGate CNF
FortiGate Private Cloud
FortiGate Public Cloud
FortiGate-5000
FortiGate-6000
FortiGate-7000
FortiGate-as-a-Service
FortiGSLB
FortiGuard Advanced Bot Protection
FortiGuest
FortiHypervisor
FortiInsight
FortiInsight Cloud
FortiIPAM
FortiIsolator
FortiIsolator Public Cloud
FortiLAN Cloud
FortiMail
FortiMail Cloud
FortiManager
FortiManager Cloud
FortiManager Private Cloud
FortiManager Public Cloud
FortiMonitor
FortiNAC
FortiNAC-F
FortiNDR
FortiNDR (on-premise) Private Cloud
FortiNDR (on-premise) Public Cloud
FortiNDR Cloud
FortiNDR Cloud Sensors
FortiPAM
FortiPAM Private Cloud
FortiPAM Public Cloud
FortiPhish
FortiPlanner
FortiPolicy
FortiPortal
FortiPortal Public Cloud
FortiPresence
FortiPresence VM
FortiProxy
FortiProxy Private Cloud
FortiProxy Public Cloud
FortiRecon
FortiRecorder
FortiRPS
FortiSandbox
FortiSandbox Cloud
FortiSandbox Private Cloud
FortiSandbox Public Cloud
FortiSASE
FortiScanner
FortiSIEM
FortiSIEM Cloud
FortiSOAR
FortiSOAR Cloud
FortiSRA
FortiSwitch
FortiSwitch Manager
FortiTap
FortiTester
FortiTester Private Cloud
FortiTester Public Cloud
FortiToken
FortiToken Cloud
FortiTrust Identity
FortiVoice
FortiVoice Cloud
FortiVoice Private Cloud
FortiVoice Public Cloud
FortiWAN
FortiWAN Controller
FortiWeb
FortiWeb Cloud
FortiWeb Manager Private Cloud
FortiWeb Manager Public Cloud
FortiWeb Private Cloud
FortiWeb Public Cloud
FortiWLM
FortiZTP
IPS Engine
Lacework FortiCNAPP
Managed FortiGate Service
Overlay-as-a-Service
Security Awareness and Training
SOCaaS
Wireless Controller
Ordering Guides
Download PDF
Table of Contents
Using the CLI
Connecting to the CLI
Command syntax
Sub-commands
Permissions
Tips and tricks
config
antispam adult-image-analysis
antispam behavior-analysis
antispam bounce-verification
antispam deepheader-analysis
antispam dmarc-report
antispam endpoint reputation blocklist
antispam endpoint reputation exempt
antispam greylist exempt
antispam quarantine-report
antispam settings
antispam trusted
antispam url-fgas-exempt-list
archive account
archive exempt-policy
archive journal
archive policy
calendar server
customized-message
dlp scan-rules
domain
domain-association
file content-disarm-reconstruct
file decryption password
file filter
file signature
log setting remote
log setting local
log alertemail recipient
log alertemail setting
mailsetting email-addr-handling
mailsetting host-mapping
mailsetting mail-scan-options
mailsetting preference
mailsetting proxy-smtp
mailsetting quarantine-rescan-options
mailsetting relay-host-list
mailsetting sender-rewriting-scheme
mailsetting smtp-rcpt-verification
mailsetting storage central-ibe
mailsetting storage central-quarantine
mailsetting storage config
mailsetting storage email-continuity
mailsetting systemquarantine
ms365 account
ms365 policy
ms365 profile action
ms365 profile antispam
ms365 profile antivirus
ms365 profile content
ms365 profile dlp
ms365 setting
policy access-control receive
policy access-control delivery
policy delivery-control
policy ip
policy recipient
profile access-control
profile antispam
profile antispam-action
profile antivirus
profile antivirus-action
profile authentication
profile certificate-binding
profile content
profile content-action
profile cousin-domain
profile dictionary
profile dictionary-group
profile dlp
profile email-address-group
profile encryption
profile geoip-group
profile impersonation
profile ip-address-group
profile ip-pool
profile ldap
profile notification
profile resource
profile session
profile tls
profile uri-filter
report mail
report mailbox
sensitive data
system accprofile
system admin
system advanced-management
system appearance
system backup-restore-mail
system certificate ca
system certificate crl
system certificate local
system certificate remote
system csf
system ddns
system disclaimer
system disclaimer-exclude
system dns
system domain-group
system encryption ibe
system encryption ibe-auth
system fortiguard antivirus
system fortiguard antispam
system fortisandbox
system geoip-override
system global
system ha
system interface
system link-monitor
system mailserver
system password-policy
system port-forwarding
system route
system saml
system scheduled-backup
system security crypto
system security authserver
system snmp community
system snmp sysinfo
system snmp threshold
system snmp user
system time manual
system time ntp
system wccp settings
system webmail-language
user alias
user map
user pki
execute
backup
backup-restore
blocklist
certificate
checklogdisk
checkmaildisk
cleanqueue
create
date
db
dlp
endpoint
erase-filesystem
factoryreset
factoryreset config
factoryreset disk
factoryreset keeplicense
factoryreset shutdown
fips
formatlogdisk
formatmaildisk
formatmaildisk-backup
forticloud
ha commands
ibe data
ibe user
license
lvm
maintain
nslookup
partitionlogdisk
ping
ping-option
ping6
ping6-option
raid
reboot
reload
restore as
restore av
restore config
restore image
restore mail-queues
safelist
sched-backup
shutdown
smtptest
ssh
storage
telnettest
traceroute
update
user-config
vm
get
system performance
system status
show & show full-configuration
Change Log