On Thu, 2004-07-01 at 18:50, Darius Wei wrote: > OK, I'm trying to configure vpopmail 5.4.6 with postgres 7.4.1. The > compilation process seems to work fine, but I can't get a connection to > the database when actually running the tools.
In vpgsql.h there are a couple of lines that need editing: #define DB "NAME_OF_YOUR_DATABASE" #define PG_CONNECT "host=YOUR_DB_HOST_NAME user=YOUR_DB_USERNAME password=YOUR_PASSWORD dbname=" DB Although I don't think host is in there as a default. But if your database server is on a different server you will need to add that. Hope that helps. Jay Tortorelli