FortinetメーカーFortiMail 3.0 MR4の使用説明書/サービス説明書
ページ先へ移動 of 368
www.fortinet.com FortiM ai l™ Se cu re Messaging Platform V ersion 3.0 MR4 Note: The History sections in the command entri es are intended to record changes in FortiMail 3.0 CLI comm ands with each release of the product. Although these se ctions show all comman ds as new for versio n 3.
FortiMail™ Secure Messaging Platform CLI Reference V ersion 3.0 MR4 14 August 2008 06-30004-04 20-20080814 © Copyright 2008 Fortine t, Inc. All rights reserved.
Contents FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 3 Contents Introduction ............. ................................ ............................... ........... 15 About the FortiMail Secure Messaging Platform .
FortiMail™ Secure Messaging Pl atform V ersion 3.0 MR4 CLI Reference 4 06-30004-0420-200808 14 Contents shutdown......... ................ ................ ................ ............. ................ ................ ..... 42 smtptest...........
Contents FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 5 out_policy ....... ................ ............. ................ ................ ............. ................ ......... 82 out_profile .....
FortiMail™ Secure Messaging Pl atform V ersion 3.0 MR4 CLI Reference 6 06-30004-0420-200808 14 Contents as profile modify quarantine .. ................. ... ................ ............. ................ ...... 122 as profile modify rewrite_rcpt .
Contents FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 7 ip_policy ......... ............. ................ ................ ............. ................ ................ ....... 157 Syntax ..........
FortiMail™ Secure Messaging Pl atform V ersion 3.0 MR4 CLI Reference 8 06-30004-0420-200808 14 Contents ip_policy match (transpare nt mode)... ................ ................. ................ ......... 167 Syntax ................. ............. .
Contents FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 9 ldap_profile profile server.... ................ ............. ................ ................ ............. 198 ldap_profile profile user ....
FortiMail™ Secure Messaging Pl atform V ersion 3.0 MR4 CLI Reference 10 06-30004-0420-200808 14 Contents mailserver smtp deferbig msg .......... ............. ................ ............. ................ ... 237 mailserver smtp delivery .. ......
Contents FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 11 out_profile profile modify heuristic .... .......... ............ ................. ............ ....... 275 out_profile profile modify imagespam .
FortiMail™ Secure Messaging Pl atform V ersion 3.0 MR4 CLI Reference 12 06-30004-0420-200808 14 Contents system fortimanager ......... ... ............. ... .... ... ... ... ... .... ... ... ... .... ... ... ... ... .... ......... 312 system ha config .
Contents FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 13 log reportconfig .......... ................ ................ ............. ................ ................ ....... 356 mailserver .......... .
FortiMail™ Secure Messaging Pl atform V ersion 3.0 MR4 CLI Reference 14 06-30004-0420-200808 14 Contents.
Introduction About the FortiMail Secure Messaging Pl atform FortiMail™ Secure Messa ging Platform V ersion 3.0 MR4 CLI Re fere nce 06-30004-0420-2008081 4 15 Introduction This chapter introduces yo .
FortiMail™ Secure Messaging Pl atform V ersion 3.0 MR4 CLI Reference 16 06-30004-0420-200808 14 About this document Introduction Document conventions The following document convention s are used in this guide: • In the exa mples, p rivate IP add resses ar e used for both privat e and pu blic IP addresses.
Introduction FortiMail documentation FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 17 FortiMail document ation Information about the FortiMail unit is availabl e from the following guides: • FortiMail QuickS tart Guides Provides basic informatio n about connecting and in stalling a FortiMail unit.
FortiMail™ Secure Messaging Pl atform V ersion 3.0 MR4 CLI Reference 18 06-30004-0420-200808 14 Customer service and technical support Introduction Comments on Fortinet t echnical documentation Please send inform a tio n ab ou t an y er ro rs or omissions in this document, or any Fortinet technical documen tation, to techdoc@fortinet.
What’s new FortiMail™ Secure Messa ging Platform V ersion 3.0 MR4 CLI Re fere nce 06-30004-0420-2008081 4 19 What’ s new The tabl e below lists commands which have change d since the previous release, 3.0 MR3. Command Change execute partitionlogdisk New command.
FortiMail™ Secure Messaging Pl atform V ersion 3.0 MR4 CLI Reference 20 06-30004-0420-200808 14 What’s new set system fortimanager New command. Configures remote administration by and au toma tic configuration backups to a FortiManager system. set user pki New command.
Using the CLI CLI command syntax FortiMail™ Secure Messa ging Platform V ersion 3.0 MR4 CLI Re fere nce 06-30004-0420-2008081 4 21 Using the CLI This section describes ho w to connect to and use the FortiMail command line interface (CLI).
FortiMail™ Secure Messaging Pl atform V ersion 3.0 MR4 CLI Reference 22 06-30004-0420-200808 14 Connecting to the CLI Using the CLI set policy <fqdn> modify fallbackhost <host_ipv4> [fal.
Using the CLI Connecting to the CLI FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 23 7 Press Enter to connect to the FortiMail CLI. 8 A prompt appears: FortiMail-400 login: 9 T ype a va lid administrator name and press Enter .
FortiMail™ Secure Messaging Pl atform V ersion 3.0 MR4 CLI Reference 24 06-30004-0420-200808 14 CLI command branches Using the CLI T o connect to the CLI using SSH 1 Install and start an SSH client. 2 Connect to the FortiMail interface that is con figured for SSH connections.
execute FortiMail™ Secure Messa ging Platform V ersion 3.0 MR4 CLI Re fere nce 06-30004-0420-2008081 4 25 execute Use execute commands to perform maintenan ce operations on your FortiMail unit or to perform network test operations such as ping or traceroute.
FortiMail™ Secure Messaging Pl atform V ersion 3.0 MR4 CLI Reference 26 06-30004-0420-200808 14 backup config execute backup config Use this command to back up system settings to a TFTP server .
execute checklogdisk FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 27 checklogdisk When recommended by Cu stomer Support, use this command to find and corre ct er rors on the log disk. Logging is suspended while this command is r unning.
FortiMail™ Secure Messaging Pl atform V ersion 3.0 MR4 CLI Reference 28 06-30004-0420-200808 14 checkmaildisk execute checkmaildisk When recommended by Customer Suppor t, use this command to find and correct errors on the mail disk. Action s are repo rted at th e command prompt.
execute clearqueue FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 29 clearqueue Select to remove all messa ges from the deferred queue. Syntax execute clearqueue History Related topics • execute che ck logdisk FortiMail v3.
FortiMail™ Secure Messaging Pl atform V ersion 3.0 MR4 CLI Reference 30 06-30004-0420-200808 14 factoryreset execute factoryreset U se this command to restore th e factory default settings. This will delete yo ur configuration. Syntax execute factoryreset History FortiMail v3 .
execute formatlogdisk FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 31 formatlogdisk U se this command to reformat the local log hard disk to enhance performance. This will delete the logs on the log disk.
FortiMail™ Secure Messaging Pl atform V ersion 3.0 MR4 CLI Reference 32 06-30004-0420-200808 14 formatmaildisk execute formatmaildisk Use this command to reform at the local ema il disk to enhance performance af ter you have backed up the mail database to the log dis k with execute formatmaildisk_backup .
execute formatmaildisk_backup FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 33 formatmaildisk_backup U se this command to back up the ma il database to the log dis k, and then format the local mail dis k.
FortiMail™ Secure Messaging Pl atform V ersion 3.0 MR4 CLI Reference 34 06-30004-0420-200808 14 maintain execute maint ain U se this command to perform maintena nce on mail queues by deleting out-of-date me ssag es.
execute nslookup FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 35 nslookup U se this command to perform a name server lookup on the specified host or MX record. Syntax execute nslookup {host | mx} <name_server> <name_server> can be an IP address or a fully qualified domain name.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 36 06-30004-0420-200808 14 partitionlogdisk execute p artitionlogdisk U se this command to adjust the ratio of disk space a lloca ted to the logs and mail. By default, 75% of the disk space is allocated to mail and 25% to logs.
execute ping FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 37 ping U se this command to ping the specified host name or host IP address. Syntax execute ping {<host_name> | <host_ipv4>} History Related topics • execute pin g- op tio n FortiMail v3.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 38 06-30004-0420-200808 14 ping-option execute ping-option U se this command to configure the ping function behavior se ttings.
execute reboot FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 39 reboot U se this command to restart the FortiMail unit. Syntax execute reboot History Related topics • execute re loa d FortiMail v3.0 New .
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 40 06-30004-0420-200808 14 reload execute reload If you set your console to batch mode, use this comm and to flush the current configuration from system memory and reload th e configuration from a saved configuration file.
execute restore FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 41 restore U se this command to restore system configuration or firmware from a TFTP server .
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 42 06-30004-0420-200808 14 shutdown execute shut down U se this command to prepar e the FortiMail unit to be powered down. This command clears all buf fers and writes all cached dat a to disk.
execute smtptest FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 43 smtptest U se this command to test connectivity to an SMTP server .
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 44 06-30004-0420-200808 14 telnettest execute telnettest Use this command to attempt a telnet connec tion to the specified host IP address. Syntax execute telnettest <host_ipv4[:port]> If you do not specify a port number , port 23 is used.
execute tracerou te FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 45 traceroute U se this command to trace the route to the specified host IP address. Syntax execute traceroute <host_ipv4> History Related topics • execute ma intain • execute pin g FortiMail v3.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 46 06-30004-0420-200808 14 update config execute up date config Use this command to request a config uration update from the FortiManager server . Syntax execute update config History FortiMail v3 .
execute updatecenter updatenow FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 47 up datecenter up datenow Use this command to manually initiate a virus de finition update. Syntax execute updatecenter updatenow History FortiMail v3.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 48 06-30004-0420-200808 14 updatecenter updatenow execute.
get FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 49 get alertemail configuration alertemail setting antivirus as auth av config console fshd status ip.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 50 06-30004-0420-200808 14 alertema il configurat ion get alertemail configuration Use this command to view the alert email recipient s.
get alertemail setti ng FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 51 alertemail setting Use this command to view the alert email configuration .
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 52 06-30004-0420-200808 14 antivirus get antivirus Use this command to display whether antivirus sca nning is enabled. This is available only in server mode. Syntax get antivirus Example FEServer # get antivirus global antivirus scanning is enabled History FortiMail v3 .
get as FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 53 as Use this command to display infor mation about your antispam configuration.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 54 06-30004-0420-200808 14 as get action: default use personal database: disabled Accept training from users: disabled Use other.
get as FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 55 History FortiMail v3.0 New . FortiMail v3.0 MR3 Added trusted antispam-mta and trusted mta commands.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 56 06-30004-0420-200808 14 auth get auth Use this comma nd to display authentic ation settings by protocol: IMAP , POP3, RA DIUS, SMTP . This is available in transpare nt and gateway modes only .
get av FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 57 av Use this command to display th e settings of an antivirus profile.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 58 06-30004-0420-200808 14 config get config Use this command to display the current FortiMail uni t configuration. Syntax get config [<search_string>] <search_string> is an optional search string.
get console FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 59 console Use this command to display co nsole settings: the number of lines per page , the mode of operation, and the baud rate of the command line console.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 60 06-30004-0420-200808 14 fshd status get fshd st atus Use this command to display the FortiGuard settings on the FortiMail unit.
get ip_policy FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 61 ip_policy Use this command to list info rmation about IP policies. Syntax get ip_policy [<policy_number>] If you do not specify a policy number , the command pr ovides a list of th e IP policies, by name and number .
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 62 06-30004-0420-200808 14 ip_pool get ip_pool Use this command to list information about IP po ol policies. Syntax get ip_pool {<name_str>} If you do not spec ify a policy na me, the co mmand re tu rns a list of the IP pool policies, by name and ID number .
get ip_profi le FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 63 ip_profile Use this command to list info rma tio n ab o ut IP prof iles. Syntax get ip_profile [<profile_name>] If you do n ot specify a profile nam e, the comm and provides a list of th e IP profiles .
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 64 06-30004-0420-200808 14 ip_profile get History Related topics • get ip_policy FortiMail v3 .
get ldap_profi le FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 65 ldap_profile Use this command to display all the settin gs of the specified LDAP profile. Syntax get ldap_profile profile <name_str> <name_str> is the LDAP profile name.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 66 06-30004-0420-200808 14 limits get limit s Use this command to display all the settings of the limit s command. Syntax get limits <name_str> is the LDAP profile name. T o see a list of LDAP profiles, enter get ldap_profile profile ? .
get log elog FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 67 log elog Use this command to disp lay the event log messages that have been saved to local hard disk or remote syslog server .
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 68 06-30004-0420-200808 14 log logsetting get log logsetting Use this command to display: • the log to locations and whether logging to that location is turned on or o ff.
get log msisdn FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 69 log msisdn Use this command to find out if the MSISDN column is enabled . Use the set log msisdn command to enable the MSIS DN column to display in Log & Report > Logging .
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 70 06-30004-0420-200808 14 log policy get log policy Use this command to display informa tion about log policies by destination an d log type .
get log query FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 71 log query Use this command to display all availa ble log query report s , for example, T op_Remote_Virus_Domain_ by_Hour_of_Day . The tota l number of query reports displays at th e bottom of the list.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 72 06-30004-0420-200808 14 log reportc on fi g get log reportconfig Use this command to display the se ttings in a saved log report configuration.
get log view FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 73 log view Use this command to display what columns display in Log & Report > Logging for event, history , spam, and vir us logs. Use the set log view command to set the fields to display an d the log severity level.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 74 06-30004-0420-200808 14 mailserver get mailserver Use this command to display the FortiMail email system settings.
get mailserver access FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 75 mailserver access Use this command to display th e permissions for sending and receiving email for each do mai n.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 76 06-30004-0420-200808 14 mailserver archive get mailserver archive Use this command to display informa tion about email archiving.
get mailserver localdomains FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 77 mailserver localdomains Use this command to display info rmatio n ab ou t th e do m ain s ad de d to the FortiMail unit. This is available in server mode only .
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 78 06-30004-0420-200808 14 mailserver smtp get mailserver smtp Use this command to display settings for SMTP email.
get mailserver systemquarantine FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 79 mailserver systemquarantine Use this command to display the system quarantin e settings . The system qua rantine is used for mail matching co ntent prof iles.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 80 06-30004-0420-200808 14 misc profile get misc profile Use this command to display the misc profile se ttings. Available in ser ver mode only . Syntax get misc [<profile_name>] If you do not specify a profile name, the command displays information for all misc profiles.
get out_content FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 81 out_content Use this command to display outgo ing content profile settings. Syntax get out_content [<name_str>] <name_str> is the name of an outgoing content profile.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 82 06-30004-0420-200808 14 out_policy get out_policy Use this command to display outgoing re cipient-based pol icy settings. Syntax get out_policy [<name_str>] <name_str> is the name of an outgoin g po licy .
get out_profile FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 83 out_profile Use this command to disp lay outgo ing antispam profi le settings. Syntax get out_profile [<name_str>] <name_str> is the name of an outgoing antisp am profile.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 84 06-30004-0420-200808 14 policy get policy Use this command to display incoming recipient-base d policies for domains. This is av ailable only in transp arent and gateway mode s.
get spam deepheader FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 85 sp am deepheader Use this command to disp lay th e deep header scan settings. Syntax get spam deepheader Example FortiMail-400 # get spam deepheader Deep header scanner setting: Confidence degree : 95.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 86 06-30004-0420-200808 14 spam heuristic rules get sp am heuristic rules Use this command to display the total number of h euristic antispam rules. The number of rules can change as the FortiGu ard service updates the heuristic rule set.
get spam retrieval policy FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 87 sp am retrieval policy Use this command to display sp am retrieval policy information for a domain . This is available in transparent and gateway mode s only .
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 88 06-30004-0420-200808 14 system get system Use this command to display system information.
get system FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 89 History snmp threshold Displays the SNMP threshold settin gs for availabl e traps such as CPU usage, and memory usage. status Display system status information.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 90 06-30004-0420-200808 14 user get user Use this command to display informa tion about users. Syntax get user <item> History Related topics • get userpolicy <item> Descriptio n alias Display each user alias name and the inclu ded members.
get userpolicy FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 91 userpolicy Use this command to disp lay the po licy for a specified user . This is available in server mo de only . Syntax get userpolicy <name_str> <name_str> is the user name.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 92 06-30004-0420-200808 14 userpolicy get.
set FortiMail™ Secure Messa ging Platform V ersion 3.0 MR4 CLI Re fere nce 06-30004-0420-2008081 4 93 set This chapter descr ib es the following commands: alertemail configuration mailto alertemail .
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 94 06-30004-0420-200808 14 alertemail configuration mailto set alertemail configuration mailto Use this com mand to set the email ad dresses of up to three alert email r ecipients.
set alertemail deferq FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 95 alertemail deferq Use this command to configur e the deferred ema il queu e alert email conditions.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 96 06-30004-0420-200808 14 alertemail setting option set alertemail setting option Use this command to set which alert email event s ar e enabled. T o disable all alert email events, use the none option.
set antivirus FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 97 antivirus Use this command to enable or disable antivirus sc anning.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 98 06-30004-0420-200808 14 as blacklistaction set as blacklist action Use these commands to set the action to t ake when an email message arrives from a blacklisted email address, domain, or IP address.
set as bounceverify FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 99 as bounceverify Use these commands to configure the bounce verification feature. S pammers sometimes use the email addresses of others as the from addre ss in their spam email messages.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 100 06-30004-0420-200808 14 as control autorelease set as control autorelease Use these commands to set the co ntrol account names used to delete or r elease email messages from quarantine.
set as control bayesian FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 101 as control bayesian Use these commands to set the names for Bayesian contr ol accounts.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 102 06-30004-0420-200808 14 as control bayesian set A user with the email address user1@example.com who r eceived a spam message not marked as spam would sen d it to is- sp am@example.
set as greylist FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 103 as greylist Use these command to configure the gr eylist settings.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 104 06-30004-0420-200808 14 as greylist set Related topics • set as profile modify greylist.
set as mms_reputation FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 105 as mms_reput ation The MMS Reput ation menu enables you to co nfigure MSISDN blacklisting and whitelisting. When used on a mobile phone network, th e For tiMail unit can examine text messages for sp am.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 106 06-30004-0420-200808 14 as profile delete set as profile delete Use this command to delete an antispam profile. Syntax set as profile <name_str> delete <name_str> is the name of the prof ile.
set as profile modify actions FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 107 as profile modify actions Use these commands to modify the action s of an antispam profile. Reject, discard, and forward ar e mutually exclusive.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 108 06-30004-0420-200808 14 as profile modify auto-release set as profile modify auto-release Use these commands to configure the auto -release settings for an antisp am profile.
set as profile modify bannedword FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 109 as profile modify bannedword Use this command to enable or disable banned word filtering for the specified profile.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 11 0 06-30004-0420-200808 14 as profile modify bannedwordlist set as profile modify bannedwordlist Use these commands to modify the banned wo rd list for an antispam profile.
set as profile modify bayesian FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 111 as profile modify bayesian Use these commands to configure Bayesia n spam filtering for an antisp am profile.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 11 2 06-30004-0420-200808 14 as profile modify deepheader set as profile modify deepheader Use this command to enable or disable deep header scanning or for the specified profile.
set as profile modify dicti onary FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 11 3 as profile modify dictionary Use these commands to configure di ctionary scans for an antivirus profile.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 11 4 06-30004-0420-200808 14 as profile modify dnsbl set as profile modify dnsbl Use this command to enable or disable communicatio n with the DNSBL servers to scan email for the specified profile.
set as profile modify dnsblserver FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 11 5 as profile modify dnsblserver Use these commands to modify the DNSBL serv er list for an antispam profile.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 11 6 06-30004-0420-200808 14 as profile modify forgedip set as profile modify forgedip Use this command to enable or disable forged IP checking for an antispam profile.
set as profile modify fortishield FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 11 7 as profile modify fortishield Use these commands to configure FortiGuar d An tispam functions for an antispam profile.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 11 8 06-30004-0420-200808 14 as profile modify greylist set as profile modify greylist Use this command to enable or disable greylisting for an antisp am profile.
set as profile modify heuristic FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 11 9 as profile modify heuristic Use these commands to configure heur is tic scanning for an antispam profile.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 120 06-30004-0420-200808 14 as profile modify imagespam set as profile modify imagesp am Use these com m a nd s to co nf igu re an antis pam profile to identify spam messages in which th e te xt is stored as an embedded graphics file.
set as profile modify individualaction scanner FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 121 as profile modify individualaction scanner Use these commands to set the action each spam de tection method takes for messag es detected as spam.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 122 06-30004-0420-200808 14 as profile modify quarantine set as profile modify quarantine Use these commands to configure quara ntine settings for an antispam profile.
set as profile modify rewrite_rcpt FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 123 as profile modify rewrite_rcpt The rewrite recip i ent email address feature allows the FortiMa il unit to change the recipient email address if the message is detecte d as sp am.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 124 06-30004-0420-200808 14 as profile modify scanoptions set as profile modify scanoptions Use these commands to configure the antisp am scanning options.
set as profile modify surbl FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 125 as profile modify surbl Use this command to enable or disable the che cking of mail against defined SURBL servers for an antispam profile.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 126 06-30004-0420-200808 14 as profile modify surblserver set as profile modify surblserver Use these commands to configure the SURBL server list of an antisp am profile.
set as profile modify tags FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 127 as profile modify t ags Use these commands to configure head er an d subject tagging for an antisp am profile.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 128 06-30004-0420-200808 14 as profile modify virus set as profile modify virus Use this command to enable or disable treating messa ges with a virus as spam. Syntax set as profile <name_str> modify virus {enable | disable} By default, this setting is disabled .
set as profile modify whitelistword FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 129 as profile modify whitelistword Use this command to enable or disable white list wo rd checking in the specified incoming antisp am profile.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 130 06-30004-0420-200808 14 as profile modify whitelistwordlist set as profile modify whitelistwordlist Use this command to add, delete, or modify whit e list words for the specified an tispam profile.
set as spamreport FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 131 as sp amreport Use these commands to configure sp am reports.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 132 06-30004-0420-200808 14 as trusted set as trusted Use these commands to configure trusted MT A addres ses.
set auth imap re name-to FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 133 auth imap rename-to Use this command to rename an IM AP authentication profile.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 134 06-30004-0420-200808 14 auth imap server set auth imap server Use this command to create or mo dify the server properties o f an IMAP authenticatio n profile.
set auth pop3 rename-to FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 135 auth pop3 rename-to Use this command to ren ame a POP3 authentication profile.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 136 06-30004-0420-200808 14 auth pop3 server set auth pop3 server Use this command to create or modify the server pr operties of.
set auth radius rename-to FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 137 auth radius rename-to Use this command to rename a Radius auth entication profile.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 138 06-30004-0420-200808 14 auth radius server set auth radius server Use this command to create or modify the server prop e rtie s of a Radiu s authentication profile.
set auth smtp rename-to FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 139 auth smtp rename-to Use this command to rename an SMTP authentication profile.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 140 06-30004-0420-200808 14 auth smtp server set auth smtp server Use this command to create or modify the server prop e rtie s of an SMT P authentication profile.
set av delete FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 141 av delete Use this command to delete antivirus pr ofiles. Syntax set av <av_prof_name> delete where <av_prof_name> is the name of an antivirus profile.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 142 06-30004-0420-200808 14 av modify actions set av modify actions Use this command to select, for a specified antivirus profile, the action taken when the FortiMail unit detects an infected email message.
set av modify heuristic FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 143 av modify heuristic Use this command to enable or disable heuristic scanning for the specified antivirus profile.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 144 06-30004-0420-200808 14 av modify heuristic heuristic_action set av modify heuristic he uristic_ action Use this command to specify how this antivirus pr ofile handles email messages that contain an infected attachment, as detected throug h heuristics.
set av modify scanner FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 145 av modify scanner Use this command to enable or disable ant ivirus scanning for the specified profile.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 146 06-30004-0420-200808 14 av rename-to set av rename-to Use this command to enable or disable an ti virus scanning for the specified profile. Syntax set av <av_prof_name> rename-to <newname_str> <av_prof_name> is th e name of the antivirus profile to rename.
set console FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 147 console Use set console to configure console settings.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 148 06-30004-0420-200808 14 content delete set content delete Use this command to delete a content profile . Syntax set content <name_str> delete <name_str> is the name of the con tent profile.
set content modify action FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 149 content modify action Use this command to select the action to be ta ken on messages matching the specifie d conten t profile.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 150 06-30004-0420-200808 14 content modify bypass_on_auth set content modify byp ass_on_auth Use this command to allow messag es to bypass the content filters if SMTP authorization is ena bled and the de livering system successfully authenticate s.
set content modify defersize FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 151 content modify defersize Use this command to set the minimum size of files that wi ll be held for later content scanning.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 152 06-30004-0420-200808 14 content modify filetype set content modify filetype Use this command to block email att achments that match the specified file type.
set content modify monitor FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 153 content modify monitor Use this command to configur e content monitor profiles.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 154 06-30004-0420-200808 14 content modify monitor action set content modify monitor action Use this command to select the action to be take n with messages matching the specified content monitor profile.
set content modify monitor acti on FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 155.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 156 06-30004-0420-200808 14 fshd set fshd Use set fshd to configure For tiGuard se rvice on the FortiMail unit. Syntax set fshd cache status {enabled | disabled} set fshd cache ttl <ttl_int> set fshd hostname <hostname_str> set fshd status {enabled | disabled} .
set ip_policy FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 157 ip_policy Use this command to create a new IP policy . Policies are referenced by number , indicating their position in the policy list. Numbering st a rts with 0 for the first policy .
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 158 06-30004-0420-200808 14 ip_policy action set ip_policy action Use this command to set the defaul t action to be applied to a conn ection matching the spe cified IP policy .
set ip_poli cy as FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 159 ip_policy as Use this command to set the antisp am profile to be applied to traffic controlled by th e specified IP policy .
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 160 06-30004-0420-200808 14 ip_policy auth set ip_policy auth Use this command to set the authen tication type and profile to be ap plie d to the specified IP policy .
set ip_poli cy av FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 161 ip_policy av Use this command to set the antivirus profile to be applied to traffic controlled by the specified IP policy .
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 162 06-30004-0420-200808 14 ip_policy content set ip_policy content Use this command to set the antivirus profile to be applied to traf fic controlled by the specified IP policy .
set ip_policy delete FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 163 ip_policy delete Use this command to delete an IP policy . Policies are referenced by number , indicating their position in the policy list.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 164 06-30004-0420-200808 14 ip_policy exclusive set ip_policy exclusive Use this command to disable any checks for recipi ent- based p olicy matches wh ile this IP-based policy is in effect.
set ip_policy ip FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 165 ip_policy ip Use this command to set the session profile to be applied to the specified IP policy .
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 166 06-30004-0420-200808 14 ip_policy match (gateway and server modes) set ip_policy match (gateway and server mo des) Use this command to set the client IP address. The IP policy applie s to traf fic exchanged when t his client establish es a connection.
set ip_policy match (transparent mode) FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 167 ip_policy match (transp arent mode) Use this command to set the client and server IP ad dresses. The IP policy applies to traffic exchan ged when the client connected to th e server .
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 168 06-30004-0420-200808 14 ip_policy move set ip_policy move Use this command to move an IP-based poli cy from one position in the list to another .
set ip_policy smtp FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 169 ip_policy smtp Use this command to configur e the use of other authentication type s for SMTP .
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 170 06-30004-0420-200808 14 ip_pool set ip_pool Use this command to add create a new IP pool profile.
set ip_p ool ad d_entry FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 171 ip_pool add_entry Use this command to add a range of IP ad dresses to an IP pool profile.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 172 06-30004-0420-200808 14 ip_pool del_entry set ip_pool del_entry Use this command to delete an IP address range from an IP pool profile .
set ip_pool delete FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 173 ip_pool delete Use this command to delete an IP po ol profile.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 174 06-30004-0420-200808 14 set.
set ip_profile check FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 175 ip_profile check Use these commands to configure variou s session checks.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 176 06-30004-0420-200808 14 ip_profile check set History Related topics • set ip_profile connection • set ip_profile error .
set ip_profile connection FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 177 ip_profile connection Use these commands to configure vari ous session connection attributes.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 178 06-30004-0420-200808 14 ip_profile delete set ip_profile delete Use this command to delete a session profile. Syntax set ip_profile <name_str> delete <name_str> is the name of the prof ile.
set ip_profile error FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 179 ip_profile error Use these commands to set the par am eters related to session communication error penalties.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 180 06-30004-0420-200808 14 ip_profile headermanipulation set ip_profile headermanipulation Use these commands t o have the FortiMail unit re move headers you specify from email messages.
set ip_profile limit FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 181 ip_profile limit Use these commands to set th e parameters related to se ssion communic ation limits.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 182 06-30004-0420-200808 14 ip_profile list set ip_profile list Use these comm a nd s to en a ble or disab l e the ses sio n whit e an d bla ck lists.
set ip_profile mms_reputation FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 183 ip_profile mms_reput ation The MMS Reput ation menu enables you to co nfigure MSISDN blacklisting and whitelisting. When used on a mobile phone network, th e For tiMail unit can examine text messages for sp am.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 184 06-30004-0420-200808 14 ip_profile rename set ip_profile rename Use this command to rename an existing session profile .
set ip_profile sen derreputation FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 185 ip_profile senderreput ation Use these commands to configure the sender re putation feature.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 186 06-30004-0420-200808 14 ip_profile sendervalidation set ip_profile sendervalidation The sender validation o ptions allow c onfirmation of sender and message va lidity .
set ip_profile senderva lidation FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 187 Related topics • set ip_profile check • set ip_profile connectio.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 188 06-30004-0420-200808 14 ip_profile_setting rate_control set ip_profile_setting rate_control The rate control option enables you to contr ol the ra te at which email messa ges can be sent , either by the number of SMTP connectio ns or the number of email messages.
set ldap_profile profi le asav FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 189 ldap_profile profile asav Use these commands to enable the For tiMail unit to query an LDAP server for user antiviru s and antispam parameters.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 190 06-30004-0420-200808 14 ldap_profile clearallcache set ldap_profile clearallcache Use this command to clear all LDAP profile caches.
set ldap_profile profile auth FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 191 ldap_profile profile auth Use these commands to configure the wa y the way users are authenticated.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 192 06-30004-0420-200808 14 ldap_profile profile clearcache set ldap_profile profile clearcache Use this command to clear the ca ch e of the specified LDAP profile.
set ldap_profile profile fallb ack_server FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 193 ldap_profile profile fallback_server Use this command to configure an LDAP fallback server .
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 194 06-30004-0420-200808 14 ldap_profile profile group set ldap_profile profile group Use these commands to configure an LDAP group query .
set ldap_profile profile option FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 195 ldap_profile profile option Use these com mands to co nfigure the advanced L DAP profile op tions.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 196 06-30004-0420-200808 14 ldap_profile profile pwd set ldap_profile profile pwd Use these commands to configure webmail p assword options.
set ldap_profile profile routing FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 197 ldap_profile profile routing Use these commands to configure mail routing o pti ons if each user ’s LDAP profile cont ains mail routing information.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 198 06-30004-0420-200808 14 ldap_profile profile server set ldap_profile profile server Use these commands to configure information abo ut the LDAP server .
set ldap_profile profi le user FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 199 ldap_profile profile user Use these commands to configure user qu ery options for the FortiMail unit to qu e ry the LDA P server .
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 200 06-30004-0420-200808 14 ldap_profile profile user set • unset ldap_profile.
set limits domain-level FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 201 limit s domain-level Use this command to fine tune the d omain-relat ed maximum values on your FortiMail unit. The synt ax requires that the four values b e entere d every time the command is executed.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 202 06-30004-0420-200808 14 limits system-level general set limit s system-level general Use this command to fine tune the gener al syst em maximum values on your FortiMail unit. The syntax requ ires the thre e values be e ntered ever y time the comm and is exec uted.
set limits system-level group s FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 203 limit s system-level group s Use this command to fine tune the g rou p-related maximum values on your FortiMail unit. The synt ax req uires the two values be entered ever y time the command is executed.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 204 06-30004-0420-200808 14 limits system-level mail-users set limit s system-level mail-users Use this command to adjust the maximum numbe r of mail users that can be created on your FortiMail unit.
set limits system-level other-profiles FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 205 limit s system-level other-profiles Use this command to fine tune some of the profile -related maximum values on your FortiMail u nit.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 206 06-30004-0420-200808 14 limits system-level policies set limit s system-level policies Use this command to fine tune the policy-rela te d maximum values on your FortiMail unit.
set FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 207.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 208 06-30004-0420-200808 14 log msisdn set log msisdn Use this command to display the MSISDN column in Log & Report > Lo gging, in the web-base d manager . The MSISDN co lu m n dis pla ys on ly when this command is enabled.
set log policy destination event FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 209 log policy destination event Use this command to enable an d log events to a device. Y ou need to enable event log ging before selecting what event s to log to a device.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 210 06-30004-0420-200808 14 log policy destination history set log policy destination history Use this command to enable hi story logs to a device.
set log policy destination spam FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 21 1 log policy destination sp am Use this command to enable an d log spam events for a device. Y ou need to enable spam logging before selecting spam event s.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 212 06-30004-0420-200808 14 log policy destination virus set log policy destination virus Use this command to enable and log virus events for a device. Y ou need to enable virus lo gging before selecting virus event s.
set log re portconfig direction FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 213 log reportconfig direction Use this command to conf igure what types of ema ils the report will c ontain.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 214 06-30004-0420-200808 14 log reportconfig domai n set log reportconfig domain Use this command to configure what doma in or domains the report will contain.
set log reportconfig mailto FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 215 log reportconfig mailto Use this command to configur e the email addresse s you wan t to se nd the generated report to.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 216 06-30004-0420-200808 14 log reportconfig peri od set log reportconfig period Use this command to configure the time fr ame of logs you want included in the report.
set log reportconfig qry FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 217 log reportconfig qry Use this command to enable the typ e of query you w ant included in the report, such as email statistic messages by day .
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 218 06-30004-0420-200808 14 log reportconfig schedule hour set log reportconfig schedule hour Use this command to schedule when the rep ort is automatically generated.
set log setting console FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 219 log setting console Use this command to configur e log ging to the console.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 220 06-30004-0420-200808 14 log setting local set log setting local Use this command to configure logging to the local Fo rtiMail hard disk.
set log setting syslog FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 221 log setting syslog Use this command to configur e logging to the Syslog server .
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 222 06-30004-0420-200808 14 log setting syslog set Related topics • set log setting localset • set log policy destination ev.
set log view fiel d s FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 223 log view fields Use this command to co nfigure what columns will appear when viewing a log type in the web-based manager .
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 224 06-30004-0420-200808 14 log view loglevel set log view loglevel Use this command to configure the log severity leve l of what displays wh en viewing log messages in the web-based man ager .
set mailserver access FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 225 mailserver access Use this command to configure, dele te, and reorder mailserver access rules. Access rules are processed in numerical o rder .
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 226 06-30004-0420-200808 14 mailserver access set History tlsprofile <profile_str> T o enforce TLS connection attributes, select a TLD profile.
set mailserver archive account FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 227 mailserver archive account Use this command to configure the ar chive account settings.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 228 06-30004-0420-200808 14 mailserver archive exemptlist set mailserver archive exemptlist Use this c ommand to co nfigure th e exemptlist and exemp tlist entries.
set mailserver archive loca l quota FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 229 mailserver archive local quot a Use this command to specify th e archive quot a if the archive is stored on the FortiMail unit.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 230 06-30004-0420-200808 14 mailserver archive policy set mailserver archive policy Use this command to conf igure archive policies.
set mailserver archive remote FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 231 mailserver archive remote Use this command to specify the settings used when th e FortiMail unit w ill stor e its email archive on a remote h ost.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 232 06-30004-0420-200808 14 mailserver deadmail set mailserver deadmail Use this command to enter the nu mbe r of days to keep email with incorrect recipient and sender addresses.
set mailserv er portnumber FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 233 mailserver portnumber Use this command to enter email port numbe rs for the FortiMail unit.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 234 06-30004-0420-200808 14 mailserver proxy smtp interfac e set mailserver proxy smtp interface Use this command to configure SMTP proxy behavio r on an interfa ce. The unknown keyword is for handling unknown servers.
set mailserver proxy smtp unknown FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 235 mailserver proxy smtp unknown Use this command to configur e SMTP pr oxy behavior for unknown servers.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 236 06-30004-0420-200808 14 mailserver relayserver set mailserver relayserver Use this command to configure the relay server se ttings including name, port, and au thentication.
set mailserver smtp deferbigmsg FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 237 mailserver smtp deferbigmsg Use this command to configure the period when deferred oversize d emails will start and stop being processed.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 238 06-30004-0420-200808 14 mailserver smtp delivery set mailserver smtp delivery Selecting ‘yes’ for this comma nd will turn off ESMTP delivery . Syntax set mailserver smtp delivery noesmtp {yes | no} History FortiMail v3 .
set mailserver smtp dsn_ FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 239 mailserver smtp dsn_ Use this command to configure the de livery status notification (DSN) messag es sender information.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 240 06-30004-0420-200808 14 mailserver smtp ldap_domain_che ck set mailserver smtp ldap_domain_check Use this command to check the validity of domains not configured on the FortiMail unit with LDAP verification.
set mailserver smtp queue FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 241 mailserver smtp queue Use this command to configure the time ou ts and retries for undelivere d mail in queues.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 242 06-30004-0420-200808 14 mailserver smtpauth set mailserver smtp auth Use this command to enable or disable au thentica tion using SMTP , SMTP over TLS, or SMTPS. If authentication is not configured, clients can still attempt to authentic ate, though they will always fail.
set mailserver smtpssl FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 243 mailserver smtp ssl Use this command for SMTP ov er secure socket layer (SSL). Syntax set mailserver smtpssl {enabled | disabled} History FortiMail v3.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 244 06-30004-0420-200808 14 mailserver smtp storage set mailserver smtp storage Use this command to configure local or network file storage (NFS) options.
set mailserver smtp storage cquar FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 245 mailserver smtp storage cquar Use this command to configur e cent ral quarantine mail storage optio ns. Central quaranti ne stores quarantined email on a se parate high-end model FortiMail unit.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 246 06-30004-0420-200808 14 mailserver smtp storage cquar set set mailserver smtp storage cquar remoteserver name “FortiMailClient1” host 10.10.10.2 History FortiMail v3 .0 MR3 New .
set mailserver systemquarantine FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 247 mailserver systemquarantine Use this command to configur e the system q uarantine settings.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 248 06-30004-0420-200808 14 misc profile delete set misc profile delete Use this command to delete a misc profile. Th is command is available in server mode only . Syntax set misc profile <name_str> delete <name_str> is the name of the misc profile.
set misc profile modify quota FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 249 misc profile modify quot a Use this command to change the disk sp ace quot a in mega bytes for the mail user account, or accounts, for the sp ecified profile.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 250 06-30004-0420-200808 14 misc profile modify userstatus set misc profile modify userst atus Use this command to enable or disable the user acc ount, or accounts, for the specified profile .
set misc profile modify webmailaccess FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 251 misc profile modify webmailaccess Enables or disables W ebmail access for the specifie d profile. This command is available in server mode only .
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 252 06-30004-0420-200808 14 misc profile rename -to set misc profile rename-to Use this command to rename a misc profile.
set out_content delete FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 253 out_content delete Use this comm and to de lete a outgoin g content profile. Syntax set out_content <name_str> delete <name_str> is the name of the outg o ing con ten t pr of ile.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 254 06-30004-0420-200808 14 out_content modify action set out_content modify action Use this command to select the action to be t aken with messages matching the specified outgoin g content profile.
set out_content modify bypass_on_auth FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 255 out_content modify byp ass_on_auth Use this command to allow messages to byp ass the outgoing conten t filte rs if SMTP au th or iza tio n is enabled and the delivering system successfully au thenticates.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 256 06-30004-0420-200808 14 out_content modify filetype set out_content modify filetype Use this command to block email att achments that match the specified file type.
set out_content modify mon itor action FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 257 out_content modify monitor action Use this command to select the action to be t aken with messages matchi ng the spe cified outgoing content monitor profile.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 258 06-30004-0420-200808 14 out_content modify moni tor set out_content modify monitor Use this command to configure outgoing content monitor pr ofiles.
set out_content modify monitor FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 259.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 260 06-30004-0420-200808 14 out_policy profile delete set out_policy profile delete Use this command to delete a n outgoing recipien t-based policy . This command applies to gateway and transp arent modes only .
set out_policy modify FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 261 out_policy modify Use these commands to configure outgoi ng recipient-based policies. This command applies to gateway and transparent mod es only .
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 262 06-30004-0420-200808 14 out_policy move-to set out_policy move-to Use this command to move an outgo ing recipient-base d policy to a new position in the policy list. This command applies to ga te way and transpare nt mode s only .
set out_policy rename-to FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 263 out_policy rename-to Use this command to rename an outg oing recipient-based policy . This command applies to gateway and transparent mod es on ly .
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 264 06-30004-0420-200808 14 out_profile profile delete set out_profile profile delete Use this command to delete an outgoing antisp am profile. Syntax set out_profile profile <name_str> delete <name_str> is the name of the outgoin g antis pam prof ile.
set out_profile profile modify acti ons FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 265 out_profile profile modify actions Use these command to modify the actions of an outgoing antisp am profile. Reject, discard, and forward ar e mutually exclusive.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 266 06-30004-0420-200808 14 out_profile profile modify bannedword set out_profile profile modify bannedword Use this command to enable or disable ou tg oing banned word filtering for the specified profile.
set out_profile profile modify bannedw ordli st FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 267 out_profile profile modify bannedwordlist Use these command to modify the banned wo rd list for an outgoing antispam profile.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 268 06-30004-0420-200808 14 out_profile profile modify bayesian set out_profile profile modify bayesian Use this command to enable or disable Bayesian sp am filtering for the specifie d antispam pr ofile.
set out_profile profile modify deephea der FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 269 out_profile profile modify deepheader Use this command to enable or disable deep heade r scanning or for th e specified profile.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 270 06-30004-0420-200808 14 out_profile profile modify dictionary set out_profile profile modify dictionary Use these commands to configure dictionary sca ns for th e sp ecified outgoing antispam profile.
set out_profile profile modify dn sbl FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 271 out_profile profile modify dnsbl Use this command to enable or disable communication with the DNSBL servers to scan email for the specified outg oing an tis pam profile.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 272 06-30004-0420-200808 14 out_profile profile modify dnsblserver set out_profile profile modify dnsblserver Use thes e commands t o modify the DNSBL ser ver list for an outgoing antispam profile.
set out_profile profile modify fortishield FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 273 out_profile profile modify fortishield Use these commands to configure Fo rtiGuard-Antispam functio ns for an outgoing antisp am profile.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 274 06-30004-0420-200808 14 out_profile profile modify greylist set out_profile profile modify greylist Use this command to enable or disable gr ey listing fo r an outg oing antispam profile .
set out_profile profile modify heuristic FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 275 out_profile profile modify heuristic Use these commands to configure heuristic sc anning for an outg oing antis pam profile.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 276 06-30004-0420-200808 14 out_profile profile modify imagespam set out_profile profile modify imagesp am Use these commands to configure an outgoing an tisp am profile to identify spam messages in which the text is stored as an embedded grap hics file.
set out_profile profile modify individualaction scanner FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 277 out_profile profile modify individualaction scanner Use these commands to set the action each spam de tection method takes for messag es detected as spam.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 278 06-30004-0420-200808 14 out_profile profile modify scanoptions set out_profile profile modify scanoptions Use these commands to configure scannin g op tions for an outgoing antispam profile.
set out_profile profile modify surbl FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 279 out_profile profile modify surbl Use this command to enable or disable the che cking of mail against defined SURBL servers for an outgoing antispam pr ofile.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 280 06-30004-0420-200808 14 out_profile profile modify surblserver set out_profile profile modify surblserver Use thes e commands t o configure the SURBL se rver list for an outgoing antispam profile.
set out_profi le profile modify tags FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 281 out_profile profile modify t ags Use these commands to configure head er and subj ect tagging for an outgoing antispam profile .
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 282 06-30004-0420-200808 14 out_profile profile modify virus set out_profile profile modify virus Use this command to enable or disable treating messa ges with a virus as spam.
set out_profile profile m odify whitelistword FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 283 out_profile profile modify whitelistword Use this command to enable or disable whitelist word checking in the spec ified outgoin g antispam profile.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 284 06-30004-0420-200808 14 out_profile profile modify whitelistwordlist set out_profile profile modify whitelistwordlist Use this command to add, delete, or modify whit elist words for the spec ified antispam profile.
set out_profile profile rename-to FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 285 out_profile profile rename-to Use this command to rename an ou tgoing antispam profile.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 286 06-30004-0420-200808 14 out_profile profile rename-to set.
set policy delete FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 287 policy delete Use this command to remove the sp ecified policy .
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 288 06-30004-0420-200808 14 policy modify add_a ssociation set policy modify add_association Use this command to configure domain associations.A domain association is a domain name that us es all the settings configured for the do main it is as sociated with.
set policy modify bverify_addr FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 289 policy modify bverify_addr Use this command to enable or disab le background ad dress verifica tion for the specified dom ain.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 290 06-30004-0420-200808 14 policy modify fallback set policy modify fallback Use this command to set the fallba ck host for the specified domain. An o ptional fallback host port number may be specified.
set policy modify ip FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 291 policy modify ip Use this command to set the SMTP server IP of the email server fo r the specified domain. This command is available in gateway and tr ansparent mo des only .
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 292 06-30004-0420-200808 14 policy modify is_subdo main set policy modify is_subdomain Use this command to set whether the specified do main is a subdomain. This command is available in gateway and transpa rent modes only .
set pol icy modify ldap FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 293 policy modify ldap Use this command to set up LDAP based au thentication for:.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 294 06-30004-0420-200808 14 policy modify mxflag set policy modify mxflag Use this command to enable or disable the use of MX reco rd for this domain. This co mmand is available in gateway and transparent modes only .
set policy modify tp FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 295 policy modify tp Use this command to configure tran sparent mode settings including transp arent mode masquerading setting. This command is available only in transp arent mode.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 296 06-30004-0420-200808 14 policy modify user set policy modify user Use this com mand to co nfigure recip ient-based polic ies. This command is available in gateway and transp arent modes only .
set policy modify verify_addr FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 297 policy modify verify_addr Use this command to enable or disable recipient add ress verification. This command is availa ble in gateway and transparent mod es only .
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 298 06-30004-0420-200808 14 policy modify rename-to set policy modify rename-to Use this command to rename th e specified domain to the new domain name. This comm and is available in gateway and transparent modes only .
set spam deepheader FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 299 sp am deepheader Use this command to configur e the header a nalysis settings of the deep heade r sca n feature.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 300 06-30004-0420-200808 14 spam retrieval policy set sp am retrieval policy Use this command to enable or disable au thentication for a user on the specified domain to re trieve spam fr om the FortiMail unit using POP3 or HTTP .
set system admin FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 301 system admin Use this command to create or edit a system admi n o n your FortiGate system.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 302 06-30004-0420-200808 14 system appearance set system appearance Use this command to customize the appea rance of your FortiMail unit.
set system autoupdate pushaddressoverride FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 303 system autoup date pushaddressoverride Use this command to change the IP addr ess and port the FDN server sends updates on.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 304 06-30004-0420-200808 14 system autoupdate pushupdate set system autoup date pushup d ate Use this command to enable or disable pu sh updates from the Fortinet Dis tribution Netw ork (FDN).
set system autoupdate schedule FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 305 system autoup date schedule Use this command to schedule updates.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 306 06-30004-0420-200808 14 system autoupdate tunneling set system autoup date tunneling Use this command to configure web proxy tunn eling.
set system ddns FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 307 system ddns Use this command to configur e Dyn amic DNS for this interface.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 308 06-30004-0420-200808 14 system disclaimer allowdomain set system disclaimer allowdomain Use this command to enable per-domain disclaime r settings.
set system disclaimer incoming FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 309 system disclaimer incoming Use this command to configur e incoming disclai mer messages. Disclaimer messages can be applie d to either the body or header of an email.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 310 06-30004-0420-200808 14 system disclaimer outgoing set system disclaimer outgoing Use this command to config ure outgoing disclaimer messages. Disclaimer messages can be applied to either the body or header of an email.
set system dns FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 31 1 system dns Use this command to the DNS addresses an d beh avior .
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 312 06-30004-0420-200808 14 system fortimanager set system fortimanager Use this command to configure FortiManager support.
set system ha config FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 313 system ha config Use this comm and to chan ge the TCP port and time interval for synchronizin g the Fort iMail configuration. In most cas es you do n ot have to change the defau lt settings.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 314 06-30004-0420-200808 14 system ha {cpeer | interface | peer | se condary-interface | secondary-peer} set system ha {cpeer | .
set system ha {cpeer | interface | peer | secondary-interface | secondary-peer} FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 315 <primary-local_ipv4> <netmask_ipv4> The primary heartbeat local IP address and netmask for this FortiMail unit.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 316 06-30004-0420-200808 14 system ha {cpeer | interface | peer | se condary-interface | secondary-peer} set Example: configurin.
set system ha {cpeer | interface | peer | secondary-interface | secondary-peer} FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 317 Enter the following c.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 318 06-30004-0420-200808 14 system ha data set system ha dat a Use this command to set the TCP port and time interval for synchronizing FortiMail dat a. In most cases you do not have to change the default settings.
set system ha dat adir FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 319 system ha dat adir Use this command to enable or disable synchroniz ing FortiMail mail data in cluding the system ma il directory , user home directories, and the MT A sp ool directories (FortiMail queues).
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 320 06-30004-0420-200808 14 system ha lservice set system ha lservice Use this command to configure HA primary unit lo ca l services monitoring. Configure local service monitoring so that an active -passive HA primary unit monitors it s own network interfaces and hard drives.
set system ha mode FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 321 system ha mode Use this command to set the HA configured oper atin g mode of the Fo r tiM ail unit. The FortiMail unit switches to operating in the HA configured operati ng mode immediately afte r you enter this command.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 322 06-30004-0420-200808 14 system ha monitor set system ha monitor Use this command to configure how the For tiMail HA daemon sen ds HA hear tb eat p a ckets to detect if the primary unit has failed.
set system ha monitor FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 323 History Related topics FortiMail v3.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 324 06-30004-0420-200808 14 system ha on-failure set system ha on-failure Use this command to control the behavior of a Fort iMail unit in an active-p assive HA group wh en remote service monitoring detect s a failure.
set system ha passwd FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 325 system ha p asswd Use this command to Change HA gr oup shared passwo rd. In most cases you do not have to cha nge any of the HA daemon settin gs.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 326 06-30004-0420-200808 14 system ha remote-as-heartbeat set system ha remote-as-heartbeat Use this command to enable or disable using rem ote monitoring as an HA heartbeat.
set system ha {restart | restor e | resync} FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 327 system ha {rest art | restore | resync} Use these commands to execute commands on a Fo r tiMail unit that control how the HA system operates.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 328 06-30004-0420-200808 14 system ha rservice set system ha rservice Use this command to configure HA backup unit remote servic.
set system ha rservice FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 329 Example Enter the following command on an active-passive HA backup unit to configur e remote services monitoring to monitor the POP3 service on a prim ary unit interface with IP address 10.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 330 06-30004-0420-200808 14 system ha takeover set system ha t akeover Use this command to configure HA network interfac e in master mode configuration options for an active-passive HA gr oup to control how network interf ace IP addressing and statu s is changed by HA.
set system ha takeover FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 331 Example Enter the following command to set the port5 int erfac e with a virtual IP address of 10.10.10.2 and a netmask of 255.255.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 332 06-30004-0420-200808 14 system ha takeover set Related topics • set system ha config • set system ha {cpeer | interface .
set system hostname FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 333 system hostname Use this command to configur e the FortiMail unit hostname. Syntax set system hostname <hostname_str> History FortiMail v3.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 334 06-30004-0420-200808 14 system interface config set system interface config Use this command to configure FortiMail in terf .
set system interface mode dhcp FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 335 system interface mode dhcp Use this command to enable or co nfigure DHCP for this interface. If only the dhcp keyword is used, both connecti on and default gateway are enabled by defaul t.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 336 06-30004-0420-200808 14 system interface mode static set system interface mode st atic Use this command to enable or configur e a st atic IP for this interface. When setting an interfa ce to static IP mode, an IP address and netmask must be include d.
set system opmode FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 337 system opmode Use this command to change th e operation mode (opmode) of th e FortiMail unit. Only the default FortiMail system ad ministrator account ca n change th e opmode of the FortiM ail un it.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 338 06-30004-0420-200808 14 system option set system option Use these commands to configure FortiMail ad ministration including:.
set system route number FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 339 system route number Use this command to set and configu re system routing.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 340 06-30004-0420-200808 14 system snmp community set system snmp community Use this command to set and configure the system simple networ k manageme nt protocol (SNMP) setti ngs.
set system snmp community FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 341 History Related topics • set system snmp {sysinfo | threshold} Note: The Power Supply Monitored (psu) option fo r trap event is visibl e for all FortiMail models.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 342 06-30004-0420-200808 14 system snmp {sysin fo | threshold} set system snmp {sysinfo | threshold} Use this command to set and configure SNMP monitor ing of the FortiMail unit and thresholds for SNMP traps.
set system time manual FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 343 system time manual Use this command to set and configu re system time settings manually .
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 344 06-30004-0420-200808 14 system time ntp set system time ntp Use this command to set and configure system ti me settings using network time protocol (NTP).
set system usrgrp FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 345 system usrgrp Use this command to add a user group and its members to the specified domain. Syntax set system usrgrp domain <domain> name <'usrgrp_name_str'> member <'usrgrp_name_str' .
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 346 06-30004-0420-200808 14 user set user Use this command to configure email users, user gr ou ps, and user aliases in server mo de.
set user pki FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 347 user pki Use this command to configur e PKI authentication for users.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 348 06-30004-0420-200808 14 userpolicy delete set userpolicy delete Use this command to delete the specified user policy .
set userpolicy modify FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 349 userpolicy modify Use this command to de fin e th e pr of iles us ed w i th the specified policy . This command applies to server mode only .
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 350 06-30004-0420-200808 14 userpolicy move-to set userpolicy move-to Use this command to move the specified pol icy to a new position in the policy list. This command applies to server mode only .
set userpolicy rename-to FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 351 userpolicy rename-to Use this command to rename an existin g user po licy .
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 352 06-30004-0420-200808 14 userpolicy rename-to set.
unset FortiMail™ Secure Messa ging Platform V ersion 3.0 MR4 CLI Re fere nce 06-30004-0420-2008081 4 353 unset This chapter descr ib es the following commands: alertemail configuration ldap_profile .
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 354 06-30004-0420-200808 14 alertema il configurat ion unset alertemail configuration Use this command to remove the alerte mail configuration. Syntax unset alertemail configuration History FortiMail v3 .
unset ldap_p rofile FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 355 ldap_profile Use this command to dele te an LDAP profile. Syntax unset ldap_profile profile <name_str> <name_str> is the name of the LDAP profile to delete .
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 356 06-30004-0420-200808 14 log reportc on fi g unset log reportconfig Use this command to delete a log configuration . Syntax unset log reportconfig <name_str> <name_str> is the name of the log config ur at ion .
unset mailserver FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 357 mailserver Use this command to remove p arts of the email server configuration .
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 358 06-30004-0420-200808 14 system unset system Use this command to remove p arts of the system configuration . Syntax unset system <configuration> History <configuration> Description admin username <account_str> Delete the configured administrator account.
unset user (transparent and gateway) FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 359 user (transp arent and gateway) Use this command to remove p arts of the user configuration.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 360 06-30004-0420-200808 14 user (server) unset user (server) Use this command to remove p arts of the user configu ra tion. Syntax unset user <configuration> History <configuration> Description alias name <alias_str> Delete this user alias.
Index FortiMail™ Secure Messa ging Platform V ersion 3.0 MR4 CLI Re fere nce 06-30004-0420-2008081 4 361 Index A add to bridge HA interface option 331 add virtual IP/netmask HA interface option 331 .
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 362 06-30004-0420-200808 14 Index deadmail setting retain time 232 deep header scan enabling in antispam profile 112 delivery st.
Index FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 363 creating 157 deleting 163 disabling recipient-based policy checkin g 164 enabling SMTP authenti.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 364 06-30004-0420-200808 14 Index HA 327 setting 337 outgoing antispam pr ofile configure tagging 281 configuring dictionary sca.
Index FortiMail™ Secure Messaging Platfo rm V ersion 3.0 MR4 CLI Reference 06-30004-0420-20080 814 365 sysinfo 342 spam reports configuring 131 spam retrieval enabling authentication 30 0 SPF 186 SU.
FortiMail™ Secure Messaging Pl atform V ersio n 3.0 MR4 CLI Reference 366 06-30004-0420-200808 14 Index.
www.fortinet.com.
www.fortinet.com.
デバイスFortinet FortiMail 3.0 MR4の購入後に(又は購入する前であっても)重要なポイントは、説明書をよく読むことです。その単純な理由はいくつかあります:
Fortinet FortiMail 3.0 MR4をまだ購入していないなら、この製品の基本情報を理解する良い機会です。まずは上にある説明書の最初のページをご覧ください。そこにはFortinet FortiMail 3.0 MR4の技術情報の概要が記載されているはずです。デバイスがあなたのニーズを満たすかどうかは、ここで確認しましょう。Fortinet FortiMail 3.0 MR4の取扱説明書の次のページをよく読むことにより、製品の全機能やその取り扱いに関する情報を知ることができます。Fortinet FortiMail 3.0 MR4で得られた情報は、きっとあなたの購入の決断を手助けしてくれることでしょう。
Fortinet FortiMail 3.0 MR4を既にお持ちだが、まだ読んでいない場合は、上記の理由によりそれを行うべきです。そうすることにより機能を適切に使用しているか、又はFortinet FortiMail 3.0 MR4の不適切な取り扱いによりその寿命を短くする危険を犯していないかどうかを知ることができます。
ですが、ユーザガイドが果たす重要な役割の一つは、Fortinet FortiMail 3.0 MR4に関する問題の解決を支援することです。そこにはほとんどの場合、トラブルシューティング、すなわちFortinet FortiMail 3.0 MR4デバイスで最もよく起こりうる故障・不良とそれらの対処法についてのアドバイスを見つけることができるはずです。たとえ問題を解決できなかった場合でも、説明書にはカスタマー・サービスセンター又は最寄りのサービスセンターへの問い合わせ先等、次の対処法についての指示があるはずです。