Fortinet white logo
Fortinet white logo

CLI Reference

mailsetting preference

mailsetting preference

In antispam, antivirus, and content action profiles, you can select the action:

  • Deliver to alternate host

  • Deliver to original host

  • System quarantine

  • Personal quarantine

  • Subject tag location

  • Replacement message location

For those actions, you can configure preferences.

Syntax

config mailsetting preference

set enforce-delivery {enable | disable}

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

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

set system-quarantine {modified_copy | unmodified_copy}

set domain-quarantine {modified_copy | unmodified_copy}

set personal-quarantine {modified_copy | unmodified_copy}

set replacement-message-location {beginning | end}

set subject-tag-location {beginning | end}

end

Variable

Description

Default

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

For delivery and quarantine actions, you can select which form of the email to use:

  • modified_copy — Modify the email according to the action.

  • unmodified_copy — Original email header and body.

    Note

    If the email is in its original form, the recipient in the SMTP envelope (RCPT TO:) still might be rewritten by the action.

For example, when the HTML content is converted to text, if you choose to deliver the unmodified copy, then the HTML version will be delivered; if you choose to deliver the modified copy, then the plain text version will be delivered.

modified_copy

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

Select to use the modified or original email.

modified_copy

domain-quarantine {modified_copy | unmodified_copy}

Select to use the modified or original email.

modified_copy

enforce-delivery {enable | disable}

If the action in a profile is one of the final actions, such as system quarantine, while the action in another profile is to deliver to the original host or alternate host, you can enable this option to override the final action.

enable

personal-quarantine {modified_copy | unmodified_copy}

Select to use the modified or original email.

modified_copy

replacement-message-location {beginning | end}

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

end

subject-tag-location {beginning | end}

Select to insert the tag at the start or end of the subject line.

beginning

system-quarantine {modified_copy | unmodified_copy}

Specify to use the modified email or the unmodified email.

modified_copy

Related topics

profile antispam-action

system disclaimer

mailsetting preference

mailsetting preference

In antispam, antivirus, and content action profiles, you can select the action:

  • Deliver to alternate host

  • Deliver to original host

  • System quarantine

  • Personal quarantine

  • Subject tag location

  • Replacement message location

For those actions, you can configure preferences.

Syntax

config mailsetting preference

set enforce-delivery {enable | disable}

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

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

set system-quarantine {modified_copy | unmodified_copy}

set domain-quarantine {modified_copy | unmodified_copy}

set personal-quarantine {modified_copy | unmodified_copy}

set replacement-message-location {beginning | end}

set subject-tag-location {beginning | end}

end

Variable

Description

Default

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

For delivery and quarantine actions, you can select which form of the email to use:

  • modified_copy — Modify the email according to the action.

  • unmodified_copy — Original email header and body.

    Note

    If the email is in its original form, the recipient in the SMTP envelope (RCPT TO:) still might be rewritten by the action.

For example, when the HTML content is converted to text, if you choose to deliver the unmodified copy, then the HTML version will be delivered; if you choose to deliver the modified copy, then the plain text version will be delivered.

modified_copy

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

Select to use the modified or original email.

modified_copy

domain-quarantine {modified_copy | unmodified_copy}

Select to use the modified or original email.

modified_copy

enforce-delivery {enable | disable}

If the action in a profile is one of the final actions, such as system quarantine, while the action in another profile is to deliver to the original host or alternate host, you can enable this option to override the final action.

enable

personal-quarantine {modified_copy | unmodified_copy}

Select to use the modified or original email.

modified_copy

replacement-message-location {beginning | end}

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

end

subject-tag-location {beginning | end}

Select to insert the tag at the start or end of the subject line.

beginning

system-quarantine {modified_copy | unmodified_copy}

Specify to use the modified email or the unmodified email.

modified_copy

Related topics

profile antispam-action

system disclaimer