Fortinet Document Library

Version:

Version:

Version:

Version:

Version:

Version:


Table of Contents

CLI Reference

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 deferq-interval <interval_int>

set deferq-trigger <trigger_int>

set license-interval <integer>

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 deferq-interval <interval_int> and deferq-trigger <trigger_int>.
  • 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

deferq-interval <interval_int>

Enter the interval in minutes between checks of deferred queue size. This can be any number greater than zero.

30

deferq-trigger <trigger_int>

Enter the size that the deferred email queue must reach to cause an alert email to be sent. The valid range is 1 to 99999.

10000

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

Related topics

log setting remote

log setting local

log alertemail recipient

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 deferq-interval <interval_int>

set deferq-trigger <trigger_int>

set license-interval <integer>

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 deferq-interval <interval_int> and deferq-trigger <trigger_int>.
  • 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

deferq-interval <interval_int>

Enter the interval in minutes between checks of deferred queue size. This can be any number greater than zero.

30

deferq-trigger <trigger_int>

Enter the size that the deferred email queue must reach to cause an alert email to be sent. The valid range is 1 to 99999.

10000

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

Related topics

log setting remote

log setting local

log alertemail recipient