1
0
mirror of https://github.com/Mailu/Mailu.git synced 2024-12-12 10:45:38 +02:00
Insular email distribution - mail server as Docker images
Go to file
2016-03-22 21:05:08 +01:00
admin Add fields to enable and/or disable pop and imap 2016-03-22 21:05:08 +01:00
amavis Remove stale rsyslog pid files 2016-03-20 15:37:15 +01:00
doc Add an architecture diagram 2016-02-24 09:47:04 +01:00
dovecot Fix the dovecot SQL query 2016-03-20 15:38:03 +01:00
nginx Move to Docker Compose and multiple containers 2016-02-24 07:44:49 +01:00
postfix Remove stale rsyslog pid files 2016-03-20 15:37:15 +01:00
roundcube Disable the Roundcube password module 2016-03-13 17:45:52 +01:00
.gitignore Remove the python cache from git 2016-02-20 20:11:33 +01:00
docker-compose.yml Remove some misplaced space 2016-03-22 19:47:44 +01:00
freeposte.env Switch to env_file and deploy amavis 2016-03-02 21:25:56 +01:00
README.md Add an architecture diagram 2016-02-24 09:47:04 +01:00
start.sh Use exec to start supervisor 2016-02-21 19:48:26 +01:00

Freeposte.io

Simple yet functional and full-featured mail server as a set of Docker images. The idea behing Freeposte.io is identical to motivations that led to poste.io: providing a simple and maintainable mail server that is painless to manage and does not require more resources than necessary.

People from poste.io did an amazing job at accomplishing this ; any company looking for a serious yet simple mail server with professional support should turn to them.

This project is meant for free software supporters and hackers to reach the same level of functionality and still be able to host a complete mail server at little cost while running only FOSS, applying the KISS principle and being able to fine-tune some details if needed.

General architecture

The mail infrastructure is based on a standard MTA-LDA pattern :

  • Postfix for incoming and outgoing emails ;
  • Amavis as a filtering interface before delivery (with SpamaAssassin and ClamAV) ;
  • Dovecot as a delivery agent and reading (IMAP) server ;
  • Roundcube (or any Webmail) as a user-friendly Web client ;
  • Freeposte (Flask application) as an administration interface.

Architecture

How-to run your mail server

Please note that this project is still in a very early stage. Do not use for production!

The mail server runs as a set of Docker containers. These containers are managed through a docker-compose.yml configuration file that requires Docker Compose to run.

First, follow instructions at https://docs.docker.com to setup Docker and Docker Compose properly for your system. Then download the main configuration file:

wget https://freeposte.io/docker-compose.yml

This file contains instructions about which containers to run and how they will interact. You should also create a data directory. Freeposte will use /data as a sane default:

mkdir -p /data

Finally, you can run your mail server:

docker-compose up -d