mailsetting storage config
Use these commands to configure the FortiMail unit to store mail data such as queues and email user mailboxes either on its local hard disks, or on a network file storage (NFS or ISCSI) server.
If the FortiMail unit is operating in an HA group, remote storage may be required or recommended. For more information, see the FortiMail Administration Guide.
Syntax
config mailsetting storage config
set encryption-key
set host <host_str>
set iscsi-use-initiator {enable | disable}
set nfs-version (auto | nfs-v3 | nfs-v4}
set port <port_int>
set protocol {nfs | iscsi_server}
end
Variable |
Description |
Default |
Enter the key that will be used to encrypt data stored on the ISCSI server. Valid key lengths are between 6 and 64 single-byte characters. Applies only when |
|
|
Enter the directory path of the NFS export on the NAS server where the FortiMail unit will store email. Applies only when |
|
|
Enter the IP address or fully qualified domain name (FQDN) of the NFS or ISCSI server. |
|
|
Enter the ISCSI identifier in the format expected by the ISCSI server, such as an ISCSI Qualified Name (IQN), Extended Unique Identifier (EUI), or T11 Network Address Authority (NAA). Applies only when |
|
|
Enable to use ISCSI initiator name as username. |
disable |
|
Use this command to control supported NFS versions. This command is helpful when NFS version 4 causes problems, you can specify to use NFS version 3. |
auto |
|
Enter the password of the FortiMail unit’s account on the ISCSI server. Applies only when |
|
|
Enter the TCP port number on which the NFS or ISCSI server listens for connections. |
2049 |
|
Select the type of the NAS server: |
nfs |
|
Select whether to store email locally or on an NFS server. |
local |
|
Enter the user name of the FortiMail unit’s account on the ISCSI server. Applies only when |
|