cachethq / Docker

A Dockerized version of Cachet.
https://cachethq.io
BSD 3-Clause "New" or "Revised" License
416 stars 280 forks source link

forgot to start postfix #389

Closed Stunkymonkey closed 4 years ago

Stunkymonkey commented 4 years ago

sorry I forgot, that starting the postfix daemon is missing. this could also be interpreted, as a fix for #232

Stunkymonkey commented 4 years ago

related to #388 @djdefi could you also merge this?

Stunkymonkey commented 4 years ago

we could also include this command in the entrypoint.sh and only execute it, if the sendmail is choosen.

this would use less resources when using smtp or something else.

Stunkymonkey commented 4 years ago

problem is: the entrypoint is executed with user 1001 postfix hast to be started with root. So I prefer the current solution over starting everything as root

Stunkymonkey commented 4 years ago

or maybe @djdefi you have a better idea. To fix sendmail you now know what to do.