An ultra-easy mailserver with dovecot, postfix and postfixadmin which also supports virtual domains.
1.8K
docker-mailserver is an ultra simple already configured mail server with:
It supports of course virtual domains.
The first thing to do is to open the Dockerfile and change the default password. The line to be modified is:
ENV MASTER_PASSWORD changemeplease
Then you have to build an image from the Dockerfile with:
# git clone https://github.com/pfrankw/docker-mailserver.git
# cd docker-mailserver
# docker build -t pfrankw/docker-mailserver .
So run it with:
# docker run -d --name mailserver -p 80:80 -p 25:25 -p 587:587 -p 993:993 pfrankw/docker-mailserver
The first time you run the server you have to go in postfixadmin/setup.php in order to setup it correctly.
During the build of this image I used an ARM version of debian. If you find some bugs let me know please.
In order to configure everything correctly I have read this tutorial: https://wiki.archlinux.org/index.php/Virtual_user_mail_system
If you found my work useful you have to know that in my projects I put knowledge, passion and...coffee.
To send me a coffee here is my BTC address 17dNHSmQnkHHrDJ9Kg32dckG9TfFRS9WqU :)
Content type
Image
Digest
sha256:51c59fa43…
Size
140.6 MB
Last updated
almost 11 years ago
docker pull pfrankw/docker-mailserver