Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Improve deleting a domain by clarifying the specific email addresses used on the domain

    Feature Requests
    4
    10
    165
    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.
    • d19dotca
      d19dotca last edited by

      I am trying to delete a domain from my Cloudron instance. It tells me this when I use the API (and similar when using Cloudron GUI):

      {
        "status": "Conflict",
        "message": "Domain is in use by one or more mailboxes. Delete them first in the Email view."
      }
      

      It took me a while to remember that I had used the domain as an alias on my own domain mailbox for the postmaster and such emails. It'd be very helpful if the error reported here was much more useful because it could theoretically be used anywhere and when managing 20+ domains, it's not immediately obvious where that may have been used if not on the actual mail domain itself. Would love to see this improved to be more specific on what mail domain(s) contains references to the domain I wish to delete.

      --
      Dustin Dauncey
      www.d19.ca

      1 Reply Last reply Reply Quote 5
      • d19dotca
        d19dotca last edited by

        Ran into this again this year, would still love to see this improved please. It'd be a nice QOL improvement.

        --
        Dustin Dauncey
        www.d19.ca

        1 Reply Last reply Reply Quote 2
        • girish
          girish Staff last edited by

          What needs to be improved here? Do you want the error message to list the mailboxes of the domain ?

          jdaviescoates d19dotca 2 Replies Last reply Reply Quote 1
          • jdaviescoates
            jdaviescoates @girish last edited by

            @girish said in Improve deleting a domain by clarifying the specific email addresses used on the domain:

            What needs to be improved here? Do you want the error message to list the mailboxes of the domain ?

            I'd guess so, just going on "clarifying the specific email addresses used on the domain" in the thread title 🙂

            I use Cloudron with Gandi & Hetzner

            girish 1 Reply Last reply Reply Quote 1
            • girish
              girish Staff @jdaviescoates last edited by

              @jdaviescoates For the UI, I guess, we can make the error link to the Mailboxes view I guess. But listing mailboxes while possible is going to be ugly in an error message (as in, if you have 10 mailboxes, listing and showing all of them makes a bulky error message)

              jdaviescoates robi 2 Replies Last reply Reply Quote 0
              • jdaviescoates
                jdaviescoates @girish last edited by

                @girish I guess @d19dotca may have a suggestion for the UI

                I use Cloudron with Gandi & Hetzner

                1 Reply Last reply Reply Quote 0
                • robi
                  robi @girish last edited by

                  @girish said in Improve deleting a domain by clarifying the specific email addresses used on the domain:

                  But listing mailboxes while possible is going to be ugly in an error message (as in, if you have 10 mailboxes, listing and showing all of them makes a bulky error message)

                  Would you prefer ugly or very useful? I'd go for useful.

                  The design of the message can be made as a csv so it doesn't take up 1 line each. Additionally you can notify / email the admin the full message so there is a record and it can be as long as you need.

                  Life of Advanced Technology

                  1 Reply Last reply Reply Quote 2
                  • d19dotca
                    d19dotca @girish last edited by

                    @girish said in Improve deleting a domain by clarifying the specific email addresses used on the domain:

                    What needs to be improved here? Do you want the error message to list the mailboxes of the domain ?

                    The trigger for this feature request was trying to remove a Domain which fails with the error telling me mailboxes still exist for it. However when I look at the domains email section there’s no mailboxes so it’s very confusing. It takes a while to then remember where I used that domain as an alias in another domain. In my example I set all the postmaster and webmaster emails as aliases for my own mailbox for other domains for example. It’d be really helpful if the error message said where the mailboxes were actually set (i.e. deleting domain example.com can’t be done because mailboxes exist for it on example222.com domain) or something to that extent.

                    Hopefully that makes sense. Let me know if I can clarify though.

                    --
                    Dustin Dauncey
                    www.d19.ca

                    1 Reply Last reply Reply Quote 1
                    • d19dotca
                      d19dotca last edited by

                      Or ideally maybe an extension of this would be the ability to check a box to acknowledge and have Cloudron delete all the referenced mailboxes across the system automatically rather than having the admin to find them one by one. The former suggestion seems easier but the one I just thought of now may be a much nicer experience too.

                      --
                      Dustin Dauncey
                      www.d19.ca

                      girish 1 Reply Last reply Reply Quote 2
                      • girish
                        girish Staff @d19dotca last edited by

                        @d19dotca ah thanks, I understood the issue now (it's to do with aliases not easy to find) . Created an internal issue - https://git.cloudron.io/cloudron/box/-/issues/815

                        1 Reply Last reply Reply Quote 3
                        • First post
                          Last post
                        Powered by NodeBB