Sign inSign up

pfrankw/docker-mailserver

By pfrankw

Updated almost 11 years ago

An ultra-easy mailserver with dovecot, postfix and postfixadmin which also supports virtual domains.

Image
3

1.8K

pfrankw/docker-mailserver repository overview

docker-mailserver

docker-mailserver is an ultra simple already configured mail server with:

  • dovecot
  • postfix
  • postfixadmin

It supports of course virtual domains.

Setup

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
Postfixadmin

The first time you run the server you have to go in postfixadmin/setup.php in order to setup it correctly.

Notes

During the build of this image I used an ARM version of debian. If you find some bugs let me know please.

Thanks

In order to configure everything correctly I have read this tutorial: https://wiki.archlinux.org/index.php/Virtual_user_mail_system

Donate

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 :)

Tag summary

Content type

Image

Digest

sha256:51c59fa43

Size

140.6 MB

Last updated

almost 11 years ago

docker pull pfrankw/docker-mailserver