After a crash of a server, I have problems with the postoffice.
I have replaced the primary domain database with the secondary database, because the original primary domain was lost without proper backup.

Now, the system is up and running again, but when I send a synchronization command from C1, I get a D506 error on the POA. The suggested solution is to rebuild the database.
When I rebuild the postoffice database, the error is C00F on POA startup.

So I am stuck in a loop.
Does someone have a solution?