Fortinet black logo

CLI Reference

mailsetting mail-scan-options

mailsetting mail-scan-options

Use this command to configure how to scan the compressed files.

Syntax

config mailsetting mail-scan-options

set decompress-max-level <level_1_to_16>

set decompress-max-size <size_in_MB>

set scan-timeout-action {tempfail | passthrough}

set scan-timeout-value <time-in-seconds>

end

Variable

Description

Default

decompress-max-level <level_1_to_16>

Specify how many levels to decompress the archived files for antivirus and content scan. Valid range is from 1 to 36.

12

decompress-max-size <size_in_MB>

Specify the maximum file size to scan after the archived files are decompressed. This applies to every single file after decompression. Bigger files will not be scanned.

10

scan-timeout-action {tempfail | passthrough}

When the email attachments are large and the email scanning has timed out, FortiMail can either send a temporary fail message to the sender or just let the message pass through without further scanning.

tempfail

scan-timeout-value <time-in-seconds>

Specify how long in seconds FortiMail should spend on scanning email contents. The valid range is between 270 and 900 seconds.

When the specified timeout has been reached, FortiMail will take the action specified above.

285

Related topics

mailsetting relay-host-list

mailsetting storage central-quarantine

mailsetting storage central-quarantine

mailsetting systemquarantine

mailsetting mail-scan-options

Use this command to configure how to scan the compressed files.

Syntax

config mailsetting mail-scan-options

set decompress-max-level <level_1_to_16>

set decompress-max-size <size_in_MB>

set scan-timeout-action {tempfail | passthrough}

set scan-timeout-value <time-in-seconds>

end

Variable

Description

Default

decompress-max-level <level_1_to_16>

Specify how many levels to decompress the archived files for antivirus and content scan. Valid range is from 1 to 36.

12

decompress-max-size <size_in_MB>

Specify the maximum file size to scan after the archived files are decompressed. This applies to every single file after decompression. Bigger files will not be scanned.

10

scan-timeout-action {tempfail | passthrough}

When the email attachments are large and the email scanning has timed out, FortiMail can either send a temporary fail message to the sender or just let the message pass through without further scanning.

tempfail

scan-timeout-value <time-in-seconds>

Specify how long in seconds FortiMail should spend on scanning email contents. The valid range is between 270 and 900 seconds.

When the specified timeout has been reached, FortiMail will take the action specified above.

285

Related topics

mailsetting relay-host-list

mailsetting storage central-quarantine

mailsetting storage central-quarantine

mailsetting systemquarantine