The following bug has been SUBMITTED. ====================================================================== http://www.dbmail.org/mantis/bug_view_advanced_page.php?bug_id=0000221 ====================================================================== Reported By: xing Assigned To: ====================================================================== Project: DBMail Bug ID: 221 Category: POP3 daemon Reproducibility: always Severity: feature Priority: normal Status: new ====================================================================== Date Submitted: 21-Jun-05 16:44 CEST Last Modified: 21-Jun-05 16:44 CEST ====================================================================== Summary: POP3 daemon can't connect to mysql but dbmail-smtp injects emails fine.. Description: After upgrading to 2.1.1, dbmail-smtp injects emails just fine but pop3 and imap daemon both chockes on init. Apparently the init db check fails breaking the startup. Since dbmail-smtp and dbmail-pop3d both use the same config/libraries, not sure why the db check fails.
--here it the trace 5 dump when pop3 daemon is started -- Jun 21 07:39:55 mail dbmail/pop3d[20975]: server.c,dm_socket: socket created Jun 21 07:39:55 mail dbmail/pop3d[20975]: server.c,dm_bind_and_listen: socket bound and listening Jun 21 07:39:55 mail dbmail/pop3d[20975]: server.c,CreateSocket: socket complete Jun 21 07:39:55 mail dbmail/pop3d[20977]: dbmysql.c,db_query: executing query [SELECT 1=1 FROM dbmail_physmessage LIMIT 1 OFFSET 0] Jun 21 07:39:55 mail dbmail/pop3d[20977]: dbmysql.c,db_query: executing query [SELECT 1=1 FROM dbmail_headervalue LIMIT 1 OFFSET 0] Jun 21 07:39:55 mail dbmail/pop3d[20978]: pool.c,child_register: register child [20978] Jun 21 07:39:55 mail dbmail/pop3d[20978]: pool.c,child_register: initializing child_state [20978] using slot [0] Jun 21 07:39:55 mail dbmail/pop3d[20978]: serverchild.c,CreateChild: signal handler placed, going to perform task now Jun 21 07:39:55 mail dbmail/pop3d[20978]: serverchild.c,PerformChildTask: waiting for connection Jun 21 07:39:55 mail dbmail/pop3d[20978]: pool.c,child_reg_disconnected: [20978] Jun 21 07:39:55 mail dbmail/pop3d[20979]: pool.c,child_register: register child [20979] Jun 21 07:39:55 mail dbmail/pop3d[20979]: pool.c,child_register: initializing child_state [20979] using slot [1] Jun 21 07:39:55 mail dbmail/pop3d[20979]: serverchild.c,CreateChild: signal handler placed, going to perform task now Jun 21 07:39:55 mail dbmail/pop3d[20979]: serverchild.c,PerformChildTask: waiting for connection Jun 21 07:39:55 mail dbmail/pop3d[20979]: pool.c,child_reg_disconnected: [20979] Jun 21 07:39:55 mail dbmail/pop3d[20980]: pool.c,child_register: register child [20980] Jun 21 07:39:55 mail dbmail/pop3d[20980]: pool.c,child_register: initializing child_state [20980] using slot [2] Jun 21 07:39:55 mail dbmail/pop3d[20980]: serverchild.c,CreateChild: signal handler placed, going to perform task now Jun 21 07:39:55 mail dbmail/pop3d[20980]: serverchild.c,PerformChildTask: waiting for connection Jun 21 07:39:55 mail dbmail/pop3d[20980]: pool.c,child_reg_disconnected: [20980] Jun 21 07:39:55 mail dbmail/pop3d[20981]: pool.c,child_register: register child [20981] Jun 21 07:39:55 mail dbmail/pop3d[20981]: pool.c,child_register: initializing child_state [20981] using slot [3] Jun 21 07:39:55 mail dbmail/pop3d[20981]: serverchild.c,CreateChild: signal handler placed, going to perform task now Jun 21 07:39:55 mail dbmail/pop3d[20981]: serverchild.c,PerformChildTask: waiting for connection Jun 21 07:39:55 mail dbmail/pop3d[20981]: pool.c,child_reg_disconnected: [20981] Jun 21 07:39:55 mail dbmail/pop3d[20982]: pool.c,child_register: register child [20982] Jun 21 07:39:55 mail dbmail/pop3d[20982]: pool.c,child_register: initializing child_state [20982] using slot [4] Jun 21 07:39:55 mail dbmail/pop3d[20982]: serverchild.c,CreateChild: signal handler placed, going to perform task now Jun 21 07:39:55 mail dbmail/pop3d[20982]: serverchild.c,PerformChildTask: waiting for connection Jun 21 07:39:55 mail dbmail/pop3d[20982]: pool.c,child_reg_disconnected: [20982] Jun 21 07:39:55 mail dbmail/pop3d[20977]: server.c,StartServer: starting main service loop Jun 21 07:39:55 mail dbmail/pop3d[20977]: dbmysql.c,db_check_connection: no database connection, trying to establish on. ====================================================================== Bug History Date Modified Username Field Change ====================================================================== 21-Jun-05 16:44xing New Bug ======================================================================