The following bug has been CLOSED
======================================================================
http://www.dbmail.org/mantis/bug_view_advanced_page.php?bug_id=0000175
======================================================================
Reported By:                dululu
Assigned To:                
======================================================================
Project:                    DBMail
Bug ID:                     175
Category:                   Database layer
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     closed
======================================================================
Date Submitted:             18-Feb-05 09:51 CET
Last Modified:              23-Feb-05 16:31 CET
======================================================================
Summary:                    Failure to connect to postgresql database - no 
PostgreSQL user name specified in startup packet
Description: 
When running DBMail 2.0.3 against a Postgresql 8 database you get the
following message in maillog

dbpgsql.ci,db_connect: PQconnectdb failed: FATAL:  no PostgreSQL user name
specified in startup packet

The user name, password and database name are present in /etc/dbmail.conf

Hardcoding the values in pgsql/dbpgsql.c db_connect() results in a working
configuration.

I've had the same results using 2.0.3 and dbmail_2_0_branch_15_Feb_2005
======================================================================

----------------------------------------------------------------------
 dululu - 19-Feb-05 14:26 CET 
----------------------------------------------------------------------
This bug can be closed

Configuration file issues (Leaving the default comments in the first
section result of dbmail.conf results in the behaviour described.
Stripping them out fixes it).

----------------------------------------------------------------------
 paul - 23-Feb-05 16:31 CET 
----------------------------------------------------------------------
This bug is already resolved in cvs-head by using the iniparser library.

Bug History
Date Modified  Username       Field                    Change              
======================================================================
18-Feb-05 09:51dululu         New Bug                                      
19-Feb-05 14:26dululu         Bugnote Added: 0000586                       
23-Feb-05 16:31paul           Bugnote Added: 0000587                       
23-Feb-05 16:31paul           Resolution               open => suspended   
23-Feb-05 16:31paul           Status                   new => closed       
======================================================================

Reply via email to