by rob » Fri Jun 13, 2008 11:54 am
Sorry to hear about your misfortune, when you create a user through the admin interface and then save it. It will overwrite the files at the user account directory with the empty address book that was spawned with the new user (mails and folders are fine, but settings are lost as you have seen). The best way to avoid this is to create the users externally, by either adding them to your database or if you use the file system, append them to the users.ini. The mail server will then automatically pick up on the new users next time it polls the INI's and load the users in without having to save/overwrite the user accounts. As to the backup problem, although corrupted backup files are fortunatly quite rare, if they are corrupted there is no way to be able to read them otherwise. If they were small enough I would of course be happy to examine the file and try to manually fix the corruption, but 25 GB is simply to large for your to send. There is one possible trick you could try. The backup file presently is uncompressed (something we plan to remedy in the future) and so you can use a text editor to examine the file. If the text editor can deal with 25GB of data, you could search the backup file and find the chunk of text that is the address book of effected users. If you can identify and locate the affected users, you could copy and paste the addressbook settings back out. In the mean time I have made a recommendation for us to improve the resilence on the reading of backup files and make the algorithm more able to deal with corruption (basically, its possible some checks are failing which otherwise most of the file should still be fine to use).