Server ran out of HD space due to the log file growing to over 160GB. Somehow, in the course of attempting to fix things, I managed to run zmldapinit. There's no backup, snapshot was removed so I could increase storage space in vmware, and I have been unable to locate any backup of the LDAP files. Naturally, ZCS won't start properly.
I have now installed a completely new server (Ubuntu 10.04) and installed the latest ZCS on it, and have managed to recreate the accouts so that new mails are received and delivered to the users (very low number of actual users, less than 10.)
My question is, would there be any way of copying the old messages to the new server, keeping the received dates intact? As far as I can tell, none of the normal tools would work, as I am unable to connect to the LDAP service.
Original server was RHEL 5 (32bit), ZCS was 5.0.11 (upgraded to 6.0.6, and then to 7.2.0)
New server is Ubuntu 10.4 (64bit) ZCS is 7.2.0
I have no interest in recovering the original server (it was not set up by me, I'm just the poor mug who now has to look after them) but would greatly appreciate any advice on how I might move the old user data over to the new server.