From 6019c16f71038320e6e30699ee1fb24dd6bd3f3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20J=C3=A4ckel?= Date: Wed, 8 Apr 2026 15:02:48 +0200 Subject: [PATCH] Fix issue in management daemon name resolution (#2561) In some scenarios localhost resolves to the external ip. Adapted management daemon to reflect check performed in `start.sh` --- setup/management.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/management.sh b/setup/management.sh index d8032312..ad2990fa 100755 --- a/setup/management.sh +++ b/setup/management.sh @@ -101,7 +101,7 @@ chmod 640 /var/lib/mailinabox/api.key source $venv/bin/activate export PYTHONPATH=$PWD/management -exec gunicorn -b localhost:10222 -w 1 --timeout 630 wsgi:app +exec gunicorn -b 127.0.0.1:10222 -w 1 --timeout 630 wsgi:app EOF chmod +x $inst_dir/start cp --remove-destination conf/mailinabox.service /lib/systemd/system/mailinabox.service # target was previously a symlink so remove it first