Skip to content

improve query for mailstorage hosts

mh requested to merge improve-query-for-mailstorages into master

We need a way to get only the active mailboxes, so we can only migrate them away. Also uid management does not make a lot of sense with inactive accounts.

Additionally we order the returned active mailboxes by their lastlogin field. This has the effect, that in case of migration, we first migrate away not actively used mailboxes and only the active ones at the very end.

Merge request reports