Closed michael-k closed 7 years ago
Have you considered switching to alpine ?
Yes but for stability reason, I prefer to use Debian because this docker image has a lot of components (Postfix, Dovecot, Spamassassin, Clamav, Postgrey, Fetchmail...etc). All these packages need to work together in harmony :notes: , I rely on the packages maintainers of Debian for that :)
Moreover, the mail ecosystem does not need to be always up to date (except for security breaches).
So that is the also the reason why you've put postfix and dovecot both into one image, although it's good practice to run only one daemon per container?
Btw. the alpine packages are not always up to date. Alpine 3.5 has postfix 3.1.3 and edge has 3.1.4. https://pkgs.alpinelinux.org/packages?name=postfix&branch=&repo=&arch=&maintainer= I tried building 3.2.0 myself, but wasn't successful.
You are right, I could use stable packages from the main repository with v3.5 branch, but i prefer the debian freeze system which prevent a package from being updated with new features, it's more convenient for maintenance and reliability with my architectural constraints (all in one docker image).
Look at this projet : https://github.com/Mailu/Mailu
For personal use or medium sized project with easy deployment, you can use hardware/mailserver. If you need modularity, scalability and isolation, Mailu is preferred.
Have you considered switching to alpine?