On Thu, Dec 10, 2009 at 05:42:13AM -0800, Brian Neu wrote: > After updating postfix & postgresql (still 8.3 though), postmap lookups > to postgres aren't working anymore. I HAVE recompiled postfix rpm to > include the postgresql libraries. > <snip> > > I get: > > ]# postmap -q testus...@advancedopen.com pgsql:pgsql-v-alias-maps.cf > postmap: fatal: bad string length 0 < 1: pgsql-v-alias-maps.cf_dbname = > Use the full path to the map. Relative paths end up looking for the map_name_variable inside main.cf for historical reasons.
Devdas Bhagat