mailu: enable central database, improve token creation task, and add migration guide

- Enabled central_database in Mailu config
- Improved API token creation task:
  * use curl -f to fail on HTTP errors
  * added explicit failed_when and changed_when conditions
- Adjusted docker-compose template spacing for readability
- Made logging level configurable (DEBUG when MODE_DEBUG is set)
- Added new documentation Move_Domain.md explaining safe procedure for migrating mailboxes to a new domain
This commit is contained in:
2025-08-18 01:03:40 +02:00
parent e4b8c97e03
commit 3d7bbabd7b
5 changed files with 115 additions and 17 deletions

View File

@@ -136,7 +136,7 @@ REAL_IP_FROM=
REJECT_UNLISTED_RECIPIENT=
# Log level threshold in start.py (value: CRITICAL, ERROR, WARNING, INFO, DEBUG, NOTSET)
LOG_LEVEL=WARNING
LOG_LEVEL={{ 'DEBUG' if MODE_DEBUG else 'WARNING' }}
###################################
# Database settings