mjl- / mox

modern full-featured open source secure mail server for low-maintenance self-hosted email
https://www.xmox.nl
MIT License
3.69k stars 110 forks source link

Account deletion not deleting local files - causing backup warning #221

Closed wneessen closed 1 month ago

wneessen commented 1 month ago

Hi again,

I've just tried the backup functionality and got this output:

warning: backing up unrecognized file; path=accounts/toni.tester/index.db
warning: backing up unrecognized file; path=accounts/toni.tester/junkfilter.bloom
warning: backing up unrecognized file; path=accounts/toni.tester/junkfilter.db
warning: backing up unrecognized file; path=accounts/toni.tester/msg/a/1
warning: backing up unrecognized file; path=accounts/toni.tester/msg/a/3
warning: backing up unrecognized file; path=accounts/toni.tester/msg/a/4
warning: backing up unrecognized file; path=accounts/toni.tester/msg/a/5

toni.tester was a test account I had setup during the initial testing phase and later deleted via the admin UI. Apparently the local files of the account were not deleted but only the entry in the config files. Now the backup process is seeing the local files but cannot associate them (I think).

Is it safe to delete the whole directory manually?

mjl- commented 1 month ago

Is it safe to delete the whole directory manually?

Yes, you can safely remove it. This has been addressed in https://github.com/mjl-/mox/commit/30ac690c8f64558487a26bc6797c9cb7ac034d7d, but it hasn't made it into a release yet...

wneessen commented 1 month ago

Thanks!