Mike Bowe's quick guide to vpop/pg seems fine, although I can fine noplace in the ./configure help or documentation about how to authenticate to the database (the postgres user has a password that I'm never prompted for, nor do I see anything asking for a config file). The vpopmail db exists in the database.
The error given when I type ./vadddomain test.com test is this: vauth_open: can't connect: fe_sendauth: no password supplied pg_begin: no connection to the server vpgsql: error creating table 'dir_control': no connection to the server vcreate_dir_control: insert failed: no connection to the server
I have compiled vpopmail using the following options:
./configure --enable-postgres=y --enable-tcpserver-file=/var/vpopmail/etc/tcp.smtp --enable-logging=v --enable-auth-module=pgsql --disable-ip-alias-domains --disable-roaming-users --disable-passwd --enable-clear-passwd --disable-domain-quotas --enable-valias
Any help would be much appreciated. Thanks!!