The following bug has been RESOLVED. ====================================================================== http://www.dbmail.org/mantis/bug_view_advanced_page.php?bug_id=0000078 ====================================================================== Reported By: ilja Assigned To: ilja ====================================================================== Project: DBMail Bug ID: 78 Category: Command-Line programs (dbmail-users, dbmail-util) Reproducibility: always Severity: major Priority: urgent Status: resolved Resolution: fixed ====================================================================== Date Submitted: 25-Aug-04 11:43 CEST Last Modified: 25-Aug-04 14:05 CEST ====================================================================== Summary: dbmail-users -a doesn't stop when a user already exists. Description: dbmail-users -a adds a new user. If the user already exists, it should stop. Instead it goes on, and creates an INBOX for the already existing user. ======================================================================
---------------------------------------------------------------------- ilja - 25-Aug-04 11:59 CEST ---------------------------------------------------------------------- The problem in dbmail-users is fixed in a very simple way. The problem in the database (possibility of entering several duplicate (mailbox.name, mailbox.owner_idnr) pairs is not yet fixed, but is easily fixable by adding a UNIQUE constraint. ---------------------------------------------------------------------- ilja - 25-Aug-04 14:05 CEST ---------------------------------------------------------------------- both C-code and SQL-code fixed. Bug History Date Modified Username Field Change ====================================================================== 25-Aug-04 11:43ilja New Bug 25-Aug-04 11:59ilja Bugnote Added: 0000202 25-Aug-04 14:05ilja Bugnote Added: 0000203 25-Aug-04 14:05ilja Resolution open => fixed 25-Aug-04 14:05ilja Status assigned => resolved ======================================================================