Dbmail doesn't want to use the local socket when connecting to PostgreSQL.  
Config snippet from below.  Using this configuration it tries to connect via 
TCP.

# 
# Supported drivers are mysql, postgresql, sqlite.
#
driver               = postgresql

# 
# Supported drivers are sql, ldap.
#
authdriver           = sql

# 
# Host for database, set to localhost if database is on
# the same host as dbmail and you want to use a local
# socket for connecting. 
#
host                 = localhost           

# 
# If you want to use TCP/IP for connecting to the database,
# and have the database running on a non-standard port. 
#
sqlport              =

# 
# When using a local socket connection to the database, fill
# in the path to the socket here (e.g. /var/run/mysql.sock).
#
sqlsocket            = /tmp/.s.PGSQL.5432

---
Larry Low

_______________________________________________
Dbmail-dev mailing list
[email protected]
http://twister.fastxs.net/mailman/listinfo/dbmail-dev

Reply via email to