archive account
Use this command to configure email archiving accounts.
This command applies only if email archiving is enabled.
Syntax
config archive account
edit <account_name>
set destination {local | remote}
set forward-address <recipient_email>
set imap-access {enable | disable}
set index-type {full | header |none}
set local-quota-cache <cache_int>
set quota-full {overwrite | noarchive}
set remote-directory <path_str>
set remote-password <password_Str>
set remote-protocol {ftp | sftp}
set remote-username <user_str>
set retention-period <time_int>
end
Variable |
Description |
Default |
Enter the email archiving account name. |
archive |
|
Select whether to archive to the local disk or remote server. |
local |
|
Enter the email address to which all archived messages will also be forwarded. If no forwarding address exists, the FortiMail unit will not forward email when it archives it. |
|
|
Enable/disable IMAP access to the archive account. |
disable |
|
Type |
none |
|
Enter the local disk quota for email archiving in gigabytes (GB). The valid range depends on the amount of free disk space. |
5 |
|
Enter the local disk quota for caching in gigabytes (GB). The valid range depends on the amount of free disk space. |
5 |
|
Enter the archiving account’s password. |
forti12356net |
|
Enter either:
|
overwrite |
|
Enter the directory path on the remote server where email archives will be stored. |
|
|
Enter the IP address of the remote server that will store email archives. |
0.0.0.0 |
|
Enter the password of the user account on the remote server.
|
|
|
Enter either |
sftp |
|
Enter the name of a user account on the remote server. |
|
|
Enter the maximum age in days that rotated archive folders are kept before they are removed. The valid range is from 0 to 3650 days. The default value of |
0 |
|
Enter the hour of the day to start the mailbox rotation. See rotation-time <time_int>. |
0 |
|
Enter the maximum size of the current email archiving mailbox in megabytes (MB). When the email archiving mailbox reaches either the maximum size or age, the email archiving mailbox is rolled (that is, the current email archiving mailbox is saved to a file with a new name, and a new email archiving mailbox is started). The valid range is from 10 to 200 MB. |
100 |
|
Enter the maximum age of the current email archiving mailbox in days. When the email archiving mailbox reaches either the maximum size or age, the email archiving mailbox is rolled (that is, the current email archiving mailbox is saved to a file with a new name, and a new email archiving mailbox is started). The valid range is from 1 to 365 days. |
7 |
|
Enable to activate email archiving. |
disable |