Fortinet white logo
Fortinet white logo

CLI Reference

antispam image-analysis

antispam image-analysis

Use this command to configure thresholds for image scans.

When you configure a content profile, you can choose to scan images in the email body and attachments. You can fine-tune the file size that the FortiMail unit will scan, and how these images are detected. Separate thresholds exists for each category of images that you may want to block, such as violence or adult images.

Syntax

config antispam image-analysis

set status {enable | disable}

set max-size <limit_int>

set min-size <limit_int>

set category {alcohol drug extremism gambling gore porn swim-underwear weapon}

set score-threshold-alcohol <score_int>

set score-threshold-drug <score_int>

set score-threshold-extremism <score_int>

set score-threshold-gambling <score_int>

set score-threshold-gore <score_int>

set score-threshold-porn <score_int>

set score-threshold-swimwear <score_int>

set score-threshold-weapon <score_int>

end

Variable

Description

Default

category {alcohol drug extremism gambling gore porn swim-underwear weapon}

Select which categories of images to identify.

alcohol drug extremism gambling gore porn swim-underwear weapon

max-size <limit_int>

Enter the maximum image size to analyze in kilobytes (KB). Valid range is 1 to 50000.

Tip: For a balance of fast throughput and good catch rate, use a minimum image file size that is more than small icons and email signatures, and a maximum image file size that is more than most spam and disallowed images.

500

min-size <limit_int>

Enter the minimum image size to analyze in kilobytes (KB). Valid range is 1 to 1000.

10

score-threshold <score_int>

Enter the score threshold.Valid range is 1 to 9999.

900

score-threshold-alcohol <score_int>

Enter the score threshold.Valid range is 1 to 9999.

900

score-threshold-drug <score_int>

Enter the score threshold.Valid range is 1 to 9999.

900

score-threshold-extremism <score_int>

Enter the score threshold.Valid range is 1 to 9999.

900

score-threshold-gambling <score_int>

Enter the score threshold.Valid range is 1 to 9999.

900

score-threshold-gore <score_int>

Enter the score threshold.Valid range is 1 to 9999.

900

score-threshold-porn <score_int>

Enter the score threshold.Valid range is 1 to 9999.

900

score-threshold-swimwear <score_int>

Enter the score threshold.Valid range is 1 to 9999.

900

score-threshold-weapon <score_int>

Enter the score threshold.Valid range is 1 to 9999.

900

status {enable | disable}

Enable or disable image analysis.

enable

Related topics

profile content

antispam image-analysis

antispam image-analysis

Use this command to configure thresholds for image scans.

When you configure a content profile, you can choose to scan images in the email body and attachments. You can fine-tune the file size that the FortiMail unit will scan, and how these images are detected. Separate thresholds exists for each category of images that you may want to block, such as violence or adult images.

Syntax

config antispam image-analysis

set status {enable | disable}

set max-size <limit_int>

set min-size <limit_int>

set category {alcohol drug extremism gambling gore porn swim-underwear weapon}

set score-threshold-alcohol <score_int>

set score-threshold-drug <score_int>

set score-threshold-extremism <score_int>

set score-threshold-gambling <score_int>

set score-threshold-gore <score_int>

set score-threshold-porn <score_int>

set score-threshold-swimwear <score_int>

set score-threshold-weapon <score_int>

end

Variable

Description

Default

category {alcohol drug extremism gambling gore porn swim-underwear weapon}

Select which categories of images to identify.

alcohol drug extremism gambling gore porn swim-underwear weapon

max-size <limit_int>

Enter the maximum image size to analyze in kilobytes (KB). Valid range is 1 to 50000.

Tip: For a balance of fast throughput and good catch rate, use a minimum image file size that is more than small icons and email signatures, and a maximum image file size that is more than most spam and disallowed images.

500

min-size <limit_int>

Enter the minimum image size to analyze in kilobytes (KB). Valid range is 1 to 1000.

10

score-threshold <score_int>

Enter the score threshold.Valid range is 1 to 9999.

900

score-threshold-alcohol <score_int>

Enter the score threshold.Valid range is 1 to 9999.

900

score-threshold-drug <score_int>

Enter the score threshold.Valid range is 1 to 9999.

900

score-threshold-extremism <score_int>

Enter the score threshold.Valid range is 1 to 9999.

900

score-threshold-gambling <score_int>

Enter the score threshold.Valid range is 1 to 9999.

900

score-threshold-gore <score_int>

Enter the score threshold.Valid range is 1 to 9999.

900

score-threshold-porn <score_int>

Enter the score threshold.Valid range is 1 to 9999.

900

score-threshold-swimwear <score_int>

Enter the score threshold.Valid range is 1 to 9999.

900

score-threshold-weapon <score_int>

Enter the score threshold.Valid range is 1 to 9999.

900

status {enable | disable}

Enable or disable image analysis.

enable

Related topics

profile content