FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
Not applicable
Article Id 194509
Article
DescriptionSetting a file size limit on email attachments.
Components
  • All FortiGate running FortiOS 2.8 or 3.0.
Steps or Commands

Note: For email scanning, the oversize threshold refers to the final size of the email after encoding by the email client, including attachments. Email clients may use a variety of encoding types and some encoding types translate into larger file sizes than the original attachment. The most common encoding, base64, translates 3 bytes of binary data into 4 bytes of base64 data. A file may be blocked or logged as oversized even if the attachment is several megabytes less than the configured oversize threshold.

See also How do I block oversized files or email?.

FortiOS 3.0

To set the oversized threshold for files and email

  1. Go to Firewall> Protect Profile.
  2. Select a profile or select Create New.
  3. Select the blue arrow for AntiVirus to expand the options.
  4. Set thresholds for each protocol as required.
  5. Select OK.
  6. Use the protection profile in a firewall policy.

FortiOS 2.8

To set the oversized threshold for files and email

  1. Go to Antivirus> Config> Config.
  2. Set thresholds for each protocol as required.
  3. Select Apply.