> $prefs_dsn = 'pgsql://[EMAIL PROTECTED](/tmp/.s.PGSQL.5432)/admin';
> $prefs_table = 'userprefs';

Postgres will default to port 5432, so unless you've got it running on some other port,
leave that part out. Actually, I'm not even sure what the "(/tmp/.s.PGSQL.5432)" part 
is
supposed to be -- the path to the socket it looks like but I'm pretty sure that's not
needed for the DSN. If you wanted to specify a port number it would be the usual :5432
at the end followed by the table name (file). Try something like this instead:

$prefs_dsn = 'pgsql://[EMAIL PROTECTED]/admin';

Also, is postmaster not running on the localhost but instead on the machine 'unix'?
squirrel's password was also left out. This is OK if there is no password, but
otherwise:

$prefs_dsn = 'pgsql://squirrel:<password>@unix/admin';

>
> Yet on login I get
> "Preference database error (unknown error). Exiting abnormally"
> This is with cvs squirrelmail of today, and DB.1.4.0. Should that not work? (socket
> exists, squirrel has rights to table userprefs in database admin)

Check your logfile. I compile Postgres to /opt/pgsql and log everything to
/opt/pgsql/logfile but my setup is non-standard. Check /var/log perhaps?

>
> Any thoughts on how to actually find out what the error is?

I'm not entirely sure, just taking some wild guesses hoping one of them might help  :)

Andre




-------------------------------------------------------
This SF.NET email is sponsored by: eBay
Great deals on office technology -- on eBay now! Click here:
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
--
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to