Hello! I just updated from DBMail 2.1.4 to SVN head. I recreated the database with the included SQL script for MySQL databases.
My main concern was testing for autocreation of INBOX on first login. This seem to work very well. Unfortunaly i can not authenticate succesfully anymore. This is from the dbug logging output: Apr 22 23:52:41 mail-4.metaways.net dbmail/imap4d[4675]: [ID 259515 mail.notice] db.c,db_usermap_resolve: login '[EMAIL PROTECTED]' not found in usermap Apr 22 23:52:41 mail-4.metaways.net dbmail/imap4d[4675]: [ID 385242 mail.notice] authldap.c,__auth_get_first_match: searching with query [([EMAIL PROTECTED])] Apr 22 23:52:41 mail-4.metaways.net dbmail/imap4d[4675]: [ID 269356 mail.notice] authldap.c,__auth_get_first_match: returnid [16000] Apr 22 23:52:41 mail-4.metaways.net dbmail/imap4d[4675]: [ID 564453 mail.notice] authldap.c,auth_user_exists: returned value is [16000] Apr 22 23:52:41 mail-4.metaways.net dbmail/imap4d[4675]: [ID 385242 mail.notice] authldap.c,dm_ldap_user_getdn: searching with query [(uidNumber=16000)] Apr 22 23:52:41 mail-4.metaways.net dbmail/imap4d[4675]: [ID 402793 mail.notice] authldap.c,auth_validate: rebinding as [uid=user16000,ou=xenorg.de,ou=customer,ou=people,o=metaways] to validate password Apr 22 23:52:41 mail-4.metaways.net dbmail/imap4d[4675]: [ID 814558 mail.notice] dbmysql.c,db_query: query [SELECT mailbox_idnr FROM dbmail_mailboxes WHERE name='INBOX' AND owner_idnr='18446744073705337344'] Apr 22 23:52:41 mail-4.metaways.net dbmail/imap4d[4675]: [ID 804847 mail.notice] db.c,db_findmailbox_owner: no mailbox found Apr 22 23:52:41 mail-4.metaways.net dbmail/imap4d[4675]: [ID 690749 mail.notice] db.c,db_createmailbox: creating shadow user for [18446744073705337344] Apr 22 23:52:41 mail-4.metaways.net dbmail/imap4d[4675]: [ID 221772 mail.notice] db.c,db_user_find_create: user_idnr [18446744073705337344] As you can see the authentication seem to work for the user with the userid 16000. But then dmail issues following SQL statement: SELECT mailbox_idnr FROM dbmail_mailboxes WHERE name='INBOX' AND owner_idnr='18446744073705337344' The owner_idnr is simply wrong. It must be 16000. In the SQL table everything looks ok. And the strange number(18446744073705337344) does not come from my LDAP server. The same LDAP settings are working very fine for DBMail 2.1.4. Beside that, the autocreation of users/folders for LDAP authentication seem to work. There are all needed rows in the database after first log in trial. -- Lars Kneschke Metaways Infosystems GmbH Pickhuben 4 20457 Hamburg Germany eGroupWare Training & Support ==> http://www.egroupware-support.net E-Mail: mailto:[EMAIL PROTECTED] Web: http://www.metaways.de Tel: +49 (0)40 317031-21 Fax: +49 (0)40 317031-81 Mobile: +49 (0)175 9304324
