The following bug has been SUBMITTED. ====================================================================== http://www.dbmail.org/mantis/bug_view_advanced_page.php?bug_id=0000226 ====================================================================== Reported By: tmatsuo Assigned To: ====================================================================== Project: DBMail Bug ID: 226 Category: General Reproducibility: always Severity: major Priority: normal Status: new ====================================================================== Date Submitted: 07-Jul-05 12:22 CEST Last Modified: 07-Jul-05 12:22 CEST ====================================================================== Summary: Pop3d and imapd can't start. Description: Pop3d and imapd can't start sometimes. The message is... server.c,dm_bind_and_listen: Address already in use
In the function 'CreateSocket', the value of conf->socket is undefined. So, sometimes the return value of strlen(conf->socket) is 0. But next time, it's 1 or something. When the return value is more than 1, an unix domain socket is created unintentionally, thus 'bind' call fails. To fix this problem 1. Set config->socket value in the function 'SetConfigItems'. or 2. Initialize config.socket value after definition of 'config' struct. ====================================================================== Bug History Date Modified Username Field Change ====================================================================== 07-Jul-05 12:22tmatsuo New Bug ======================================================================
