archive account
Use this command to configure email archiving accounts.
This command applies only if an email archiving policy is enabled.
Syntax
config archive account
edit <account_name>
[set comment "<comment_str>"]
set forward-address <recipient_email>
set forward-as-attachment {enable | disable}
set index-type {full | header | none}
set imap-access {enable | disable}
set quota-full {overwrite | noarchive}
set destination {local | remote}
set local-quota-cache <cache_int>
set retention-period <time_int>
set remote-protocol {ftp | sftp}
set remote-host {<server_ipv4>[:<port_int>] | <server_fqdn>[:<port_int>]}
set remote-username <user_str>
set remote-password <password_str>
set remote-directory <path_str>
end
|
Variable |
Description |
Default |
|
Enter the user name of the email archiving account. Do not include spaces in the name. |
archive |
|
|
Enter a description or comment. |
|
|
|
Select where to store email archives, either:
|
local |
|
|
If you require it, enter an email address where FortiMail will forward a copy when it archives an email. Also configure forward-host <mta_fqdn> and forward-as-attachment {enable | disable}. If no forwarding address exists, then FortiMail will not forward email when it archives it. |
|
|
|
Enter the FQDN of the MTA to use when forwarding a copy of the archived email. This setting applies only if forward-address <recipient_email> is not empty. |
|
|
|
Enable or disable forwarding a copy of the archived email as an attachment. This setting applies only if forward-address <recipient_email> is not empty. |
disable |
|
|
Enable or disable IMAP service for access to locally stored email archives. Alternatively, administrators can access locally stored email archives through the administrative GUI. See the documentation for email archives in the FortiMail Administration Guide. |
disable |
|
|
Select whether to index the email archives for faster search, and what part of each email is indexed:
|
none |
|
|
Enter the disk space usage quota, in gigabytes (GB), for local storage of the email archives. The valid range is from 1 to a number that varies by the type of local storage:
|
5 |
|
|
Enter the disk space usage quota, in gigabytes (GB), for local cache before remote storage of the email archives. The valid range has the same limits as |
5 |
|
|
Enter the password for the email archiving account. |
|
|
|
Select what FortiMail should do if it runs out of disk space (
Whenever an archiving account reaches its disk quota, FortiMail may send an alert email to the administrator. See log alertemail recipient. Note: You cannot manually delete specific archived email messages. The only way to delete all of the email archives is to format the mail data disk. |
overwrite |
|
|
Enter the directory path on the remote storage server where FortiMail will store archived email, such as |
|
|
|
remote-host {<server_ipv4>[:<port_int>] | <server_fqdn>[:<port_int>]} |
Enter the IP address or fully qualified domain name of the remote server that will store email archives. If the server listens on a non-IANA-standard port number (depending on the selection in remote-protocol {ftp | sftp}), also append the port number. |
|
|
Enter the password for the user name on the remote storage server. |
|
|
|
Select which protocol, either SFTP or FTP, FortiMail will use to transfer email archives to the remote storage server. |
sftp |
|
|
Enter the user name of the account that FortiMail will use to log into the remote storage server. |
|
|
|
Enter how long, in days, to keep the archive folders. Older folders will be removed. The valid range is 0 to 3650 days. 0 effectively disables the retention limit; archive folders will not be removed. |
365 |
|
|
Enter the hour of the day to start the mailbox rotation. See also rotation-time <time_int>. |
0 |
|
|
Enter the maximum size of the current email archiving mail folder in megabytes (MB). When the mail folder reaches either the rotation size or time specified, whichever comes first, the email archiving mail folder is automatically renamed. FortiMail generates a new mail folder, where it continues saving newer email archives. The valid range is from 10 to 800 MB. |
200 |
|
|
Enter the maximum age of the current email archiving mail folder in days. When the mail folder reaches either the rotation size or time specified, whichever comes first, the email archiving mail folder is automatically renamed. FortiMail generates a new mail folder, where it continues saving newer email archives. The valid range is from 1 to 365 days. See also rotation-hour <hour_int>. |
7 |
|
|
Enable or disable the email archiving account. |
enable |