Tom Allison <tallison@tacocat.net> writes:
> I'm trying to configure postfix to use the postgres database for lookups.
> Since I have a localhost based server, I was going to use unix_sockets.
> The postfix docs call for a /directory/name.
> inet: for TCP connections (default). Example:
> hosts = host1.some.domain host2.some.domain
> hosts = unix:/file/name
I suspect you want to say unix:/tmp/.s.PGSQL.5432
(adjust if you are using a nonstandard port number)
regards, tom lane