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. SnappyMail
  3. Snappy Mail on Cloudron - Creating a mail account and letting people login

Snappy Mail on Cloudron - Creating a mail account and letting people login

Scheduled Pinned Locked Moved Solved SnappyMail
snappymailloginaccount
13 Posts 4 Posters 903 Views 4 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.
  • L LoudLemur

    This workflow doesn't work. I can't understand why:

    • Create Cloudron on domain (e.g. animals.com
    • Create Group (e.g. emailers)
    • Assign Applications to that group (e.g. SnappyMail)
    • Create User (e.g. Lion, Primary email bigcat@mailbox.com; recovery email bigcat@nospam.com)
    • Create Cloudron Mailbox for User (e.g. lion@animals.com)
    • Invite User (e.g. send email / link - it arrives in primary email)
    • User activates account with a password: miaow and logs into Cloudron OK and sees SnappyMail
    • User launches snappy to login
    • User fails to login

    Why?

    From my understanding, the user ought to be able to login with their Cloudron credentials. In this case, it would be the user's primary email address and the password the user created:

    bigcat@mailbox.com / miaow

    I tested this and it doesn't work. It doesn't work with the Cloudron email either:

    lion@animals.com / miaow

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

    @LoudLemur said in Snappy Mail on Cloudron - Creating a mail account and letting people login:

    bigcat@mailbox.com / miaow

    This won't work. You have to login with the email address . The reason for this is that we could have 3 different mailboxes lion@ tiger@ panther@ all assigned to the user . The login username is used to determine which mailbox the user is trying to access. If a user tried with bigcat@mailbox.com , the system has no idea which of the above 3 mailboxes the user is trying to access.

    lion@animals.com / miaow

    this should work. Do you see anything in the snappymail logs?

    L 1 Reply Last reply
    1
    • girishG girish

      @LoudLemur said in Snappy Mail on Cloudron - Creating a mail account and letting people login:

      bigcat@mailbox.com / miaow

      This won't work. You have to login with the email address . The reason for this is that we could have 3 different mailboxes lion@ tiger@ panther@ all assigned to the user . The login username is used to determine which mailbox the user is trying to access. If a user tried with bigcat@mailbox.com , the system has no idea which of the above 3 mailboxes the user is trying to access.

      lion@animals.com / miaow

      this should work. Do you see anything in the snappymail logs?

      L Offline
      L Offline
      LoudLemur
      wrote on last edited by LoudLemur
      #3

      @girish said in Snappy Mail on Cloudron - Creating a mail account and letting people login:

      lion@animals.com / miaow

      No errors I can see in the logs.

      I tried it again, and received the Authentication error message again. No login possible.

      I also checked the permissions of the group to which lion was assigned and verified that they were granted access to SnappyMail. I tried again on different browsers and refreshed after attempting login in case it was showing an old page. It didn't fix it.

      I tried the same process on the Cloudron demo, using the following credentials, and it worked! But I still can't get it going on the self-hosted one...

      user: lion
      email: lion@demo.cloudron.io
      password: cloudron

      1 Reply Last reply
      0
      • L LoudLemur

        This workflow doesn't work. I can't understand why:

        • Create Cloudron on domain (e.g. animals.com
        • Create Group (e.g. emailers)
        • Assign Applications to that group (e.g. SnappyMail)
        • Create User (e.g. Lion, Primary email bigcat@mailbox.com; recovery email bigcat@nospam.com)
        • Create Cloudron Mailbox for User (e.g. lion@animals.com)
        • Invite User (e.g. send email / link - it arrives in primary email)
        • User activates account with a password: miaow and logs into Cloudron OK and sees SnappyMail
        • User launches snappy to login
        • User fails to login

        Why?

        From my understanding, the user ought to be able to login with their Cloudron credentials. In this case, it would be the user's primary email address and the password the user created:

        bigcat@mailbox.com / miaow

        I tested this and it doesn't work. It doesn't work with the Cloudron email either:

        lion@animals.com / miaow

        jdaviescoatesJ Offline
        jdaviescoatesJ Offline
        jdaviescoates
        wrote on last edited by
        #4

        @LoudLemur said in Snappy Mail on Cloudron - Creating a mail account and letting people login:

        Why?

        I think you just need to make the group the owner of the mailbox

        I use Cloudron with Gandi & Hetzner

        L 1 Reply Last reply
        1
        • robiR Offline
          robiR Offline
          robi
          wrote on last edited by
          #5

          Are you at the latest Cloudron version?

          Conscious tech

          L 1 Reply Last reply
          1
          • robiR robi

            Are you at the latest Cloudron version?

            L Offline
            L Offline
            LoudLemur
            wrote on last edited by
            #6

            @robi said in Snappy Mail on Cloudron - Creating a mail account and letting people login:

            Are you at the latest Cloudron version?

            v7.6.3
            So, it is up to date, and I reinstalled snappy, so that is a recent version too.

            1 Reply Last reply
            0
            • jdaviescoatesJ jdaviescoates

              @LoudLemur said in Snappy Mail on Cloudron - Creating a mail account and letting people login:

              Why?

              I think you just need to make the group the owner of the mailbox

              L Offline
              L Offline
              LoudLemur
              wrote on last edited by
              #7

              @jdaviescoates

              I think you just need to make the group the owner of the mailbox

              I think it has something to do with groups but I have tried a few permutations of assigning / unassigning group/groups without success.

              I might try nuking Snappy again and restarting.

              1 Reply Last reply
              0
              • robiR Offline
                robiR Offline
                robi
                wrote on last edited by
                #8

                ok, then you may have to help us by posting screen shots of the Cloudron email settings view

                Conscious tech

                1 Reply Last reply
                0
                • L LoudLemur

                  This workflow doesn't work. I can't understand why:

                  • Create Cloudron on domain (e.g. animals.com
                  • Create Group (e.g. emailers)
                  • Assign Applications to that group (e.g. SnappyMail)
                  • Create User (e.g. Lion, Primary email bigcat@mailbox.com; recovery email bigcat@nospam.com)
                  • Create Cloudron Mailbox for User (e.g. lion@animals.com)
                  • Invite User (e.g. send email / link - it arrives in primary email)
                  • User activates account with a password: miaow and logs into Cloudron OK and sees SnappyMail
                  • User launches snappy to login
                  • User fails to login

                  Why?

                  From my understanding, the user ought to be able to login with their Cloudron credentials. In this case, it would be the user's primary email address and the password the user created:

                  bigcat@mailbox.com / miaow

                  I tested this and it doesn't work. It doesn't work with the Cloudron email either:

                  lion@animals.com / miaow

                  jdaviescoatesJ Offline
                  jdaviescoatesJ Offline
                  jdaviescoates
                  wrote on last edited by
                  #9

                  @LoudLemur said in Snappy Mail on Cloudron - Creating a mail account and letting people login:

                  Assign Applications to that group (e.g. SnappyMail)

                  Email apps on Cloudron aren't like other apps. All users with a mailbox on a particular Cloudron have access to them regardless. Access controls on SnappyMail are just about visibility on the dashboard (but you don't actually need to have it visible in your dashboard to be able to access it)

                  The only thing that matters is who the owners of the mailbox are. They can be individuals or groups (or even Apps).

                  Here you can see that for my bettermedia.uk domain I've created 3 mailboxes, which are all owned by a group called better-media - so anyone in that group can login to those mailboxes using any webmail app installed on the same Cloudron.

                  17d58356-5b22-4e87-982f-2118c65f76b4-image.png

                  To login they just use the email address plus their Cloudron password.

                  So, me, Gareth and Rowan (the people in the better-media group that owns these mailboxes) can all access those email addresses.

                  To repeat: To login they just use the email address plus their Cloudron password.

                  So, if I want to check contact@bettermedia.uk I just login using

                  username: contact@bettermedia.uk
                  password: my my.cloudron.coop password

                  And if Rowan wants to check it he uses:

                  username: contact@bettermedia.uk
                  password: rowan's my.cloudron.coop password

                  etc

                  Simple really 🙂

                  I use Cloudron with Gandi & Hetzner

                  1 Reply Last reply
                  4
                  • L Offline
                    L Offline
                    LoudLemur
                    wrote on last edited by LoudLemur
                    #10

                    Thanks, that is clear. So, it follows that if somebody wants to change their email password, they would do so by changing their cloudron login password. The two (cloudron password and email password) are always the same.

                    I think there is an issue with this, because some users only connect to the website through the applications rather than interfacing with cloudron.

                    There might be circumstances where one does not wish to expose users to the Cloudron instance. In the case of changing email credentials, it seems that this is not possible. @girish ?

                    1 Reply Last reply
                    0
                    • girishG Offline
                      girishG Offline
                      girish
                      Staff
                      wrote on last edited by
                      #11

                      That's correct, it's not possible to change password without interfacing with cloudron dashboard. The email protocols have no way to change password. So there has to be some separate dashboard somewhere to change password and for us this is the cloudron dashboard.

                      L 1 Reply Last reply
                      2
                      • girishG girish has marked this topic as solved on
                      • girishG girish

                        That's correct, it's not possible to change password without interfacing with cloudron dashboard. The email protocols have no way to change password. So there has to be some separate dashboard somewhere to change password and for us this is the cloudron dashboard.

                        L Offline
                        L Offline
                        LoudLemur
                        wrote on last edited by LoudLemur
                        #12

                        @girish said in Snappy Mail on Cloudron - Creating a mail account and letting people login:

                        That's correct, it's not possible to change password without interfacing with cloudron dashboard. The email protocols have no way to change password. So there has to be some separate dashboard somewhere to change password and for us this is the cloudron dashboard.

                        Thanks. I hope this statement is added to the Cloudron email documentation. Also, a note could be added indicating that the way new users are invited to the cloudron will determine their email password choices.

                        To use an email application on Cloudron, e.g. SnappyMail or RoundCube, one way or another, the email users will interact with Cloudron directly when they are invited. Whether it is by Cloudron sending an email invitation or Cloudron generating a sign-up link, the users will arrive on the setting up an account page on Cloudron.

                        It seems the only way around this at the moment is for the Cloudron admin to create the new user's account and inform the user of their password. This is not good from the end-user's perspective.

                        Is there a way to fix this?

                        One idea might be to include a sign-up wizard that would collect the necessary data.
                        Another route might be SSO - single sign on technology somehow, using an existing account, but I can't see how.
                        Maybe the easiest way would be to create an additional cloudron application (like Cubby) and use this to create and modify their account. However this would still be like interacting with cloudron though by proxy.

                        girishG 1 Reply Last reply
                        0
                        • L LoudLemur

                          @girish said in Snappy Mail on Cloudron - Creating a mail account and letting people login:

                          That's correct, it's not possible to change password without interfacing with cloudron dashboard. The email protocols have no way to change password. So there has to be some separate dashboard somewhere to change password and for us this is the cloudron dashboard.

                          Thanks. I hope this statement is added to the Cloudron email documentation. Also, a note could be added indicating that the way new users are invited to the cloudron will determine their email password choices.

                          To use an email application on Cloudron, e.g. SnappyMail or RoundCube, one way or another, the email users will interact with Cloudron directly when they are invited. Whether it is by Cloudron sending an email invitation or Cloudron generating a sign-up link, the users will arrive on the setting up an account page on Cloudron.

                          It seems the only way around this at the moment is for the Cloudron admin to create the new user's account and inform the user of their password. This is not good from the end-user's perspective.

                          Is there a way to fix this?

                          One idea might be to include a sign-up wizard that would collect the necessary data.
                          Another route might be SSO - single sign on technology somehow, using an existing account, but I can't see how.
                          Maybe the easiest way would be to create an additional cloudron application (like Cubby) and use this to create and modify their account. However this would still be like interacting with cloudron though by proxy.

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

                          @LoudLemur yeah, there is no way around user not knowing about Cloudron dashboard to change the email password. The alternative is to create a web app which does this and uses Cloudron API (which is out of scope for us). Unless Cloudron develops it's own webmail ui , this is hard to solve (for the reasons you pointed out).

                          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