Fortinet white logo
Fortinet white logo

CLI Reference

log alertemail setting

log alertemail setting

Use this command to configure which events will cause the FortiMail unit to send an alert email message.

Before the FortiMail unit can send an alert email message, you must select the event or events that will cause it to send an alert.

You must also configure alert email message recipients. For more information, see log alertemail recipient.

Syntax

config log alertemail setting

set categories {deferq-over-limit diskfull ha license-expire remote-storage-failure system system-quota-full user-quota-full virus}

set license-interval <integer>

set queue-interval

set queue-sandbox-threshold

set queue-spam-outbreak-theshold

set queue-threshold

set queue-virus-outbreak-threshold

end

Variable

Description

Default

categories {deferq-over-limit diskfull ha license-expire remote-storage-failure system system-quota-full user-quota-full virus}

Enter a list of one or more of the following event types that will cause alert email:

  • deferq-over-limit: The deferred mail queue has exceeded the number of messages during the interval specified in log alertemail setting and log alertemail setting.
  • diskfull: The FortiMail unit’s hard disk is full.
  • ha: A high availability (HA) event such as failover has occurred.
  • license-expire: The license has expired.
  • remote-storage-failure: Email archiving to the remote host has failed.
  • system: The FortiMail unit has detected a system error.
  • system-quota-full: The FortiMail unit has reached its disk space quota.
  • user-quota-full: An email user account has reached its disk space quota.
  • virus: The FortiMail unit has detected a virus. Separate each option with a space.

system

license-interval <integer>

Enter the number of days (1-100) the FortiGuard license is to expire. An alert email is sent on the expiry day.

30

queue-interval

Specify the time (in minutes) between two consecutive queue alter email.

30

queue-sandbox-threshold

Specify the number of email messages in FortiSandbox queue for triggering alert email.

5000

queue-spam-outbreak-theshold

Specify the number of email messages in spam outbreak queue for triggering alert email.

5000

queue-threshold

Specify the total number of email messages in all the queues for triggering alert email.

10000

queue-virus-outbreak-threshold

Specify the number of email messages in virus outbreak queue for triggering alert email.

5000

Related topics

log setting remote

log setting local

log alertemail recipient

log alertemail setting

log alertemail setting

Use this command to configure which events will cause the FortiMail unit to send an alert email message.

Before the FortiMail unit can send an alert email message, you must select the event or events that will cause it to send an alert.

You must also configure alert email message recipients. For more information, see log alertemail recipient.

Syntax

config log alertemail setting

set categories {deferq-over-limit diskfull ha license-expire remote-storage-failure system system-quota-full user-quota-full virus}

set license-interval <integer>

set queue-interval

set queue-sandbox-threshold

set queue-spam-outbreak-theshold

set queue-threshold

set queue-virus-outbreak-threshold

end

Variable

Description

Default

categories {deferq-over-limit diskfull ha license-expire remote-storage-failure system system-quota-full user-quota-full virus}

Enter a list of one or more of the following event types that will cause alert email:

  • deferq-over-limit: The deferred mail queue has exceeded the number of messages during the interval specified in log alertemail setting and log alertemail setting.
  • diskfull: The FortiMail unit’s hard disk is full.
  • ha: A high availability (HA) event such as failover has occurred.
  • license-expire: The license has expired.
  • remote-storage-failure: Email archiving to the remote host has failed.
  • system: The FortiMail unit has detected a system error.
  • system-quota-full: The FortiMail unit has reached its disk space quota.
  • user-quota-full: An email user account has reached its disk space quota.
  • virus: The FortiMail unit has detected a virus. Separate each option with a space.

system

license-interval <integer>

Enter the number of days (1-100) the FortiGuard license is to expire. An alert email is sent on the expiry day.

30

queue-interval

Specify the time (in minutes) between two consecutive queue alter email.

30

queue-sandbox-threshold

Specify the number of email messages in FortiSandbox queue for triggering alert email.

5000

queue-spam-outbreak-theshold

Specify the number of email messages in spam outbreak queue for triggering alert email.

5000

queue-threshold

Specify the total number of email messages in all the queues for triggering alert email.

10000

queue-virus-outbreak-threshold

Specify the number of email messages in virus outbreak queue for triggering alert email.

5000

Related topics

log setting remote

log setting local

log alertemail recipient