From e6f0cba50ce6d22d160470f94c43acb6b8a7f71c Mon Sep 17 00:00:00 2001
From: Alexander Graf
Date: Mon, 6 Oct 2025 13:46:32 +0200
Subject: [PATCH] Remove mail-* flavors from comments and config wizard
---
setup/flavors/compose/mailu.env | 2 +-
setup/templates/steps/config.html | 27 +++++++++++++--------------
tests/compose/api/mailu.env | 2 +-
tests/compose/core/mailu.env | 4 ++--
tests/compose/fetchmail/mailu.env | 4 ++--
tests/compose/filters/mailu.env | 4 ++--
tests/compose/webdav/mailu.env | 4 ++--
tests/compose/webmail/mailu.env | 4 ++--
8 files changed, 25 insertions(+), 26 deletions(-)
diff --git a/setup/flavors/compose/mailu.env b/setup/flavors/compose/mailu.env
index 496a8324..f77c8c98 100644
--- a/setup/flavors/compose/mailu.env
+++ b/setup/flavors/compose/mailu.env
@@ -26,7 +26,7 @@ HOSTNAMES={{ hostnames }}
# Postmaster local part (will append the main mail domain)
POSTMASTER={{ postmaster }}
-# Choose how secure connections will behave (value: letsencrypt, cert, notls, mail, mail-letsencrypt)
+# Choose how secure connections will behave (value: letsencrypt, cert, notls)
TLS_FLAVOR={{ tls_flavor }}
# Authentication rate limit per IP (per /24 on ipv4 and /48 on ipv6)
diff --git a/setup/templates/steps/config.html b/setup/templates/steps/config.html
index e01d9c97..7a4c7e65 100644
--- a/setup/templates/steps/config.html
+++ b/setup/templates/steps/config.html
@@ -18,7 +18,7 @@ Or in plain English: if receivers start to classify your mail as spam, this post
+ required pattern="^([a-z0-9]+(-[a-z0-9]+)*\.)+[a-z]{2,}$">
@@ -30,9 +30,9 @@ Or in plain English: if receivers start to classify your mail as spam, this post
@@ -46,8 +46,7 @@ Or in plain English: if receivers start to classify your mail as spam, this post
-
/ day
+
/ day
@@ -74,15 +73,15 @@ Or in plain English: if receivers start to classify your mail as spam, this post
+ pattern="^(https?://)?([a-zA-Z0-9]([a-zA-ZäöüÄÖÜ0-9\-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$">
The admin interface is the main Mailu-specific bit, it provides tools to
manage your email domains, users, etc.
-
-
+
+
The API interface is a RESTful API for changing the Mailu configuration.
@@ -91,11 +90,11 @@ manage your email domains, users, etc.
It is not possible to use the API without an API token.
-
-
-
-
-
+
+
+
+
+
{% endcall %}
diff --git a/tests/compose/api/mailu.env b/tests/compose/api/mailu.env
index d667496c..55d67534 100644
--- a/tests/compose/api/mailu.env
+++ b/tests/compose/api/mailu.env
@@ -37,7 +37,7 @@ HOSTNAMES=localhost
# Postmaster local part (will append the main mail domain)
POSTMASTER=admin
-# Choose how secure connections will behave (value: letsencrypt, cert, notls, mail, mail-letsencrypt)
+# Choose how secure connections will behave (value: letsencrypt, cert, notls)
TLS_FLAVOR=cert
# Authentication rate limit (per source IP address)
diff --git a/tests/compose/core/mailu.env b/tests/compose/core/mailu.env
index 5b99d33f..6836f49d 100644
--- a/tests/compose/core/mailu.env
+++ b/tests/compose/core/mailu.env
@@ -37,7 +37,7 @@ HOSTNAMES=localhost
# Postmaster local part (will append the main mail domain)
POSTMASTER=admin
-# Choose how secure connections will behave (value: letsencrypt, cert, notls, mail, mail-letsencrypt)
+# Choose how secure connections will behave (value: letsencrypt, cert, notls)
TLS_FLAVOR=cert
# Authentication rate limit (per source IP address)
@@ -148,4 +148,4 @@ INITIAL_ADMIN_ACCOUNT=admin
INITIAL_ADMIN_DOMAIN=mailu.io
INITIAL_ADMIN_PW=FooBar
-PORTS=25,80,443,110,995,143,993,587,465,4190
\ No newline at end of file
+PORTS=25,80,443,110,995,143,993,587,465,4190
diff --git a/tests/compose/fetchmail/mailu.env b/tests/compose/fetchmail/mailu.env
index 570fccd4..88660d9b 100644
--- a/tests/compose/fetchmail/mailu.env
+++ b/tests/compose/fetchmail/mailu.env
@@ -37,7 +37,7 @@ HOSTNAMES=localhost
# Postmaster local part (will append the main mail domain)
POSTMASTER=admin
-# Choose how secure connections will behave (value: letsencrypt, cert, notls, mail, mail-letsencrypt)
+# Choose how secure connections will behave (value: letsencrypt, cert, notls)
TLS_FLAVOR=cert
# Authentication rate limit (per source IP address)
@@ -143,4 +143,4 @@ REAL_IP_FROM=
# choose wether mailu bounces (no) or rejects (yes) mail when recipient is unknown (value: yes, no)
REJECT_UNLISTED_RECIPIENT=
-PORTS=25,80,443,110,995,143,993,587,465,4190
\ No newline at end of file
+PORTS=25,80,443,110,995,143,993,587,465,4190
diff --git a/tests/compose/filters/mailu.env b/tests/compose/filters/mailu.env
index f8536e65..c5a00c33 100644
--- a/tests/compose/filters/mailu.env
+++ b/tests/compose/filters/mailu.env
@@ -37,7 +37,7 @@ HOSTNAMES=localhost
# Postmaster local part (will append the main mail domain)
POSTMASTER=admin
-# Choose how secure connections will behave (value: letsencrypt, cert, notls, mail, mail-letsencrypt)
+# Choose how secure connections will behave (value: letsencrypt, cert, notls)
TLS_FLAVOR=cert
# Authentication rate limit (per source IP address)
@@ -143,4 +143,4 @@ REAL_IP_FROM=
# choose wether mailu bounces (no) or rejects (yes) mail when recipient is unknown (value: yes, no)
REJECT_UNLISTED_RECIPIENT=
-PORTS=25,80,443,110,995,143,993,587,465,4190
\ No newline at end of file
+PORTS=25,80,443,110,995,143,993,587,465,4190
diff --git a/tests/compose/webdav/mailu.env b/tests/compose/webdav/mailu.env
index cbda1e67..4723d935 100644
--- a/tests/compose/webdav/mailu.env
+++ b/tests/compose/webdav/mailu.env
@@ -37,7 +37,7 @@ HOSTNAMES=localhost
# Postmaster local part (will append the main mail domain)
POSTMASTER=admin
-# Choose how secure connections will behave (value: letsencrypt, cert, notls, mail, mail-letsencrypt)
+# Choose how secure connections will behave (value: letsencrypt, cert, notls)
TLS_FLAVOR=cert
# Authentication rate limit (per source IP address)
@@ -143,4 +143,4 @@ REAL_IP_FROM=
# choose wether mailu bounces (no) or rejects (yes) mail when recipient is unknown (value: yes, no)
REJECT_UNLISTED_RECIPIENT=
-PORTS=25,80,443,110,995,143,993,587,465,4190
\ No newline at end of file
+PORTS=25,80,443,110,995,143,993,587,465,4190
diff --git a/tests/compose/webmail/mailu.env b/tests/compose/webmail/mailu.env
index fc78eeab..6ac61df3 100644
--- a/tests/compose/webmail/mailu.env
+++ b/tests/compose/webmail/mailu.env
@@ -37,7 +37,7 @@ HOSTNAMES=localhost
# Postmaster local part (will append the main mail domain)
POSTMASTER=admin
-# Choose how secure connections will behave (value: letsencrypt, cert, notls, mail, mail-letsencrypt)
+# Choose how secure connections will behave (value: letsencrypt, cert, notls)
TLS_FLAVOR=cert
# Authentication rate limit (per source IP address)
@@ -143,4 +143,4 @@ REAL_IP_FROM=
# choose wether mailu bounces (no) or rejects (yes) mail when recipient is unknown (value: yes, no)
REJECT_UNLISTED_RECIPIENT=
-PORTS=25,80,443,110,995,143,993,587,465,4190
\ No newline at end of file
+PORTS=25,80,443,110,995,143,993,587,465,4190