How does one remove mailbox data?



  • When deleting a mailbox, I get the following message: "After deletion, emails to this mailbox will bounce. Note that the mailbox data is not removed."

    How do I completely get rid of all history of that account and it's corresponding data? What I had was email1@example.com while testing and now have settled on email2@example.com, and want to remove email1@example.com from the server while ensuring the catch-all is set to email2@example.com so that emails addressed to the email1@example.com still carry over to email2@example.com. However the way the message is worded, it almost seems like email to email1@example.com will bounce instead of progressing in the form of catch-all to email2@example.com.

    Can you please clarify how this works exactly, and if anything further needs to be done to remove the mailbox data itself from email1?



  • This should also be very important in view of adhering to the dsgvo laws.



  • Removing a mailbox essentially tells the email server not to accept emails for that mailbox anymore.

    The way "Catch all" works is that if a mailbox bounces, then it will deliver it to an alternate/catch-all mailbox.

    In your case, you removed email1@example.com. This means that the mail server will not accept mails for that anymore. Which in turn means that if you have a catch-all address set, those emails will get delivered there. So, it's going to work just as you expected.

    What the message is trying to say is that if you had some emails in the email1@example.com mailbox, then you have to remove that from the server manually. This is done by deleting the directory /home/yellowtent/boxdata/mail/vmail/email1@example.com. I will add this to our docs.



  • @girish Is there a way to check what data is there and can be deleted? I think I have deleted emails, but never thought the data would stay there.



  • @ruihildt This is not for deleting emails but for deleting a whole mailbox. If email is deleted, they are gone forever. You can see all the mailboxes under /home/yellowtent/boxdata/mail/vmail.


Log in to reply