Package: postfix-pgsql
Version: 2.2.6-1
Severity: normal

Only default port number (5432) can be used when fetching data from
PostgreSQL server using pgsql: tables, postmap command works fine with
other ports.

My /etc/postfix/main.cf file contains line:
virtual_alias_maps = pgsql:/etc/postfix/pgsql-virtuals.cf

$ cat /etc/postfix/pgsql-virtuals.cf
user = myusername
password = mypassword
dbname = mydbname
hosts = localhost:5433

and postmap command returns correct value, see example:

$ postmap -q [EMAIL PROTECTED] pgsql:/etc/postfix/pgsql-virtuals.cf
[EMAIL PROTECTED]

but postfix always connects to port 5432 while fetching data from
pgsql: tables, it doesn't read port number from `hosts` variable


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14.2-grsec
Locale: LANG=pl_PL, LC_CTYPE=pl_PL (charmap=ISO-8859-2)

Versions of packages postfix-pgsql depends on:
ii  libc6                         2.3.5-8.1  GNU C Library: Shared libraries an
ii  libpq4                        8.1.1-1    PostgreSQL C client library
ii  postfix                       2.2.6-1    A high-performance mail transport 

postfix-pgsql recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to