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

Offical apps | Community apps | Demo | Docs | Install
  1. Cloudron Forum
  2. App Wishlist
  3. Stalwart Mail Server on Cloudron - Secure & Modern All-in-One Mail Server (IMAP, JMAP, POP3, SMTP)

Stalwart Mail Server on Cloudron - Secure & Modern All-in-One Mail Server (IMAP, JMAP, POP3, SMTP)

Scheduled Pinned Locked Moved App Wishlist
29 Posts 10 Posters 8.1k 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.
  • T
    T
    timka
    wrote on last edited by
    #7

    I just started using Jmap because of ThunderMail (not Thunderbird), but I really like that server.
    @andreasdueren I think having an additional mail server app would be great, but the actual mail server is perfectly integrated into Cloudron itself. Nice find!

    If this server becomes more stable (see the breaking changes when updating: https://github.com/stalwartlabs/stalwart/blob/main/UPGRADING/v0_15.md), it could be a very nice drop-in replacement for the internal mail server as long as the licence (https://github.com/stalwartlabs/stalwart?tab=readme-ov-file#license) fits. However, reading the 'Enterprise' options (https://stalw.art/enterprise/), it may not be suitable because 'Multi-Tenant' is an 'Enterprise' feature.

    If I find some time, I can do some tests and post the results here, but that's low priority.

    1 Reply Last reply
    2
    • andreasduerenA
      andreasduerenA
      andreasdueren
      wrote on last edited by
      #8

      I'm experimenting with packaging this. Please help me test it: https://git.due.ren/andreas/stalwart-cloudron/-/raw/main/CloudronVersions.json?ref_type=heads

      J L 2 Replies Last reply
      6
      • andreasduerenA andreasdueren

        I'm experimenting with packaging this. Please help me test it: https://git.due.ren/andreas/stalwart-cloudron/-/raw/main/CloudronVersions.json?ref_type=heads

        J
        J
        josephcosta
        wrote on last edited by
        #9

        Hello @andreasdueren, thank you stalwart always interested me but the built-in email in Cloudron is so efficient that I didn't took the time to test it further.

        So just to help you and for curiosity I tried to install the software using your json. The install was quick and okay, but I was unable to log in.

        Using the redirect to openID with the cloudron admin email adress leads me to this error:

        Failed to load the admin panel configuration.
        API error 403
        

        So in a new window I've insert the /admin adress and admin as a user and the password stored in /app/data/env in STALWART_RECOVERY_ADMIN=admin:XXXXXXXXXXX

        Token exchange failed: 400
        Back to login
        

        So I've changed STALWART_RECOVERY_MODE=false to true, restarted the app but got still the same error...

        andreasduerenA 1 Reply Last reply
        1
        • J josephcosta

          Hello @andreasdueren, thank you stalwart always interested me but the built-in email in Cloudron is so efficient that I didn't took the time to test it further.

          So just to help you and for curiosity I tried to install the software using your json. The install was quick and okay, but I was unable to log in.

          Using the redirect to openID with the cloudron admin email adress leads me to this error:

          Failed to load the admin panel configuration.
          API error 403
          

          So in a new window I've insert the /admin adress and admin as a user and the password stored in /app/data/env in STALWART_RECOVERY_ADMIN=admin:XXXXXXXXXXX

          Token exchange failed: 400
          Back to login
          

          So I've changed STALWART_RECOVERY_MODE=false to true, restarted the app but got still the same error...

          andreasduerenA
          andreasduerenA
          andreasdueren
          wrote on last edited by
          #10

          @josephcosta Yes, openID isn't working yet. working on that. But the package should auto create admin credentials you can extract from the env. At least it does for me. Doesn't it have a STALWART_RECOVERY_ADMIN=admin:xxxxxxxxxxxxxxxx entry already?

          J 1 Reply Last reply
          0
          • andreasduerenA andreasdueren

            @josephcosta Yes, openID isn't working yet. working on that. But the package should auto create admin credentials you can extract from the env. At least it does for me. Doesn't it have a STALWART_RECOVERY_ADMIN=admin:xxxxxxxxxxxxxxxx entry already?

            J
            J
            josephcosta
            wrote on last edited by josephcosta
            #11

            Hello @andreasdueren

            Doesn't it have a STALWART_RECOVERY_ADMIN=admin:xxxxxxxxxxxxxxxx entry already?

            Yes it does, as I wrote you I tried to access using admin as username and the password after admin: but I had this error:

            Token exchange failed: 400
            Back to login
            
            andreasduerenA 2 Replies Last reply
            0
            • J josephcosta

              Hello @andreasdueren

              Doesn't it have a STALWART_RECOVERY_ADMIN=admin:xxxxxxxxxxxxxxxx entry already?

              Yes it does, as I wrote you I tried to access using admin as username and the password after admin: but I had this error:

              Token exchange failed: 400
              Back to login
              
              andreasduerenA
              andreasduerenA
              andreasdueren
              wrote on last edited by
              #12

              @josephcosta Hmm. I'll check it out later today or tomorrow. Thanks for testing!

              1 Reply Last reply
              0
              • J josephcosta

                Hello @andreasdueren

                Doesn't it have a STALWART_RECOVERY_ADMIN=admin:xxxxxxxxxxxxxxxx entry already?

                Yes it does, as I wrote you I tried to access using admin as username and the password after admin: but I had this error:

                Token exchange failed: 400
                Back to login
                
                andreasduerenA
                andreasduerenA
                andreasdueren
                wrote on last edited by
                #13

                @josephcosta Please update to 0.16.26, should work now.

                J 1 Reply Last reply
                2
                • andreasduerenA andreasdueren

                  @josephcosta Please update to 0.16.26, should work now.

                  J
                  J
                  josephcosta
                  wrote on last edited by
                  #14

                  @andreasdueren I've installed 0.16.28 and accessed succesfully using the credentials stored in /app/data/env, Thanks!

                  I had to open ports in /home/yellowtent/platformdata/firewall/ports.json and restart the firewall to have access to smtp, imaps, ...

                  I am not sure if I will proceed further in testing as some interesting features are locked as Enterprise Features...

                  andreasduerenA 1 Reply Last reply
                  2
                  • J josephcosta

                    @andreasdueren I've installed 0.16.28 and accessed succesfully using the credentials stored in /app/data/env, Thanks!

                    I had to open ports in /home/yellowtent/platformdata/firewall/ports.json and restart the firewall to have access to smtp, imaps, ...

                    I am not sure if I will proceed further in testing as some interesting features are locked as Enterprise Features...

                    andreasduerenA
                    andreasduerenA
                    andreasdueren
                    wrote on last edited by
                    #15

                    @josephcosta said:

                    I had to open ports in /home/yellowtent/platformdata/firewall/ports.json and restart the firewall to have access to smtp, imaps, ...

                    OK thank you I'll check out the port issue

                    1 Reply Last reply
                    1
                    • andreasduerenA andreasdueren referenced this topic on
                    • F
                      F
                      fanvyr
                      wrote on last edited by
                      #16

                      Any updates on this as a cloudron app? would also be interested

                      andreasduerenA 1 Reply Last reply
                      0
                      • F fanvyr

                        Any updates on this as a cloudron app? would also be interested

                        andreasduerenA
                        andreasduerenA
                        andreasdueren
                        wrote on last edited by
                        #17

                        @fanvyr Unfortunately this can't be packaged on an app level

                        L 1 Reply Last reply
                        1
                        • andreasduerenA andreasdueren

                          I'm experimenting with packaging this. Please help me test it: https://git.due.ren/andreas/stalwart-cloudron/-/raw/main/CloudronVersions.json?ref_type=heads

                          L
                          L
                          LoudLemur
                          CA Maintainer
                          wrote on last edited by
                          #18

                          @andreasdueren You are ahead of the game! We were just looking at packaging this and saw you were already testing. Great going, andreas!

                          1 Reply Last reply
                          0
                          • andreasduerenA andreasdueren

                            @fanvyr Unfortunately this can't be packaged on an app level

                            L
                            L
                            LoudLemur
                            CA Maintainer
                            wrote on last edited by
                            #19

                            @andreasdueren What is the issue with this? Maybe their developers can help us package it.

                            andreasduerenA 1 Reply Last reply
                            0
                            • L LoudLemur

                              @andreasdueren What is the issue with this? Maybe their developers can help us package it.

                              andreasduerenA
                              andreasduerenA
                              andreasdueren
                              wrote on last edited by
                              #20

                              @LoudLemur The Problem is that the inbound mail port is blocked by cloudron and can not be reassigned without mayor modifications to cloudron. Currently this is a platform limitation and likely will never be supported because it would require the current deeply integrated mail services to be made more modular. I don't think it's something the Cloudron team is interested in.

                              marcusquinnM 1 Reply Last reply
                              1
                              • robiR
                                robiR
                                robi
                                wrote on last edited by
                                #21

                                Right, and to learn more why this is unfeasible look at how DNS MX records work.

                                They don't have a way to specify a port other than the defaults we all use.

                                Frequency tech & energy mastery

                                1 Reply Last reply
                                2
                                • L
                                  L
                                  LoudLemur
                                  CA Maintainer
                                  wrote last edited by
                                  #22

                                  https://stalw.art/blog/microsoft-exchange-replacement/

                                  I wonder if this might be useful if we are considering other mail options.

                                  1 Reply Last reply
                                  3
                                  • necrevistonnezrN
                                    necrevistonnezrN
                                    necrevistonnezr
                                    Super Fan
                                    wrote last edited by
                                    #23

                                    See https://forum.cloudron.io/post/95432 - you even posted there 🙂

                                    1 Reply Last reply
                                    1
                                    • jamesJ
                                      jamesJ
                                      james
                                      Staff
                                      wrote last edited by
                                      #24

                                      Thanks @necrevistonnezr I have merged the topics.

                                      1 Reply Last reply
                                      1
                                      • andreasduerenA andreasdueren

                                        @LoudLemur The Problem is that the inbound mail port is blocked by cloudron and can not be reassigned without mayor modifications to cloudron. Currently this is a platform limitation and likely will never be supported because it would require the current deeply integrated mail services to be made more modular. I don't think it's something the Cloudron team is interested in.

                                        marcusquinnM
                                        marcusquinnM
                                        marcusquinn
                                        CA Maintainer Super Fan
                                        wrote last edited by
                                        #25

                                        @andreasdueren maybe the solution we found for netbird with having an additional fixed-IP address for the server could solve this, too?

                                        Web Design & Development: https://www.evergreen.je
                                        Technology & Apps: https://www.marcusquinn.com

                                        andreasduerenA 1 Reply Last reply
                                        0
                                        • marcusquinnM marcusquinn

                                          @andreasdueren maybe the solution we found for netbird with having an additional fixed-IP address for the server could solve this, too?

                                          andreasduerenA
                                          andreasduerenA
                                          andreasdueren
                                          wrote last edited by
                                          #26

                                          @marcusquinn likely possible. But probably not worth the effort

                                          marcusquinnM 1 Reply Last reply
                                          0

                                          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