======How to move VPOP3 V3 to a new folder====== This guide assumes you want to move the whole of VPOP3 (including the message store) to a new folder on the same PC - Stop VPOP3 - Stop PostgreSQL - Remove the PostgreSQL service - Move VPOP3 to the new folder - Reassign permissions for PostgreSQL - Install the PostgreSQL service - Reset some paths in the registry - Reinstall VPOP3 Note that we can do this for you remotely if you wish, there is a small charge for this (currently £50 + VAT). Contact us on 01484 855800 if you wish us to do it for you. =====Stop VPOP3===== Go to Control Panel -> Administrative Tools -> Services, and stop the 'VPOP3 Email Server' service =====Stop PostgreSQL===== Go to Control Panel -> Administrative Tools -> Services, and stop the 'PostgreSQL-VPOP3' service =====Remove the PostgreSQL service===== At a command prompt, navigate to your VPOP3 directory, then the **pgsql\bin** directory under that Run pg_ctl unregister -N "pgsql-8.3" If this doesn't work, run pg_ctl unregister -N "PostgreSQL-VPOP3" =====Move VPOP3 to the new folder===== Move the VPOP3 folder and ALL sub-folders to the new location =====Reassign permissions for PostgreSQL===== You need to assign permission for the **postgres** user to the VPOP3\pgsql folder To do this, go to the VPOP3 folder in Windows Explorer. Right-click the **pgsql** folder and choose Properties, then Security. Add permission for the **postgres** user to have full permission to access this folder. (On an Active Directory Controller, the **postgres** user is a domain user, on all other types of PC, the **postgres** user is a local user). If you want to be slightly more secure, you can give the **postgres** user read-only permission to the **pgsql** folder, and full permissions to the **pgsql\data** folder. =====Install the PostgreSQL service===== At a command prompt, navigate to your new VPOP3 directory, then the **pgsql\bin** directory under that Run pg_ctl register -N "PostgreSQL-VPOP3" -D "\pgsql\data" -U postgres -P vla8Pi4cluwrouDiERiU e.g. Run pg_ctl register -N "PostgreSQL-VPOP3" -D "D:\VPOP3\pgsql\data" -U postgres -P vla8Pi4cluwrouDiERiU =====Reset some paths in the registry===== Run RegEdit. You may need to change the following entries to the appropriate subdirectory in the new installation folder. (If you have previously changed them from the default, you may wish not to change them after moving VPOP3) * **HKEY_LOCAL_MACHINE\Software\PaulSmith\VPOP3** - **MessageStore** -> **\_messages** * **HKEY_LOCAL_MACHINE\Software\PaulSmith\VPOP3\Archiving** - **MainStore** -> **\_archive** * **HKEY_LOCAL_MACHINE\Software\PaulSmith\VPOP3\Attachments** - **AttachmentDirectory** -> **\_attach** * **HKEY_LOCAL_MACHINE\Software\PaulSmith\VPOP3\Database** - **PostGreSQLBinDir** -> **\pgsql\bin** * **HKEY_LOCAL_MACHINE\Software\PaulSmith\VPOP3\FaxServer** - **ReceivePath** -> **\_fax\in** * **HKEY_LOCAL_MACHINE\Software\PaulSmith\VPOP3\Database** - **SpoolPath** -> **\_fax\out** =====Reinstall VPOP3===== Reinstall VPOP3 into the new location If you have any plugins such as "avast! for VPOP3" or the VPOP3 FaxServer you should reinstall those as well