If ssmtp package is available, users can simply mount their /etc/ssmtp/ssmtp.conf file to docker and fail2ban/sendmail can utilize ssmtp to send emails.
It can also open the possibility of using environment variables to define smtp parameters.
Current Behavior
ssmtp package not present by default.
Alternatives Considered
Using docker build to add ssmtp package
Modifying the entrypoint to apk add ssmtp && /init
Desired Behavior
If
ssmtp
package is available, users can simply mount their/etc/ssmtp/ssmtp.conf
file to docker andfail2ban/sendmail
can utilize ssmtp to send emails.It can also open the possibility of using environment variables to define smtp parameters.
Current Behavior
ssmtp package not present by default.
Alternatives Considered
apk add ssmtp && /init