PostgreSQL server won't start due to damaged log files
If the PostgreSQL server won't start at all, because its transaction logs are damaged, you will need to recreate the database store totally.
To do this:
open a command prompt and find the VPOP\pgsql folder
rename the data folder to data_old
run bin\initdb -D <VPOP3folder>\pgsql\data -U postgres -W -A md5
When it prompts for a password, type in the password you want for the PostgreSQL superuser - we use pgsqlpass. If you choose to use something different, make sure you remember what it is!
type copy data_old\postgresql.conf data to copy the database server configuration to the new location