CONFIG COMMUNICATION SMTP

Level

log+modify

History

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

Description

Configure SMTP for mail notifications

Implementation notes

write in /usr/Firewall/ConfigFiles/Communication/config the conf

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