Fortinet white logo
Fortinet white 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 <pattern_Str>

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 <pattern_Str>

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 the match type, either:

  • 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

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 <pattern_Str>

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 <pattern_Str>

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 the match type, either:

  • 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