Fortinet white logo
Fortinet white logo

CLI Reference

mailsetting preference

mailsetting preference

When you configure antispam, antivirus, and content action profiles, you may use the following actions:

  • Deliver to alternate host
  • Deliver to original host
  • System quarantine
  • Personal quarantine

For the above actions, you can choose to deliver or quarantine the original email or the modified email. For example, when the HTML content is converted to text, if you choose to deliver the unmodified copy, the HTML version will be delivered; if you choose to deliver the modified copy, the plain text version will be delivered.

Syntax

config mailsetting preference

set deliver-to-alternate-host {modified_copy | unmodified_copy}

set deliver-to-original-host {modified_copy | unmodified_copy}

set disclaimer-insertion {selected-message | all-message}

set domain-quarantine {modified_copy | unmodified_copy}

set enforce-delivery {enable | disable}

set personal-quarantine {modified_copy | unmodified_copy}

set personal-quarantine-attachment-scan {enable | disable}

set replacement-message-location {beginning | end}

set subject-tag-location {beginning | end}

set system-quarantine {modified_copy | unmodified_copy}

end

Variable

Description

Default

deliver-to-alternate-host {modified_copy | unmodified_copy}

Specify to use the modified email or the unmodified email.

modified_copy

deliver-to-original-host {modified_copy | unmodified_copy}

Specify to use the modified email or the unmodified email.

modified_copy

disclaimer-insertion {selected-message | all-message}

Define the email disclaimer insertion preference:

  • selected-message: Disclaimer will not be added once again if the email is part of the existing email thread.

  • all-message: Disclaimer will always be added, whether the email is a reply or a new email.

selected-message

domain-quarantine {modified_copy | unmodified_copy}

Specify to use the modified email or the unmodified email.

modified_copy

enforce-delivery {enable | disable}

Enforce delivery action if delivery to original/alternative host is enabled.

enable

personal-quarantine {modified_copy | unmodified_copy}

Specify to use the modified email or the unmodified email.

modified_copy

personal-quarantine-attachment-scan {enable | disable}

Enable or disable attachment scan for personal quarantined spam messages.

disable

replacement-message-location {beginning | end}

Select where to insert the attachment replacement message in the email body.

end

subject-tag-location {beginning | end}

Select where to insert the subject tag in the email body.

beginning

system-quarantine {modified_copy | unmodified_copy}

Specify to use the modified email or the unmodified email.

modified_copy

mailsetting preference

mailsetting preference

When you configure antispam, antivirus, and content action profiles, you may use the following actions:

  • Deliver to alternate host
  • Deliver to original host
  • System quarantine
  • Personal quarantine

For the above actions, you can choose to deliver or quarantine the original email or the modified email. For example, when the HTML content is converted to text, if you choose to deliver the unmodified copy, the HTML version will be delivered; if you choose to deliver the modified copy, the plain text version will be delivered.

Syntax

config mailsetting preference

set deliver-to-alternate-host {modified_copy | unmodified_copy}

set deliver-to-original-host {modified_copy | unmodified_copy}

set disclaimer-insertion {selected-message | all-message}

set domain-quarantine {modified_copy | unmodified_copy}

set enforce-delivery {enable | disable}

set personal-quarantine {modified_copy | unmodified_copy}

set personal-quarantine-attachment-scan {enable | disable}

set replacement-message-location {beginning | end}

set subject-tag-location {beginning | end}

set system-quarantine {modified_copy | unmodified_copy}

end

Variable

Description

Default

deliver-to-alternate-host {modified_copy | unmodified_copy}

Specify to use the modified email or the unmodified email.

modified_copy

deliver-to-original-host {modified_copy | unmodified_copy}

Specify to use the modified email or the unmodified email.

modified_copy

disclaimer-insertion {selected-message | all-message}

Define the email disclaimer insertion preference:

  • selected-message: Disclaimer will not be added once again if the email is part of the existing email thread.

  • all-message: Disclaimer will always be added, whether the email is a reply or a new email.

selected-message

domain-quarantine {modified_copy | unmodified_copy}

Specify to use the modified email or the unmodified email.

modified_copy

enforce-delivery {enable | disable}

Enforce delivery action if delivery to original/alternative host is enabled.

enable

personal-quarantine {modified_copy | unmodified_copy}

Specify to use the modified email or the unmodified email.

modified_copy

personal-quarantine-attachment-scan {enable | disable}

Enable or disable attachment scan for personal quarantined spam messages.

disable

replacement-message-location {beginning | end}

Select where to insert the attachment replacement message in the email body.

end

subject-tag-location {beginning | end}

Select where to insert the subject tag in the email body.

beginning

system-quarantine {modified_copy | unmodified_copy}

Specify to use the modified email or the unmodified email.

modified_copy