| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
This is a dockerized full-stack e-mail server. It is primarily based on openSUSE Leap (except MariaDB and Redis) and relies on openSUSE packages. It is prepared to be run as a Docker Compose project and uses a ready-to-use configuration which I built according to my preferences. Nevertheless, please feel free to suggest improvements or to change whatever you like in your personal setup.
tbd.
git clone https://github.com/cupracer/mailserver.git /opt/docker/compose/mail
cd /opt/docker/compose/mail cp docker-compose.yml.dist docker-compose.yml cp env.dist .env
# Fully qualified domain name (FQDN) of the mail server instance MYHOSTNAME=mail.example.de # MySQ root password for shared Dovecot/Postfix/PostfixAdmin database MYSQL_ROOT_PASSWORD=secret # MySQ app password used by Dovecot/Postfix/PostfixAdmin MYSQL_PASSWORD=secret # MySQ root password for Roundcube database ROUNDCUBE_MYSQL_ROOT_PASSWORD=secret # MySQ app password used by Roundcube ROUNDCUBE_MYSQL_PASSWORD=secret # PostfixAdmin setup password to create admin users POSTFIXADMIN_SETUP_PASSWORD=secret # Password to access Rspamd web GUI RSPAMD_WEB_PASSWORD=secret # Use DKIM feature in Rspamd RSPAMD_USE_DKIM=false # Use ARC feature in Rspamd (requires RSPAMD_USE_DKIM) RSPAMD_USE_ARC=false # Rspamd and PostfixAdmin are secured by HTTP basic auth (user "admin") WEB_PASSWORD=secret
docker-compose up -d
docker-compose exec letsencrypt bash -c 'certbot certonly --standalone -d $MYHOSTNAME --deploy-hook /usr/local/sbin/restart-containers.py'
Please continue only if this was successful!
Setup PostfixAdmin
Domain: MYHOSTNAME Description: default Aliases: 0 Mailboxes: 0 Mailbox quota: 0 Domain quota: 0 is Backup MX: no active: yes add default aliases: yes
User: USERNAME Domain: MYHOSTNAME ...
Alias: admin Domain: MYHOSTNAME To: name of the first mailbox
abuse, hostmaster, postmaster, webmaster --> admin@MYHOSTNAME
Visit https://MYHOSTNAME/roundcubemail/ and login with you mailbox credentials.
Visit https://MYHOSTNAME/rspamd/ to monitor Rspamd's activities.
If you decided to use DKIM, please run the following command to get you DKIM public key:
docker-compose exec rspamd bash -c 'info.sh'
Have fun!
| Back | FazBrowse Home | New Git URL |