I’m curious to know where the mail is stored when using Kopano? it’s looking like emails are stored in the database, and attachments are stored in the file-system??
If so, how can I safely delete all email from the system… I have finished my testing and would like to clear everything out before I move it into the network and let them use imapsync to migrate everything over (which works perfectly)
hrm… after doing some more research i found the kopano-cli command… would removing the store from the users be enough? will the system re-create a store for a user when a new mail is delivered or when they log in?
The way to make sure that everything is deleted is to drop the Kopano database and remove /var/lib/kopano (while all Kopano services have been stopped).
To remove a store you’d have to unhook it first. After you have unhooked the store you need either create a new store or to hook an existing store to the user.
If you really want to start over the part of this answer before the quote is the more thorough one.
yes, if the server doesn’t find the configured database it will create a new one (as long as the configured mysql user has the permissions to do so, but that is the case on ucs).
Depends on what kind of settings you are talking about. general system configuration is stored below /etc/kopano and not stored in the database and will not be impacted by this.
User settings are stored in the mailbox of the user and would be removed by dropping the database (but would as well when just removing the store). ´kopano-backup´ is capable of backing up and restoring this kind of “meta data”.
Again, thank you very much. I will try stopping the kopano service and drop the db… I would love to purchase a subscription but being a volunteer fire department I simply don’t have the budget… Kopano is a fantastic package. Thank you very much for all the work that has gone into it.
so in a nutshell, stop all those services, then drop db… restart each… is there a particular order these should be done in? or is there a single service that spawns the remainder?
Thanks! PS… I am investigating the possibility of a subscription in our next budget.