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
21 Posts 8 Posters 6.3k Views 10 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.
  • 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 Offline
    J Offline
    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 Offline
      andreasduerenA Offline
      andreasdueren
      App Dev
      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 Offline
        J Offline
        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 Offline
          andreasduerenA Offline
          andreasdueren
          App Dev
          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 Offline
            andreasduerenA Offline
            andreasdueren
            App Dev
            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 Offline
              J Offline
              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 Offline
                andreasduerenA Offline
                andreasdueren
                App Dev
                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 Offline
                  F Offline
                  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 Offline
                    andreasduerenA Offline
                    andreasdueren
                    App Dev
                    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 Offline
                      L Offline
                      LoudLemur
                      wrote 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 Offline
                        L Offline
                        LoudLemur
                        wrote 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 Offline
                          andreasduerenA Offline
                          andreasdueren
                          App Dev
                          wrote 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.

                          1 Reply Last reply
                          1
                          • robiR Offline
                            robiR Offline
                            robi
                            wrote 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.

                            Conscious tech

                            1 Reply Last reply
                            2

                            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