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

    Solved Feature request: Actually remove mailbox data when deleting mailbox.

    Feature Requests
    mailbox mail feature-request
    4
    8
    331
    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 girish

      I noticed that when removing a mailbox, it only sets up the mail server to bounce emails to it, but doesn't delete any mail data itself. I'd love to see an option where there's a checkbox on that dialogue pop-up where data can be deleted too. It seems weird to me that no data would be deleted, when generally that's what users I would think want done when they remove a mailbox.

      I see the following benefits from implementing this feature:

      • Improved efficiency in the workflow for deleting accounts when the admin intends for all the data to be removed too. Saves time.
      • Prevents accidental missteps in the CLI by removing the need to SSH to the box in the first place.

      Personally I believe that (almost) anytime a user needs to SSH to the server to achieve something on a Cloudron box, this is an opportunity for Cloudron to improve and "sell" a new feature to attract users who aren't interested in doing the system administration. As we've seen from recent posts, Cloudron seems to be attracting a lot of "newbie" sysadmins (which I think is great, that shows how user friendly Cloudron is!), and they may not be as willing to dwelve into the command line to remove data that we'd expect Cloudron to do for us when trashing a mailbox, for example. And heck, even the seasoned sysadmin can easily make mistakes and delete more than they intended (the rm -rf is a powerful command, lol) - we're all human. I think every time a user can achieve something from Cloudron instead of via command line makes it so much safer for the masses of Cloudron users.

      --
      Dustin Dauncey
      www.d19.ca

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

        @d19dotca Do you think we can make this the default behavior?

        marcusquinn d19dotca 2 Replies Last reply Reply Quote 0
        • marcusquinn
          marcusquinn @girish last edited by

          @girish Maybe optional - accidents do happen! 😬

          We're not here for a long time - but we are here for a good time :)
          Jersey/UK
          Work & Ecommerce Advice: https://brandlight.org
          Personal & Software Tips: https://marcusquinn.com

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

            I made an issue for this now - https://git.cloudron.io/cloudron/box/-/issues/720

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

              @girish I'd say most use-cases will intend for the data to be deleted so it could definitely be the default, but maybe there should be a different button for simply "disabling" it which is basically what the trash icon does now?

              --
              Dustin Dauncey
              www.d19.ca

              marcusquinn 1 Reply Last reply Reply Quote 0
              • marcusquinn
                marcusquinn @d19dotca last edited by

                @d19dotca One button for Archive and another for Delete maybe?

                Archiving is useful for former users where we need the records in case compliance or investigation issues happen but we no longer want the address(es) accepting new emails.

                We're not here for a long time - but we are here for a good time :)
                Jersey/UK
                Work & Ecommerce Advice: https://brandlight.org
                Personal & Software Tips: https://marcusquinn.com

                d19dotca 1 Reply Last reply Reply Quote 0
                • d19dotca
                  d19dotca @marcusquinn last edited by d19dotca

                  @marcusquinn Yes, that's pretty much what I think I said (or at least meant to say) 😆 haha. I just chose the word "disable" instead of "archive", but it's all the same thing in the end (mailbox will no longer accept mail and is not removed). 🙂

                  --
                  Dustin Dauncey
                  www.d19.ca

                  1 Reply Last reply Reply Quote 1
                  • nebulon
                    nebulon Staff last edited by

                    If this is disabled or archived, this also means that it is still "known" to the system, currently the data simply is not removed from the disk, but other relevant information is purged from the database.
                    So I agree, that deleting an account should also delete the mailbox data, if there is no proper way to restore that (currently you have to create a new mailbox record with the same mailbox handle and magically the data comes back). For that some archived state could be the solution to have a structured way to restore.

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