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. Discuss
  3. Cloudron as mailserver

Cloudron as mailserver

Scheduled Pinned Locked Moved Discuss
17 Posts 11 Posters 2.2k Views 11 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.
    • jadudmJ Offline
      jadudmJ Offline
      jadudm
      wrote on last edited by
      #1

      Hi all,

      I once, long ago, ran an exim mailserver with a colleague. At some point, we got zero-day'd, and I decided that running a mailserver was less fun than I thought. I've never looked back.

      I maintain a domain on an external provider almost entirely for the email forwarding. That is, I have a domain and addresses that I only forward on to other email hosts (e.g. Gmail).

      I could move that domain to my Cloudron. At that point, I would be putting all of my personal infrastructure on a box in my basement, and be relying on it for my most important piece of comms infrastructure. And, I know I'd need to actually test my backup and restore process at that point, because I really couldn't afford to have an outage take out my family's email for (say) days.

      Do people use Cloudron for production mail? (I mean, I assume they must.) Are there any concerns? Gotchas? Are there other paths people have walked? I've tried experimenting with Cloudflare's email forwarding solution, but was unable to get it to work reliably (a number of months ago).

      Many thanks,
      Matt

      I use Cloudron on a Dell 7040 I bought on eBay.

      luckowL KubernetesK andreasduerenA 3 Replies Last reply
      3
      • jadudmJ jadudm

        Hi all,

        I once, long ago, ran an exim mailserver with a colleague. At some point, we got zero-day'd, and I decided that running a mailserver was less fun than I thought. I've never looked back.

        I maintain a domain on an external provider almost entirely for the email forwarding. That is, I have a domain and addresses that I only forward on to other email hosts (e.g. Gmail).

        I could move that domain to my Cloudron. At that point, I would be putting all of my personal infrastructure on a box in my basement, and be relying on it for my most important piece of comms infrastructure. And, I know I'd need to actually test my backup and restore process at that point, because I really couldn't afford to have an outage take out my family's email for (say) days.

        Do people use Cloudron for production mail? (I mean, I assume they must.) Are there any concerns? Gotchas? Are there other paths people have walked? I've tried experimenting with Cloudflare's email forwarding solution, but was unable to get it to work reliably (a number of months ago).

        Many thanks,
        Matt

        luckowL Offline
        luckowL Offline
        luckow
        translator
        wrote on last edited by
        #2

        @jadudm Yep, do it. All my domains (personal and business) rely on Cloudron as their mail server infrastructure. On a side note, my entire infrastructure is based on servers in data centers. I have no real experience with mail infrastructures in my basement 🙂

        Pronouns: he/him | Primary language: German

        1 Reply Last reply
        3
        • jadudmJ jadudm

          Hi all,

          I once, long ago, ran an exim mailserver with a colleague. At some point, we got zero-day'd, and I decided that running a mailserver was less fun than I thought. I've never looked back.

          I maintain a domain on an external provider almost entirely for the email forwarding. That is, I have a domain and addresses that I only forward on to other email hosts (e.g. Gmail).

          I could move that domain to my Cloudron. At that point, I would be putting all of my personal infrastructure on a box in my basement, and be relying on it for my most important piece of comms infrastructure. And, I know I'd need to actually test my backup and restore process at that point, because I really couldn't afford to have an outage take out my family's email for (say) days.

          Do people use Cloudron for production mail? (I mean, I assume they must.) Are there any concerns? Gotchas? Are there other paths people have walked? I've tried experimenting with Cloudflare's email forwarding solution, but was unable to get it to work reliably (a number of months ago).

          Many thanks,
          Matt

          KubernetesK Offline
          KubernetesK Offline
          Kubernetes
          App Dev
          wrote on last edited by
          #3

          @jadudm I use Cloudron since over 12 months for all of my private e-mail without any issues. Uptime is great, no outages. I just cancelled the subscription for another e-mail provider that I used before cloudron.

          1 Reply Last reply
          3
          • fbartelsF Offline
            fbartelsF Offline
            fbartels
            App Dev
            wrote on last edited by
            #4

            Receiving and storing mails is not the main concern here. Mailservers will retry delivering mails in case your server is not available at the time of the first delivery. The challenge (even more so if you are on a residential connection) is sending mail. For this nowadays its best to sign up for an external relay.

            1 Reply Last reply
            2
            • Dave SwiftD Offline
              Dave SwiftD Offline
              Dave Swift
              wrote on last edited by
              #5

              Which VPS providers are you folks using? Many block port 25 or don't allow marketing emails.

              I'm currently using Cloudron for email, but use SES as an outbound relay.

              BrutalBirdieB 1 Reply Last reply
              0
              • Dave SwiftD Dave Swift

                Which VPS providers are you folks using? Many block port 25 or don't allow marketing emails.

                I'm currently using Cloudron for email, but use SES as an outbound relay.

                BrutalBirdieB Offline
                BrutalBirdieB Offline
                BrutalBirdie
                Partner
                wrote on last edited by BrutalBirdie
                #6

                @Dave-Swift
                I use Hetzner, Netcup, DigitalOcean, hosting.de and others.
                Many block port 25 by default but allow it after requesting it.
                But a strict ban is a criterion for me to not use that provider at all.

                Like my work? Consider donating a drink. Cheers!

                A 1 Reply Last reply
                1
                • jadudmJ Offline
                  jadudmJ Offline
                  jadudm
                  wrote on last edited by jadudm
                  #7

                  This is all good.

                  @luckow , @Kubernetes , thanks for the context. The... difference between a data center is mostly immaterial, I think. I mean, unless you consider that there is no power infrastructure in my basement, the ethernet cables are tacked to the ceiling, and there's no redundancy... 😨 OK. So, it's a little different. 🙂 That's a separate issue, though, from the question of "Cloudron as my mail solution." So, thank you for the +1s.

                  @fbartels , @Dave-Swift , and @BrutalBirdie , I think you've all raised good questions.

                  • How will I send mail out? Do I relay? If so, what service?
                  • Will my ISP allow port 25 all the way down? I don't know. I know they're letting :80 and :443 in, because I'm hosting Cloudron at the end of my fiber connection. But, that doesn't mean they're not blocking :25.

                  Many thanks all. Good considerations.

                  I use Cloudron on a Dell 7040 I bought on eBay.

                  1 Reply Last reply
                  2
                  • jadudmJ Offline
                    jadudmJ Offline
                    jadudm
                    wrote on last edited by
                    #8

                    Fascinating.

                    So, I already had SendGrid already for outbound. I have sent one email in the last month. (Or, my.cloudron has.) This part was already done.

                    I wiped out my Cloudflare email forwarding experiments, picked a domain to test with, and set up email.

                    Nothing worked for a while (meaning "why are these messages I'm sending from over there not ending up over here?"), but then I read the documentation. Turns out I had to open port :25 to receive email. Documentation is so silly sometimes.

                    Email routed through. "Step 3: profit," as the cool kids say.

                    This is slightly terrifying to me, for what it is worth. My concerns are... at least a decade old here, but is there any reason I need to be concerned about my Cloudron becoming an open relay? Given that I'm using SendGrid, could I close my outbound 25 as a precaution? (Would it matter?) Or, is that what my DKIM and other DNS records are for? (Eh... kinda, to answer my own question. Documentation rears its head again!)

                    I went ahead and expanded my DNSBL zonelist:

                    zen.spamhaus.org
                    spamcop.org
                    uribl.com
                    nixspam.org
                    

                    because I could.

                    Thank you all again for the responses.

                    I use Cloudron on a Dell 7040 I bought on eBay.

                    necrevistonnezrN 1 Reply Last reply
                    0
                    • jadudmJ jadudm

                      Hi all,

                      I once, long ago, ran an exim mailserver with a colleague. At some point, we got zero-day'd, and I decided that running a mailserver was less fun than I thought. I've never looked back.

                      I maintain a domain on an external provider almost entirely for the email forwarding. That is, I have a domain and addresses that I only forward on to other email hosts (e.g. Gmail).

                      I could move that domain to my Cloudron. At that point, I would be putting all of my personal infrastructure on a box in my basement, and be relying on it for my most important piece of comms infrastructure. And, I know I'd need to actually test my backup and restore process at that point, because I really couldn't afford to have an outage take out my family's email for (say) days.

                      Do people use Cloudron for production mail? (I mean, I assume they must.) Are there any concerns? Gotchas? Are there other paths people have walked? I've tried experimenting with Cloudflare's email forwarding solution, but was unable to get it to work reliably (a number of months ago).

                      Many thanks,
                      Matt

                      andreasduerenA Offline
                      andreasduerenA Offline
                      andreasdueren
                      wrote on last edited by
                      #9

                      @jadudm said in Cloudron as mailserver:

                      Hi all,

                      I once, long ago, ran an exim mailserver with a colleague. At some point, we got zero-day'd, and I decided that running a mailserver was less fun than I thought. I've never looked back.

                      I maintain a domain on an external provider almost entirely for the email forwarding. That is, I have a domain and addresses that I only forward on to other email hosts (e.g. Gmail).

                      I could move that domain to my Cloudron. At that point, I would be putting all of my personal infrastructure on a box in my basement, and be relying on it for my most important piece of comms infrastructure. And, I know I'd need to actually test my backup and restore process at that point, because I really couldn't afford to have an outage take out my family's email for (say) days.

                      Do people use Cloudron for production mail? (I mean, I assume they must.) Are there any concerns? Gotchas? Are there other paths people have walked? I've tried experimenting with Cloudflare's email forwarding solution, but was unable to get it to work reliably (a number of months ago).

                      Many thanks,
                      Matt

                      Works without any problems whatsoever

                      1 Reply Last reply
                      0
                      • jadudmJ jadudm

                        Fascinating.

                        So, I already had SendGrid already for outbound. I have sent one email in the last month. (Or, my.cloudron has.) This part was already done.

                        I wiped out my Cloudflare email forwarding experiments, picked a domain to test with, and set up email.

                        Nothing worked for a while (meaning "why are these messages I'm sending from over there not ending up over here?"), but then I read the documentation. Turns out I had to open port :25 to receive email. Documentation is so silly sometimes.

                        Email routed through. "Step 3: profit," as the cool kids say.

                        This is slightly terrifying to me, for what it is worth. My concerns are... at least a decade old here, but is there any reason I need to be concerned about my Cloudron becoming an open relay? Given that I'm using SendGrid, could I close my outbound 25 as a precaution? (Would it matter?) Or, is that what my DKIM and other DNS records are for? (Eh... kinda, to answer my own question. Documentation rears its head again!)

                        I went ahead and expanded my DNSBL zonelist:

                        zen.spamhaus.org
                        spamcop.org
                        uribl.com
                        nixspam.org
                        

                        because I could.

                        Thank you all again for the responses.

                        necrevistonnezrN Offline
                        necrevistonnezrN Offline
                        necrevistonnezr
                        wrote on last edited by
                        #10

                        @jadudm said in Cloudron as mailserver:

                        This is slightly terrifying to me, for what it is worth. My concerns are... at least a decade old here, but is there any reason I need to be concerned about my Cloudron becoming an open relay? Given that I'm using SendGrid, could I close my outbound 25 as a precaution? (Would it matter?) Or, is that what my DKIM and other DNS records are for? (Eh... kinda, to answer my own question. Documentation rears its head again!)

                        I believe port 25 needs to stay open, @girish ?

                        I went ahead and expanded my DNSBL zonelist:

                        zen.spamhaus.org
                        spamcop.org
                        uribl.com
                        nixspam.org
                        

                        because I could.

                        I recommend updating your firewall regularly with an antispam-list, https://forum.cloudron.io/topic/3795/firewall-spamassassin-automatic-list-update?page=3
                        Also the ruleset by @d19dotca is really helpful: https://forum.cloudron.io/topic/4770/sharing-custom-spamassassin-rules

                        jadudmJ 1 Reply Last reply
                        2
                        • girishG Do not disturb
                          girishG Do not disturb
                          girish
                          Staff
                          wrote on last edited by
                          #11

                          If you set up a relay, outbound 25 can be blocked. Incoming port 25 still needs to be open to receive mail. Note that atleast in the US/Comcast, port 25 inbound and outbound is blocked for all residential connections. (so, one cannot run a mail server at home).

                          necrevistonnezrN jadudmJ 2 Replies Last reply
                          1
                          • girishG girish

                            If you set up a relay, outbound 25 can be blocked. Incoming port 25 still needs to be open to receive mail. Note that atleast in the US/Comcast, port 25 inbound and outbound is blocked for all residential connections. (so, one cannot run a mail server at home).

                            necrevistonnezrN Offline
                            necrevistonnezrN Offline
                            necrevistonnezr
                            wrote on last edited by
                            #12

                            @girish said in Cloudron as mailserver:

                            If you set up a relay, outbound 25 can be blocked. Incoming port 25 still needs to be open to receive mail.

                            It's a shame you can't differentiate between incoming / outgoing block in Fritz!Boxes....

                            1 Reply Last reply
                            0
                            • necrevistonnezrN necrevistonnezr

                              @jadudm said in Cloudron as mailserver:

                              This is slightly terrifying to me, for what it is worth. My concerns are... at least a decade old here, but is there any reason I need to be concerned about my Cloudron becoming an open relay? Given that I'm using SendGrid, could I close my outbound 25 as a precaution? (Would it matter?) Or, is that what my DKIM and other DNS records are for? (Eh... kinda, to answer my own question. Documentation rears its head again!)

                              I believe port 25 needs to stay open, @girish ?

                              I went ahead and expanded my DNSBL zonelist:

                              zen.spamhaus.org
                              spamcop.org
                              uribl.com
                              nixspam.org
                              

                              because I could.

                              I recommend updating your firewall regularly with an antispam-list, https://forum.cloudron.io/topic/3795/firewall-spamassassin-automatic-list-update?page=3
                              Also the ruleset by @d19dotca is really helpful: https://forum.cloudron.io/topic/4770/sharing-custom-spamassassin-rules

                              jadudmJ Offline
                              jadudmJ Offline
                              jadudm
                              wrote on last edited by
                              #13

                              @necrevistonnezr Thank you. Absolutely good advice.

                              My firewall pulls dynamically, twice a week? (I'd have to check---might be weekly) from what I've been able to identify as a "good" set of lists. I think have 6-7 different on the firewall. I could go further, but these seem like the "big ones" from my research. Could be good for me to revisit them.

                              I use Cloudron on a Dell 7040 I bought on eBay.

                              1 Reply Last reply
                              0
                              • girishG girish

                                If you set up a relay, outbound 25 can be blocked. Incoming port 25 still needs to be open to receive mail. Note that atleast in the US/Comcast, port 25 inbound and outbound is blocked for all residential connections. (so, one cannot run a mail server at home).

                                jadudmJ Offline
                                jadudmJ Offline
                                jadudm
                                wrote on last edited by jadudm
                                #14

                                @girish Thank you. I am running a relay. I will check if I'm blocking 25 outbound (I probably am not). My ISP does not seem to block 25 inbound, because once I opened 25 inbound (I now route 80, 443, and 25 to my.cloudron), mail started to arrive.

                                I'm confident OpnSense will let me open it in one direction for NAT traversal, and block it in the other.

                                I use Cloudron on a Dell 7040 I bought on eBay.

                                1 Reply Last reply
                                0
                                • BrutalBirdieB BrutalBirdie

                                  @Dave-Swift
                                  I use Hetzner, Netcup, DigitalOcean, hosting.de and others.
                                  Many block port 25 by default but allow it after requesting it.
                                  But a strict ban is a criterion for me to not use that provider at all.

                                  A Offline
                                  A Offline
                                  AmbroiseUnly
                                  wrote on last edited by
                                  #15

                                  @BrutalBirdie DigitalOcean blocks port 25, and didn't open it when I asked, even insisted.

                                  BrutalBirdieB 1 Reply Last reply
                                  0
                                  • A AmbroiseUnly

                                    @BrutalBirdie DigitalOcean blocks port 25, and didn't open it when I asked, even insisted.

                                    BrutalBirdieB Offline
                                    BrutalBirdieB Offline
                                    BrutalBirdie
                                    Partner
                                    wrote on last edited by BrutalBirdie
                                    #16

                                    @AmbroiseUnly
                                    https://docs.digitalocean.com/support/why-is-smtp-blocked/

                                    SMTP port 25 is blocked on all Droplets for new accounts to prevent spam and other abuses of our platform.

                                    Dedicated email deliverability platforms are better at handling deliverability factors like IP reputation. To send mail from DigitalOcean, we recommend using SendGrid:

                                    Is your account new?

                                    Like my work? Consider donating a drink. Cheers!

                                    1 Reply Last reply
                                    0
                                    • R Offline
                                      R Offline
                                      rodsilva
                                      wrote on last edited by rodsilva
                                      #17

                                      I've been using Cloudron Mail for a long time with 3 different providers (Linode, OnetSolutions and Hostinger). I never had an issue on sending and receiving e-mails.

                                      What bugs me a lot is the search. It doesn't work well even with full-text search enabled...

                                      Another issue is the lack of good webmail software to use with Cloudron Mail server. Any other mail provider (Gmail, Proton etc) have a much better UX than what is available on Cloudron. I used for some time SOGo but now I use Nextcloud Mail and Snappymail's Nextcloud app as a fallback. From now and then I ask Mozilla to develop a Thunderbird Web 🙂

                                      1 Reply Last reply
                                      1
                                      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