Before starting, you need an SMTP mail server capable of relaying the mails generated by your Esia server. This mail server must of course be reachable by Esia. To access this mail server, the Esia server will need to know :
The command syntax is :
esia-configure -S mail -f $EMAIL -r $HOST:$PORT -u $LOGIN -P
Not all parameters are mandatory. They correspond to :
Example:
root@debian-buster:/# esia-configure -S mail -f alert@example.com -r smtp.example.com:465 -u alert -P Password: Confirm password: This settings will be set : From changed => alert@example.com Relayhost: => smtp.example.com:465 User changed => alert Pass changed Do you wish to apply this ? (y,n) y root@debian-buster:/#
Now test your SMTP connection Test sending emails.