Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. Mail service: failed to bind port 0.0.0.0:25/tcp: listen tcp4 0.0.0.0:25: bind: address already in use.

Mail service: failed to bind port 0.0.0.0:25/tcp: listen tcp4 0.0.0.0:25: bind: address already in use.

Scheduled Pinned Locked Moved Solved Support
dockermail
3 Posts 2 Posters 878 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • luckowL Offline
    luckowL Offline
    luckow
    translator
    wrote on last edited by joseph
    #1

    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: {}
    }
    

    Pronouns: he/him | Primary language: German

    1 Reply Last reply
    1
    • luckowL Offline
      luckowL Offline
      luckow
      translator
      wrote on last edited by
      #3

      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.

      Pronouns: he/him | Primary language: German

      1 Reply Last reply
      1
      • J Offline
        J Offline
        joseph
        Staff
        wrote on last edited by
        #2

        @luckow lsof -n -i :25 | grep LISTEN . But also sometimes, docker is also confused and out of sync with it's container processes. Can you do a systemctl restart docker and then systemctl restart box ?

        1 Reply Last reply
        1
        • luckowL Offline
          luckowL Offline
          luckow
          translator
          wrote on last edited by
          #3

          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.

          Pronouns: he/him | Primary language: German

          1 Reply Last reply
          1
          • luckowL luckow has marked this topic as solved on

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Bookmarks
          • Search