Pgsql proxymap to IPv6-only DB

2012-09-24 Thread Nick Rosier
Hi, I have Postfix configured to query some maps (proxy:pgsql) on my Postgresql-server which is only accessible through IPv6. Occasionally I see following errors: postfix/smtp: warning: connect to pgsql server db.domain.tld: could not translate host name db.domain.tld to address: hostname

Re: Pgsql proxymap to IPv6-only DB

2012-09-24 Thread Wietse Venema
Nick Rosier: Hi, I have Postfix configured to query some maps (proxy:pgsql) on my Postgresql-server which is only accessible through IPv6. Occasionally I see following errors: postfix/smtp: warning: connect to pgsql server db.domain.tld: could not translate host name db.domain.tld to

Re: Pgsql proxymap to IPv6-only DB

2012-09-24 Thread Nick Rosier
Wietse Venema wrote: Nick Rosier: Hi, I have Postfix configured to query some maps (proxy:pgsql) on my Postgresql-server which is only accessible through IPv6. Occasionally I see following errors: postfix/smtp: warning: connect to pgsql server db.domain.tld: could not translate host name

Re: Pgsql proxymap to IPv6-only DB

2012-09-24 Thread Wietse Venema
Nick Rosier: proxy:pgsql:/usr/local/etc/postfix/sql/virtual_alias_maps.cf virtual_alias_maps.cf: user = user password = postfix hosts = db.domain.tld #hosts = [2001:xxx:xxx:xxx] dbname = postfix Postfix passes the host directly to the PQsetdbLogin() function. I suppose that the