ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    MailCow in Production Datacenter

    IT Discussion
    mailcow email smtp docker
    11
    59
    5.3k
    Loading More Posts
    • 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.
    • scottalanmillerS
      scottalanmiller @dave_c
      last edited by

      @dave_c said in MailCow in Production Datacenter:

      How would you serve the PHP code of the control panel if you are not including a web server within mailcow?

      Same way that MailCow does... run it in its own instance that only does that. I don't know what they use, but I would guess Apache. The Docker instance in MailCow that runs the PHP code for the web server is called sogo-mailcow. The Nginx instance in MailCow that we are talking about is called nginx-mailcow and is a reverse proxy that does not run PHP.

      1 Reply Last reply Reply Quote 0
      • scottalanmillerS
        scottalanmiller @dave_c
        last edited by

        @dave_c said in MailCow in Production Datacenter:

        I am running it on rented servers and I understand why you want it to be behind you proxy

        If they just had it as an "on/off" option, I think including it is great. But it seems like bypassing it is cumbersome and might break future updates. That's a big problem here, sure I can get in under the hood and try to alter things, but will that work reliably as they deploy anew?

        1 Reply Last reply Reply Quote 0
        • stacksofplatesS
          stacksofplates
          last edited by

          What does your current docker-compose.yml file look like?

          scottalanmillerS C 2 Replies Last reply Reply Quote 0
          • scottalanmillerS
            scottalanmiller @stacksofplates
            last edited by

            @stacksofplates said in MailCow in Production Datacenter:

            What does your current docker-compose.yml file look like?

            I'll let you know once it installs. I've already started a fresh ground-up install.

            1 Reply Last reply Reply Quote 0
            • C
              Curtis @stacksofplates
              last edited by

              @stacksofplates @scottalanmiller

              https://github.com/mailcow/mailcow-dockerized/blob/master/docker-compose.yml

              stacksofplatesS 1 Reply Last reply Reply Quote 0
              • stacksofplatesS
                stacksofplates @Curtis
                last edited by

                @Curtis said in MailCow in Production Datacenter:

                @stacksofplates @scottalanmiller

                https://github.com/mailcow/mailcow-dockerized/blob/master/docker-compose.yml

                Yeah I know there's a default, I didn't know if he had changed it at all.

                scottalanmillerS 1 Reply Last reply Reply Quote 0
                • scottalanmillerS
                  scottalanmiller @stacksofplates
                  last edited by

                  @stacksofplates said in MailCow in Production Datacenter:

                  @Curtis said in MailCow in Production Datacenter:

                  @stacksofplates @scottalanmiller

                  https://github.com/mailcow/mailcow-dockerized/blob/master/docker-compose.yml

                  Yeah I know there's a default, I didn't know if he had changed it at all.

                  I had not, the default didn't work so I wasn't looking to modify it yet.

                  stacksofplatesS 1 Reply Last reply Reply Quote 0
                  • stacksofplatesS
                    stacksofplates @scottalanmiller
                    last edited by

                    @scottalanmiller said in MailCow in Production Datacenter:

                    @stacksofplates said in MailCow in Production Datacenter:

                    @Curtis said in MailCow in Production Datacenter:

                    @stacksofplates @scottalanmiller

                    https://github.com/mailcow/mailcow-dockerized/blob/master/docker-compose.yml

                    Yeah I know there's a default, I didn't know if he had changed it at all.

                    I had not, the default didn't work so I wasn't looking to modify it yet.

                    ok. Let me spin up a system with docker and compose. I've been using podman so I don't have the tools on my laptop.

                    1 Reply Last reply Reply Quote 0
                    • stacksofplatesS
                      stacksofplates
                      last edited by

                      I was able to proxy through NGINX after running docker-compose up -d. I didn't use HTTPS because I'm lazy but it passed HTTP fine.

                      1 Reply Last reply Reply Quote 1
                      • stacksofplatesS
                        stacksofplates
                        last edited by stacksofplates

                        It's just a simple config to test (again because I'm lazy):

                        nginxconf.png

                        mailcow.png

                        1 Reply Last reply Reply Quote 1
                        • scottalanmillerS
                          scottalanmiller
                          last edited by

                          Great, glad to hear that that works. I'll be testing it more once I see if it comes up at all. The first time it didn't at all, so you are two steps farther than we got 🙂

                          C scottalanmillerS 2 Replies Last reply Reply Quote 0
                          • C
                            Curtis @scottalanmiller
                            last edited by

                            @scottalanmiller said in MailCow in Production Datacenter:

                            Great, glad to hear that that works. I'll be testing it more once I see if it comes up at all. The first time it didn't at all, so you are two steps farther than we got 🙂

                            Let me know if you have issues and I'll make a video for you 🙂

                            1 Reply Last reply Reply Quote 0
                            • CloudKnightC
                              CloudKnight
                              last edited by

                              I have been running Mailcow for a little while, been testing and playing about with it. I'm quite impressed how it's all been put together. I would love to hear how many mailboxes people are running this in production.

                              Not using a reverse proxy on mine though.

                              mailco.png

                              1 Reply Last reply Reply Quote 2
                              • scottalanmillerS
                                scottalanmiller @scottalanmiller
                                last edited by

                                @scottalanmiller said in MailCow in Production Datacenter:

                                Great, glad to hear that that works. I'll be testing it more once I see if it comes up at all. The first time it didn't at all, so you are two steps farther than we got 🙂

                                Been a while, and now it is a different project. This time for a customer. But we have MailCow up and running now and behind an Nginx proxy in a datacenter. Working great so far.

                                FATeknollogeeF CloudKnightC 2 Replies Last reply Reply Quote 0
                                • FATeknollogeeF
                                  FATeknollogee @scottalanmiller
                                  last edited by

                                  @scottalanmiller said in MailCow in Production Datacenter:

                                  @scottalanmiller said in MailCow in Production Datacenter:

                                  Great, glad to hear that that works. I'll be testing it more once I see if it comes up at all. The first time it didn't at all, so you are two steps farther than we got 🙂

                                  Been a while, and now it is a different project. This time for a customer. But we have MailCow up and running now and behind an Nginx proxy in a datacenter. Working great so far.

                                  Using Docker?

                                  scottalanmillerS 1 Reply Last reply Reply Quote 0
                                  • scottalanmillerS
                                    scottalanmiller @FATeknollogee
                                    last edited by

                                    @FATeknollogee said in MailCow in Production Datacenter:

                                    @scottalanmiller said in MailCow in Production Datacenter:

                                    @scottalanmiller said in MailCow in Production Datacenter:

                                    Great, glad to hear that that works. I'll be testing it more once I see if it comes up at all. The first time it didn't at all, so you are two steps farther than we got 🙂

                                    Been a while, and now it is a different project. This time for a customer. But we have MailCow up and running now and behind an Nginx proxy in a datacenter. Working great so far.

                                    Using Docker?

                                    Is there any other way? MailCow appears to be 100% dependent on Docker.

                                    FATeknollogeeF 1 Reply Last reply Reply Quote 0
                                    • FATeknollogeeF
                                      FATeknollogee @scottalanmiller
                                      last edited by

                                      @scottalanmiller said in MailCow in Production Datacenter:

                                      @FATeknollogee said in MailCow in Production Datacenter:

                                      @scottalanmiller said in MailCow in Production Datacenter:

                                      @scottalanmiller said in MailCow in Production Datacenter:

                                      Great, glad to hear that that works. I'll be testing it more once I see if it comes up at all. The first time it didn't at all, so you are two steps farther than we got 🙂

                                      Been a while, and now it is a different project. This time for a customer. But we have MailCow up and running now and behind an Nginx proxy in a datacenter. Working great so far.

                                      Using Docker?

                                      Is there any other way? MailCow appears to be 100% dependent on Docker.

                                      I don't know of any other way which is why I asked!
                                      Previously, we had that forum discussion & I thought the general consensus was Docker for this use case wasn't a great idea?

                                      scottalanmillerS 1 Reply Last reply Reply Quote 0
                                      • CloudKnightC
                                        CloudKnight @scottalanmiller
                                        last edited by

                                        @scottalanmiller said in MailCow in Production Datacenter:

                                        @scottalanmiller said in MailCow in Production Datacenter:

                                        Great, glad to hear that that works. I'll be testing it more once I see if it comes up at all. The first time it didn't at all, so you are two steps farther than we got 🙂

                                        Been a while, and now it is a different project. This time for a customer. But we have MailCow up and running now and behind an Nginx proxy in a datacenter. Working great so far.

                                        Did you have any issues using Nginx at all to start with?

                                        scottalanmillerS 1 Reply Last reply Reply Quote 0
                                        • scottalanmillerS
                                          scottalanmiller @CloudKnight
                                          last edited by

                                          @StuartJordan said in MailCow in Production Datacenter:

                                          @scottalanmiller said in MailCow in Production Datacenter:

                                          @scottalanmiller said in MailCow in Production Datacenter:

                                          Great, glad to hear that that works. I'll be testing it more once I see if it comes up at all. The first time it didn't at all, so you are two steps farther than we got 🙂

                                          Been a while, and now it is a different project. This time for a customer. But we have MailCow up and running now and behind an Nginx proxy in a datacenter. Working great so far.

                                          Did you have any issues using Nginx at all to start with?

                                          I did last time I tried like six months ago. This time, no issues.

                                          1 Reply Last reply Reply Quote 0
                                          • scottalanmillerS
                                            scottalanmiller @FATeknollogee
                                            last edited by

                                            @FATeknollogee said in MailCow in Production Datacenter:

                                            @scottalanmiller said in MailCow in Production Datacenter:

                                            @FATeknollogee said in MailCow in Production Datacenter:

                                            @scottalanmiller said in MailCow in Production Datacenter:

                                            @scottalanmiller said in MailCow in Production Datacenter:

                                            Great, glad to hear that that works. I'll be testing it more once I see if it comes up at all. The first time it didn't at all, so you are two steps farther than we got 🙂

                                            Been a while, and now it is a different project. This time for a customer. But we have MailCow up and running now and behind an Nginx proxy in a datacenter. Working great so far.

                                            Using Docker?

                                            Is there any other way? MailCow appears to be 100% dependent on Docker.

                                            I don't know of any other way which is why I asked!
                                            Previously, we had that forum discussion & I thought the general consensus was Docker for this use case wasn't a great idea?

                                            Docker is truly terrible here, IMHO. So much unnecessary complexity. But at least it is working.

                                            FATeknollogeeF 1 Reply Last reply Reply Quote 1
                                            • 1
                                            • 2
                                            • 3
                                            • 3 / 3
                                            • First post
                                              Last post