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
  • 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 | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. Mail server - How to expose ports for internal network

Mail server - How to expose ports for internal network

Scheduled Pinned Locked Moved Solved Support
mail
4 Posts 3 Posters 925 Views 3 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.
    • C Offline
      C Offline
      ChicagoGregg
      wrote on last edited by girish
      #1

      Hello,

      I couldn't find this question posed anywhere in the forum here (which is a little surprising as I thought it would be somewhat a common query)...

      Nor can I find any hints at: https://docs.cloudron.io/email/#inbound-ports

      Is it possible to expose its ports (25,465,587) to the local network so that mail can be sent (relayed) through the mail server and let it handle it going outbound? Figuring that Cloudron has this capability, and I'd only have a few emails per day requiring this, it should be able to provide this.

      A docker inspect shows no ports are exposed (obviously). I haven't dug into where this could be changed to expose it -- and whether Cloudron would just overwrite it or not when starting up the next time.

      Thanks!

      -gregg

      subvenS girishG 2 Replies Last reply
      0
      • C ChicagoGregg

        Hello,

        I couldn't find this question posed anywhere in the forum here (which is a little surprising as I thought it would be somewhat a common query)...

        Nor can I find any hints at: https://docs.cloudron.io/email/#inbound-ports

        Is it possible to expose its ports (25,465,587) to the local network so that mail can be sent (relayed) through the mail server and let it handle it going outbound? Figuring that Cloudron has this capability, and I'd only have a few emails per day requiring this, it should be able to provide this.

        A docker inspect shows no ports are exposed (obviously). I haven't dug into where this could be changed to expose it -- and whether Cloudron would just overwrite it or not when starting up the next time.

        Thanks!

        -gregg

        subvenS Offline
        subvenS Offline
        subven
        wrote on last edited by subven
        #2

        @ChicagoGregg from the docs:

        Email can only be relayed (including same-domain emails) by authenticated users using SMTP/STARTTLS.

        So no, you have to use SMTP in order to send out mails. Not having all services and ports exposed (besides the ones on this list) is kinda vital to the overall security of Cloudron.

        1 Reply Last reply
        0
        • C ChicagoGregg

          Hello,

          I couldn't find this question posed anywhere in the forum here (which is a little surprising as I thought it would be somewhat a common query)...

          Nor can I find any hints at: https://docs.cloudron.io/email/#inbound-ports

          Is it possible to expose its ports (25,465,587) to the local network so that mail can be sent (relayed) through the mail server and let it handle it going outbound? Figuring that Cloudron has this capability, and I'd only have a few emails per day requiring this, it should be able to provide this.

          A docker inspect shows no ports are exposed (obviously). I haven't dug into where this could be changed to expose it -- and whether Cloudron would just overwrite it or not when starting up the next time.

          Thanks!

          -gregg

          girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #3

          @ChicagoGregg said in Mail server - How to expose ports for internal network:

          Is it possible to expose its ports (25,465,587) to the local network so that mail can be sent (relayed) through the mail server and let it handle it going outbound? Figuring that Cloudron has this capability, and I'd only have a few emails per day requiring this, it should be able to provide this.

          If I understand correctly, you want to relay mail via another mail server. If so, just sent the relay using the External SMTP relay configuration.

          I am not quite following the part about exposing port 25/476/587 though. These are already exposed on the server. You have to configure your router/firewall to port forward those ports to the Cloudron internal IP.

          C 1 Reply Last reply
          0
          • girishG girish

            @ChicagoGregg said in Mail server - How to expose ports for internal network:

            Is it possible to expose its ports (25,465,587) to the local network so that mail can be sent (relayed) through the mail server and let it handle it going outbound? Figuring that Cloudron has this capability, and I'd only have a few emails per day requiring this, it should be able to provide this.

            If I understand correctly, you want to relay mail via another mail server. If so, just sent the relay using the External SMTP relay configuration.

            I am not quite following the part about exposing port 25/476/587 though. These are already exposed on the server. You have to configure your router/firewall to port forward those ports to the Cloudron internal IP.

            C Offline
            C Offline
            ChicagoGregg
            wrote on last edited by ChicagoGregg
            #4

            @girish said in Mail server - How to expose ports for internal network:

            @ChicagoGregg said in Mail server - How to expose ports for internal network:

            Is it possible to expose its ports (25,465,587) to the local network so that mail can be sent (relayed) through the mail server and let it handle it going outbound? Figuring that Cloudron has this capability, and I'd only have a few emails per day requiring this, it should be able to provide this.

            If I understand correctly, you want to relay mail via another mail server. If so, just sent the relay using the External SMTP relay configuration.

            I am not quite following the part about exposing port 25/476/587 though. These are already exposed on the server. You have to configure your router/firewall to port forward those ports to the Cloudron internal IP.

            Sorry for the tardy reply here. Thanks for both of your replies @subven and @girish .

            Originally, I was simply wanting to do something like

            Home Network (App sends email) -> Cloudron (on home network) accepts mail for relay from local home network 10.x.x.x -> sends to server through Internet connection (to my already-configured mail relay server, External w/ authentication)

            I was looking for an unauthenticated relay on the home network.

            Well, I suppose that Cloudron can't provide an unauthenticated relay point. So, I suppose the workaround is simply to configure a user and relay using authentication using a domain that is configured.

            I'm fine going this route... And I get why it's for that reason with security. 🙂

            Thanks for the help!

            -gregg

            1 Reply Last reply
            1
            • girishG girish marked this topic as a question on
            • girishG girish has marked this topic as solved on
            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