Mail service: failed to bind port 0.0.0.0:25/tcp: listen tcp4 0.0.0.0:25: bind: address already in use.
Solved
Support
-
Platform version v8.2.3 (Ubuntu 24.04.1 LTS)
Restarting the mail service brings a/bin/bash exited with code 125
Service status is stopped.
Any clue, what other service is binded to port 25?box:locks release: mail_restart HttpError: /bin/bash exited with code 125 signal null at BoxError.toHttpError (/home/yellowtent/box/src/boxerror.js:109:16) at restart (/home/yellowtent/box/src/routes/services.js:125:37) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) { status: 500, internalError: BoxError: /bin/bash exited with code 125 signal null at ChildProcess.<anonymous> (/home/yellowtent/box/src/shell.js:72:23) at ChildProcess.emit (node:events:519:28) at maybeClose (node:internal/child_process:1105:16) at ChildProcess._handle.onexit (node:internal/child_process:305:5) { reason: 'Shell Error', details: {}, stdout: 'c1cdae98de5fb18b3204bf361e3bb484bd56b6d74e8621edb7ae9ba892203e81\n', stdoutLineCount: 1, stderr: 'docker: Error response from daemon: driver failed programming external connectivity on endpoint mail (8144e4d6b80711bef3085b5ae542582f9d9c91a4e6f208d2bb63894687a0477a): failed to bind port 0.0.0.0:25/tcp: listen tcp4 0.0.0.0:25: bind: address already in use.\n', stderrLineCount: 1, code: 125, signal: null }, details: {} }
-
A homemade problem. We have refactored our Ansible role. It has installed an MTA that was previously started as Cloudron's mail service. After uninstalling the MTA, everything works as expected.
-
A homemade problem. We have refactored our Ansible role. It has installed an MTA that was previously started as Cloudron's mail service. After uninstalling the MTA, everything works as expected.
-