# Icinga in Docker: which eMail client to use for notifications?

**URL:** <https://community.icinga.com/t/icinga-in-docker-which-email-client-to-use-for-notifications/6472>\
**Category:** Icinga 2\
**Tags:** notifications, icinga2\
**Created:** [January 14, 2021, 5:50pm UTC](https://community.icinga.com/t/icinga-in-docker-which-email-client-to-use-for-notifications/6472 "2021-01-14T17:50:25Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![mcktr](https://community.icinga.com/user_avatar/community.icinga.com/mcktr/32/856_2.png) [@mcktr](https://community.icinga.com/u/mcktr)\
**Post date:** [January 19, 2021, 3:14pm UTC](https://community.icinga.com/t/icinga-in-docker-which-email-client-to-use-for-notifications/6472/3 "2021-01-19T15:14:47Z")

</div>

Hi,

I just saw that `postfix` is installed in the container.

> <https://github.com/Icinga/docker-icinga2/blob/68036a12182f7e7c047a9fd67714187bcb263169/deps.Dockerfile#L62>

But for my understanding the `postfix` daemon is not usable since the container runs only one process: the Icinga 2 daemon, correct?

For me ssmtp or. msmtp looks promising, no running daemon is needed.

(german blog post)

> **[Mailversand mit PHP aus einem Docker-Container | kuerbis.org](https://www.kuerbis.org/2018/05/mailversand-mit-php-aus-einem-docker-container/)**
>
> Vorstellung einer einfachen Lösung für den Mailversand aus einem Docker-Container heraus - dabei sind: PHP, WordPress und sSMTP.

Unfortunately the ssmtp debian package is currently unmaintained, msmtp looks like an alternative.

> **[sSMTP - Debian Wiki](https://wiki.debian.org/sSMTP)**

  

> **[msmtp - Debian Wiki](https://wiki.debian.org/msmtp)**

Both provide a symlink for `sendmail`, so sending E-Mails using `mail` should work.

Best regards  
Michael

---

_[View the full topic](https://community.icinga.com/t/icinga-in-docker-which-email-client-to-use-for-notifications/6472)._
