This is an old revision of the document!
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:
bin\initdb -D <VPOP3folder>\pgsql\data -U postgres -W -A md5
copy data_old\postgresql.conf data
to copy the database server configuration to the new location. You may be prompted if you want to overwrite the existing file. If so, confirm the overwrite.
createuser -S -D -R -U postgres -P vpop3
At the 'Enter Password for new role' and 'Enter it again' prompts type vpop3pass. At the 'Password:' prompt type pgsqlpass (or whatever password you defined in the step 4 above)
Once you're happy everything is working OK, you can delete the data_old folder.