X-Git-Url: https://git.hcoop.net/hcoop/debian/courier-authlib.git/blobdiff_plain/b0322a8536f3cab76471c98122fe1df75bb7c387..463a5c942956f42fce366796356201639cb0d92b:/authpgsqlrc diff --git a/authpgsqlrc b/authpgsqlrc index ab85c8e..923dcc3 100644 --- a/authpgsqlrc +++ b/authpgsqlrc @@ -1,4 +1,4 @@ -##VERSION: $Id: authpgsqlrc 17 2011-04-04 02:07:37Z mrsam $ +##VERSION: $Id: c6a82fc8c0bd0e858ca7c133640ed14769e3e04c-20160501082012$ # # Copyright 2000-2004 Double Precision, Inc. See COPYING for # distribution information. @@ -19,26 +19,18 @@ # field value. Trailing spaces are prohibited. -##NAME: LOCATION:0 +##NAME: LOCATION:1 # # The server hostname, port, userid, and password used to log in. # -# To connect to a filesystem socket, delete PGSQL_HOST, and set PGSQL_PORT to -# the socket's last component. So, if your pg socket is /tmp/.s.PGSQL.5400 -# set PGSQL_PORT to 5400. +# See Postgresql's documenation for PQconnectdb(), for other options that +# you can use here. -PGSQL_HOST pgsql.example.com -PGSQL_PORT 5400 -PGSQL_USERNAME admin -PGSQL_PASSWORD admin - - -##NAME: PGSQL_OPT:0 -# -# PGSQL_OPT specifies the connection debug options to PQsetdbLogin(). -# Don't bother with this setting unless you know what you're doing -# -# PGSQL_OPT +PGSQL_CONNECTION \ + host=pgsql.example.com \ + port=5400 \ + user=admin \ + password=admin ##NAME: PGSQL_DATABASE:0 # @@ -139,7 +131,7 @@ PGSQL_NAME_FIELD name ##NAME: PGSQL_QUOTA_FIELD:0 # # Define PGSQL_QUOTA_FIELD to be the name of the field that can optionally -# specify a maildir quota. See README.maildirquota for more information +# specify a maildir quota. See README.maildirquota for more information # # PGSQL_QUOTA_FIELD quota @@ -258,3 +250,9 @@ PGSQL_NAME_FIELD name # WHERE local_part='$(local_part)' \ # AND domain_name='$(domain)' # + + +##NAME: MARKER:0 +# +# Do not remove this section from this configuration file. This section +# must be present at the end of this file.