alertemail setting

config CLI commands

alertemail setting

Use this command to configure the FortiBridge unit to send alert email to up to three recipients when action on failure is set to send a alert email message.

Command syntax pattern

config alertemail setting set <keyword> <variable>

end

config alertemail setting unset <keyword>

get alertemail setting

show alertemail setting

Keywords and variables

Description

Default

 

 

 

authenticate

Enable SMTP authentication if the FortiBridge unit is required to

disable

{disable enable}

authenticate to connect to the SMTP server.

 

mailto1

Enter an email address. This is one of the email addresses to which

No

<email-address_str>

the FortiBridge unit sends alert email.

default.

mailto2

Enter an email address. This is one of the email addresses to which

No

<email-address_str>

the FortiBridge unit sends alert email.

default.

mailto3

Enter an email address. This is one of the email addresses to which

No

<email-address_str>

the FortiBridge unit sends alert email.

default.

password

Enter the password that the FortiBridge unit needs to access the

No

<password_str>

SMTP server.

default.

server

Enter the name of the SMTP server, in the format

No

{<name_str>

smtp.domain.com, to which the FortiBridge unit should send

default.

<address_ipv4>}

email. The SMTP server can be located on any network connected

 

to the FortiBridge unit.

 

username

Enter a valid email address in the format user@domain.com. This

No

<user-name_str>

address appears in the From header of the alert email.

default.

Examples

This example shows how to configure the SMTP server and user name and password, enable authentication and add two email addresses.

config alertemail setting

set server mail.ourcompany.com

set username fortigate@ourcompany.com set authenticate enable

set password pwd23

set mailto1 admin1@ourcompany.com set mailto2 admin2@ourcompany.com

end

This example shows how to display the alertemail settings.

get alertemail setting

This example shows how to display the configuration of the alertemail setting command.

show alertemail setting

52

FortiBridge Version 3.0 Administration Guide

09-30000-0163-20061109

Page 52
Image 52
Fortinet Version 3.0 manual Alertemail setting, Command syntax pattern, Examples