Hi,

If I use the original config for authpgsql:

PGSQL_CONNECTION        \
          host=127.0.0.1 \
          port=5432              \
          user=postamester             \
          password=somepassword

##NAME: PGSQL_DATABASE:0
#
# The name of the PostgreSQL database we will open:

PGSQL_DATABASE          mails

it fails with:
authdaemond: PGSQL_CONNECTION could not be established
authdaemond: connection to server at "127.0.0.1", port 5432 failed: FATAL: database "postamester" does not exist.

if I use this:
PGSQL_CONNECTION        \
          host=127.0.0.1 \
          port=5432              \
          dbname=mails     \
          user=postamester             \
          password=somepassword

it works.

Maybe the construction of the postgresql connect string should be revisited.

Robert



_______________________________________________
Courier-imap mailing list
Courier-imap@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap

Reply via email to