Fortinet black logo

CLI Reference

archive exempt-policy

archive exempt-policy

Use this command to configure the exemptions to email archiving.

This command applies only if email archiving is enabled.

Syntax

config archive exempt-policy

edit <policy_id>

set account <account_name>

set pattern <string>

set status {enable | disable}

set type {sender | recipient | spam}

end

Variable

Description

Default

<policy_id>

Enter the index number of the exemption policy.

To view a list of existing entries, enter a question mark ( ? ).

account <account_name>

Enter the name of the email archive account that you want to apply the exemption policy to.

pattern <string>

Enter a pattern, such as user*@example.com, that matches the attachment file name, text in the email body, text in the email subject, sender or recipient email addresses to which this exemption will apply.

*

status {enable | disable}

Enable to activate the email archiving exemption.

enable

type {sender | recipient | spam}

Enter one of the following exemption match types:

sender: The sender email address will be evaluated for matches with pattern.

recipient: The recipient email address will be evaluated for matches with pattern.

spam: Do not archive spam emails.

sender

Related topics

archive journal

antispam url-fgas-exempt-list

archive exempt-policy

Use this command to configure the exemptions to email archiving.

This command applies only if email archiving is enabled.

Syntax

config archive exempt-policy

edit <policy_id>

set account <account_name>

set pattern <string>

set status {enable | disable}

set type {sender | recipient | spam}

end

Variable

Description

Default

<policy_id>

Enter the index number of the exemption policy.

To view a list of existing entries, enter a question mark ( ? ).

account <account_name>

Enter the name of the email archive account that you want to apply the exemption policy to.

pattern <string>

Enter a pattern, such as user*@example.com, that matches the attachment file name, text in the email body, text in the email subject, sender or recipient email addresses to which this exemption will apply.

*

status {enable | disable}

Enable to activate the email archiving exemption.

enable

type {sender | recipient | spam}

Enter one of the following exemption match types:

sender: The sender email address will be evaluated for matches with pattern.

recipient: The recipient email address will be evaluated for matches with pattern.

spam: Do not archive spam emails.

sender

Related topics

archive journal

antispam url-fgas-exempt-list