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. Support
  3. Accessing email mailbox owned by a group

Accessing email mailbox owned by a group

Scheduled Pinned Locked Moved Solved Support
emailmailboxgroups
32 Posts 6 Posters 2.2k Views 7 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.
  • girishG Offline
    girishG Offline
    girish
    Staff
    wrote on last edited by
    #19

    @avatar1024 quite a long time ago, Cloudron used to create mailboxes named username@domain.com when you create a username. Later, the platform grew to support multiple domains (should we now create username@ in every domain?) and arbitrary mailboxes (who can have arbitrary users as owners).

    With that in mind, yes, username means the prefix before @. The email domain is the app's installation domain.

    Let's say a username has 3 mailboxes - admin@, support@ and username@ . Which mailbox is seen when logged in? You might say username@ but what if username@ is not in that list?

    In the end, we are much limited by what the apps can do. Most apps cannot show multiple mailboxes with a single auth. They also do not support mappings from username to mailbox name. This is why we decided to keep it simple (for oureslves) and just make users login with mailbox name. Atleast, all email apps support this.

    avatar1024A andreasduerenA 2 Replies Last reply
    1
    • girishG girish

      @avatar1024 quite a long time ago, Cloudron used to create mailboxes named username@domain.com when you create a username. Later, the platform grew to support multiple domains (should we now create username@ in every domain?) and arbitrary mailboxes (who can have arbitrary users as owners).

      With that in mind, yes, username means the prefix before @. The email domain is the app's installation domain.

      Let's say a username has 3 mailboxes - admin@, support@ and username@ . Which mailbox is seen when logged in? You might say username@ but what if username@ is not in that list?

      In the end, we are much limited by what the apps can do. Most apps cannot show multiple mailboxes with a single auth. They also do not support mappings from username to mailbox name. This is why we decided to keep it simple (for oureslves) and just make users login with mailbox name. Atleast, all email apps support this.

      avatar1024A Offline
      avatar1024A Offline
      avatar1024
      wrote on last edited by avatar1024
      #20

      @girish said in Accessing email mailbox owned by a group:

      Let's say a username has 3 mailboxes - admin@, support@ and username@ . Which mailbox is seen when logged in? You might say username@ but what if username@ is not in that list?

      @girish I think we keep misunderstanding each other here. I know how it used to be back in the day and I also know that for ages now Cloudron has been using the full email address as username to log into emails exactly because of the confusion you've just pointed at with the above example. So I'm with you here.

      What I'm pointing out is that if using the email prefix as username to login (and NOT the Cloudron username) then we get around the confusion in your example. So if a user is the owner of three mailboxes - admin@, support@ and username@, then to log in each other them the username would simply be "admin", "support" and "username" respectively, and the password is the user password. I'm not taking about showing multiple mailboxes at once or anything like that. With a single domain this works, there is no confusion and yet we don't need to write the full email address every time but only the prefix which is easy. And this is what seems to be happening in Roundcube all webmail apps (edit) right now in Cloudron.

      Now this gets confusing with multiple domains becasue a single user can be the owner of say admin@domain1.coop and admin@domain2.coop. But for this "I humbly think" the default behaviour I described in my previous message intuitively solves this issue, that is:

      • if a user enters only the prefix then the @domain defaults to the domain the webmail app is installed on. So say if Snappymail is installed at webmail.domain1.coop and I enter "admin" as a username to login, then it default to the mailbox admin@domain1.coop.
      • if a user enters the full email address as the username to login then they/she/he can access that mailbox no matter what the domain of webmail app is.

      Here is what I wrote in my previous message:

      I think it would make most sense and be the least confusing if the username to login is the prefix of the email address, and that it default to the domain of the email app rather than the global email domain. I think that way would be a very neat approach, yet still giving the flexibility to login on any email app installed on the Cloudron using the full email address for niche use cases.

      1 Reply Last reply
      0
      • avatar1024A Offline
        avatar1024A Offline
        avatar1024
        wrote on last edited by
        #21

        @girish I tested with all other webmail apps (Snappy, Roundcube and SoGo), and just entering the prefix works to log into the mailboxes, no need for the full email address right now.

        jdaviescoatesJ 1 Reply Last reply
        1
        • avatar1024A avatar1024

          @girish I tested with all other webmail apps (Snappy, Roundcube and SoGo), and just entering the prefix works to log into the mailboxes, no need for the full email address right now.

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

          @avatar1024 said in Accessing email mailbox owned by a group:

          no need for the full email address right now.

          But that only works if the email address and the email app have matching domains though, right? (at least that's what I worked out when testing).

          I use Cloudron with Gandi & Hetzner

          avatar1024A 1 Reply Last reply
          0
          • jdaviescoatesJ jdaviescoates

            @avatar1024 said in Accessing email mailbox owned by a group:

            no need for the full email address right now.

            But that only works if the email address and the email app have matching domains though, right? (at least that's what I worked out when testing).

            avatar1024A Offline
            avatar1024A Offline
            avatar1024
            wrote on last edited by
            #23

            @jdaviescoates Yes that's correct. It actually works exactly as desired from my point of you that is: use only prefix as the username and then it defaults to mailbox prefix@domainofthewebmailapp.

            avatar1024A 1 Reply Last reply
            1
            • girishG girish

              @avatar1024 quite a long time ago, Cloudron used to create mailboxes named username@domain.com when you create a username. Later, the platform grew to support multiple domains (should we now create username@ in every domain?) and arbitrary mailboxes (who can have arbitrary users as owners).

              With that in mind, yes, username means the prefix before @. The email domain is the app's installation domain.

              Let's say a username has 3 mailboxes - admin@, support@ and username@ . Which mailbox is seen when logged in? You might say username@ but what if username@ is not in that list?

              In the end, we are much limited by what the apps can do. Most apps cannot show multiple mailboxes with a single auth. They also do not support mappings from username to mailbox name. This is why we decided to keep it simple (for oureslves) and just make users login with mailbox name. Atleast, all email apps support this.

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

              @girish said in Accessing email mailbox owned by a group:

              quite a long time ago, Cloudron used to create mailboxes named username@domain.com when you create a username.

              Also unrelated but did anyone here ever automate this? Because that's a behavior I'd like to mimic because I'm only using one tld

              1 Reply Last reply
              0
              • avatar1024A avatar1024

                @jdaviescoates Yes that's correct. It actually works exactly as desired from my point of you that is: use only prefix as the username and then it defaults to mailbox prefix@domainofthewebmailapp.

                avatar1024A Offline
                avatar1024A Offline
                avatar1024
                wrote on last edited by avatar1024
                #25

                @avatar1024 said in Accessing email mailbox owned by a group:

                @jdaviescoates Yes that's correct. It actually works exactly as desired from my point of you that is: use only prefix as the username and then it defaults to mailbox prefix@domainofthewebmailapp.

                @girish so do we know if the current behaviour is intended / something that is going to last (which I hope) as I'm writing guidance for an org on how to use their webmail?

                Happy 2025 to Cloudron and to all of you who make it possible 🙂

                girishG 1 Reply Last reply
                2
                • avatar1024A avatar1024

                  @avatar1024 said in Accessing email mailbox owned by a group:

                  @jdaviescoates Yes that's correct. It actually works exactly as desired from my point of you that is: use only prefix as the username and then it defaults to mailbox prefix@domainofthewebmailapp.

                  @girish so do we know if the current behaviour is intended / something that is going to last (which I hope) as I'm writing guidance for an org on how to use their webmail?

                  Happy 2025 to Cloudron and to all of you who make it possible 🙂

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

                  @avatar1024 We won't break it intentionally but this only works because the mail clients have the concept of a default domain. Since those apps haven't changed forever and neither have the cloudron packages (wrt this behavior), I think you can safely conclude this will continue working.

                  1 Reply Last reply
                  2
                  • bmannB Offline
                    bmannB Offline
                    bmann
                    wrote on last edited by
                    #27

                    So, I'm getting back to this, and logging into third party clients (notably Mail.app on MacOS), currently does not work.

                    email: groupname@otherdomain
                    user: boris@domain
                    password:

                    Mail app says "account already exists", presumably because I'm using the same user / pass.

                    Screenshot 2025-01-12 at 12.39.39 PM.png

                    I can put whatever I like under email address. Changing username to organizers@dwebyvr.org doesn't work.

                    (works fine in Snappy mail)

                    jdaviescoatesJ 2 Replies Last reply
                    0
                    • bmannB bmann

                      So, I'm getting back to this, and logging into third party clients (notably Mail.app on MacOS), currently does not work.

                      email: groupname@otherdomain
                      user: boris@domain
                      password:

                      Mail app says "account already exists", presumably because I'm using the same user / pass.

                      Screenshot 2025-01-12 at 12.39.39 PM.png

                      I can put whatever I like under email address. Changing username to organizers@dwebyvr.org doesn't work.

                      (works fine in Snappy mail)

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

                      @bmann said in Accessing email mailbox owned by a group:

                      user: boris@domain

                      I don't have a mac to test but wondering if boris+apple@domain might possibly work 🤷

                      I use Cloudron with Gandi & Hetzner

                      bmannB 1 Reply Last reply
                      0
                      • jdaviescoatesJ jdaviescoates

                        @bmann said in Accessing email mailbox owned by a group:

                        user: boris@domain

                        I don't have a mac to test but wondering if boris+apple@domain might possibly work 🤷

                        bmannB Offline
                        bmannB Offline
                        bmann
                        wrote on last edited by
                        #29

                        @jdaviescoates it does not. Is +apple a setup thing in Cloudron? I've never heard of it.

                        jdaviescoatesJ 1 Reply Last reply
                        0
                        • bmannB bmann

                          @jdaviescoates it does not. Is +apple a setup thing in Cloudron? I've never heard of it.

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

                          @bmann no, but subaddresses work on Cloudron (and pretty much everywhere else too), see https://docs.cloudron.io/email/#subaddresses

                          I use Cloudron with Gandi & Hetzner

                          1 Reply Last reply
                          0
                          • bmannB bmann

                            So, I'm getting back to this, and logging into third party clients (notably Mail.app on MacOS), currently does not work.

                            email: groupname@otherdomain
                            user: boris@domain
                            password:

                            Mail app says "account already exists", presumably because I'm using the same user / pass.

                            Screenshot 2025-01-12 at 12.39.39 PM.png

                            I can put whatever I like under email address. Changing username to organizers@dwebyvr.org doesn't work.

                            (works fine in Snappy mail)

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

                            @bmann said in Accessing email mailbox owned by a group:

                            Changing username to organizers@dwebyvr.org doesn't work

                            This is what I would've expected to work, because in every email client I've ever used the email address is the username.

                            I use Cloudron with Gandi & Hetzner

                            1 Reply Last reply
                            0
                            • bmannB Offline
                              bmannB Offline
                              bmann
                              wrote on last edited by
                              #32

                              OK, I finally worked on this AGAIN and remembered how messed up this is conceptually.

                              username: groupname@domain
                              password: (any one of the passwords of the people that have access)

                              This is also makes Freescout work for me https://forum.cloudron.io/topic/12976/connection-could-not-be-established-with-host-mail-domain-com-connection-timed-out-110/43

                              A single "username" having multiple passwords is what messes me up every time.

                              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