CONFIG COMMUNICATION SMTP

Level

log,modify

History

port appears in Netasq 6.0.0
option service_object for port appears in Netasq 6.1.0
option State appears in Netasq 7.0.0
level changes from other,modify to log,modify in Netasq 9.0.0
options username and password appear in Netasq 9.0.2
option domain is replaced by emailAddress in 3.3.0

Description

Configure SMTP for mail notifications.

Usage

state=(0|1) [server=<host_object>] [emailAddress=<user@domain>] (mandatory if state=1)
[port=<service_object|int>] [delay=<int>] [username=<string>] [password=<string>]

Returns

Error code

Example

CONFIG COMMUNICATION SMTP state=1 server=smtp_server emailAddress=user@stormshield.local delay=900
CONFIG COMMUNICATION SMTP state=0