From 038b0d3a650414610d96fe2dc36e2fc27b9adf2f Mon Sep 17 00:00:00 2001 From: "Kevin Veen-Birkenbach [aka. Frantz]" Date: Mon, 5 Apr 2021 15:42:10 +0200 Subject: [PATCH] Changes to make mailu runable again --- roles/docker-mailu/Readme.md | 6 ++++++ roles/docker-mailu/templates/docker-compose.yml.j2 | 1 - roles/docker-mailu/templates/mailu.env.j2 | 2 +- site.yml | 1 - 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/roles/docker-mailu/Readme.md b/roles/docker-mailu/Readme.md index ce92a556..42ef3ad4 100644 --- a/roles/docker-mailu/Readme.md +++ b/roles/docker-mailu/Readme.md @@ -54,6 +54,12 @@ How to manage users is described here: https://mailu.io/master/cli.html ```bash docker-compose -p mailu up -d ``` +## debug +### mailu_front_1 + +```bash +sudo docker container exec -it mailu_front_1 /bin/bash +``` ## update For update instructions follow: diff --git a/roles/docker-mailu/templates/docker-compose.yml.j2 b/roles/docker-mailu/templates/docker-compose.yml.j2 index e5dda221..f1169e92 100644 --- a/roles/docker-mailu/templates/docker-compose.yml.j2 +++ b/roles/docker-mailu/templates/docker-compose.yml.j2 @@ -28,7 +28,6 @@ services: driver: json-file ports: - "127.0.0.1:{{ http_port }}:80" - - "127.0.0.1:{{ https_port }}:443" - "{{ ip4_address }}:25:25" - "{{ ip4_address }}:465:465" - "{{ ip4_address }}:587:587" diff --git a/roles/docker-mailu/templates/mailu.env.j2 b/roles/docker-mailu/templates/mailu.env.j2 index 5e16c346..d00dfc04 100644 --- a/roles/docker-mailu/templates/mailu.env.j2 +++ b/roles/docker-mailu/templates/mailu.env.j2 @@ -24,7 +24,7 @@ HOSTNAMES={{domain}} POSTMASTER=admin # Choose how secure connections will behave (value: letsencrypt, cert, notls, mail, mail-letsencrypt) -TLS_FLAVOR=letsencrypt +TLS_FLAVOR=mail # Authentication rate limit (per source IP address) AUTH_RATELIMIT=10/minute;1000/hour diff --git a/site.yml b/site.yml index d54fa1f6..db10b507 100644 --- a/site.yml +++ b/site.yml @@ -104,7 +104,6 @@ vars: domain: "mail.{{top_domain}}" http_port: 8007 - https_port: 4431 - name: setup elk hosts hosts: elk_hosts become: true