Change root folder, change tls to certs, added key and cert for TLS

This commit is contained in:
2026-08-25 17:49:58 +02:00
parent 770e03924e
commit 47ce8e5544
+10 -8
View File
@@ -10,7 +10,7 @@
###################################
# Set this to the path where Mailu data and configuration is stored
ROOT=/mailu
ROOT=/var/lib/docker/volumes/mailu
# Mailu version to run (1.0, 1.1, etc. or master)
VERSION=latest
@@ -20,7 +20,7 @@ SECRET_KEY=claireetstephane
# Address where listening ports should bind
BIND_ADDRESS4=127.0.0.1
BIND_ADDRESS6=::1
# BIND_ADDRESS6=::1
# Subnet of the docker network. This should not conflict with any networks to which your system is connected. (Internal and external!)
SUBNET=172.100.0.0/24
@@ -29,13 +29,15 @@ SUBNET=172.100.0.0/24
DOMAIN=sda.zone
# Hostnames for this server, separated with commas
HOSTNAMES=mail.sda.zone
HOSTNAMES=mail.sda.zone, pdocker5.serveur
# Postmaster local part (will append the main mail domain)
POSTMASTER=admin
# Choose how secure connections will behave (value: letsencrypt, cert, notls, mail, mail-letsencrypt)
TLS_FLAVOR=notls
TLS_FLAVOR=certs
TLS_CERT_FILENAME=pdocker5.serveur.crt
TLS_KEYPAIR_FILENAME=pdocker5.serveur.pem
# Authentication rate limit (per source IP address)
AUTH_RATELIMIT=10/minute
@@ -87,13 +89,13 @@ FETCHMAIL_DELAY=600
RECIPIENT_DELIMITER=+
# DMARC rua and ruf email
DMARC_RUA=admin
DMARC_RUF=admin
DMARC_RUA=dmarc
DMARC_RUF=dmarc
# Send automated DMARC aggregate reports (requires Rspamd 3.0+)
# Reports are sent daily at 2 AM for the previous day's email traffic
# When enabled, reports will be sent from POSTMASTER@DOMAIN to requesting domains
DMARC_SEND_REPORTS=false
DMARC_SEND_REPORTS=true
# Welcome email, enable and set a topic and body if you wish to send welcome
# emails to all users.
@@ -153,7 +155,7 @@ REAL_IP_HEADER=
REAL_IP_FROM=
# choose whether mailu bounces (no) or rejects (yes) mail when recipient is unknown (value: yes, no)
REJECT_UNLISTED_RECIPIENT=
REJECT_UNLISTED_RECIPIENT=no
# Log level threshold in start.py (value: CRITICAL, ERROR, WARNING, INFO, DEBUG, NOTSET)
LOG_LEVEL=WARNING