Icinga / docker-icinga2

Official Icinga 2 Docker images
GNU General Public License v2.0
67 stars 30 forks source link

Ship SSMTP #51

Closed Al2Klimov closed 3 years ago

Al2Klimov commented 3 years ago

fixes #41

Al2Klimov commented 3 years ago

Blocked by

bodsch commented 3 years ago

SSMTP is not anymore in Debian Repos. msmtp should be used instead. see https://github.com/bodsch/docker-icinga2/pull/62

Al2Klimov commented 3 years ago

It is: https://packages.debian.org/en/bullseye/ssmtp

mcktr commented 3 years ago

@Al2Klimov It is not. You are referring to Debian bullseye, which is currently the testing branch of Debian. The package ssmtp is not included in the current stable branch buster. Mixing packages from various releases is not a good idea, it can lead to a FrankenDebian,

Furthermore the package ssmtp is currently not maintained.

As @bodsch already suggested msmtp should be used as an alternative, it is maintained and is included in the stable branch buster.

Best regards Michael

Al2Klimov commented 3 years ago

A valid argument. My plan was to do so until bullseye becomes stable.

mcktr commented 3 years ago

Then ssmtp is still unmaintained. The latest changes to the ssmtp package are "only" QA uploads, from the Debian QA Group.

Why using ssmtp when there is a maintained alternative? Where do you see the benefit of ssmtp over msmtp?

Best regards Michael

Al2Klimov commented 3 years ago

I’ve consulted multiple sources and it was the most recommended one.

mcktr commented 3 years ago

Well, even the wiki page you link to says its currently not maintained.

This may raises support questions from users why the Icinga 2 Docker image uses unmaintained software. Also consider that in some enterprise environments you are not allowed to use unmaintained software.

msmtp is also sendmail compatible, so changes to the notifications scripts shouldn't be necessary.

Best regards Michael

dwt commented 3 years ago

I would like to second this opinion - please use maintained software in the image. I.e. software where the whole burden of maintaining it its not on the system integrators at Debian.

dwt commented 3 years ago

@Al2Klimov if I can help in this pull request to get msmtp configured - please let me know.