Hi Paul,

There is a record for my user 1234. That is why I am confused. I can read and receive email in this account.

Perhaps a field other than user_idnr is not set properly?

Thank you.

-Dan

Paul J Stevens wrote:
dbmail_users

Daniel Durgin wrote:
Hi Paul,

Thank you. What table is the shadow account stored in?

-Dan

Paul J Stevens wrote:
Dan,

There is an ommision in the code that will lead to this:

you created ldap user 1234, which triggers creation of a shadow account
in mysql when this user is first accessed.

however, if you now delete user 1234 from ldap, the shadow record still
remains.

Ideally, dbmail-util should check for this, but until then, please fix
your ldap user create/delete procedures to clean out the shadow record
when you remove an ldap account.




Daniel Durgin wrote:
Hello,

I can't seem to create folders or subfolders with IMAP:

2008-04-01T21:57:53-04:00 <mail.alert>  dbmail/imap4d[14444]:
Error:[sql] dbmysql.c,db_query(+290): [Duplicate entry '1234' for key 1]
[INSERT INTO dbmail_users
(userid,user_idnr,passwd,client_idnr,maxmail_size,encryption_type,
last_login) VALUES ('dan',1234,'UNUSED',65535,0,'md5',
CURRENT_TIMESTAMP)]
2008-04-01T21:57:53-04:00 <mail.alert>  dbmail/imap4d[14444]: Error:[db]
db.c,db_user_create(+4860): query for adding user failed
2008-04-01T21:57:53-04:00 <mail.alert>  dbmail/imap4d[14444]: Error:[db]
db.c,db_createmailbox(+3363): unable to find or create sql shadow
account for useridnr [1234]
2008-04-01T21:57:53-04:00 <mail.alert>  dbmail/imap4d[14444]:
Error:[imap] imap4.c,IMAPClientHandler(+303): command return with error
[create]

I just install 2.2.10, it didn't seem to fix the problem from 2.2.9.  I
am using ldap authentication with mysql backend.

Any Suggestions?

-Dan

_______________________________________________
DBmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail


_______________________________________________
DBmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail



_______________________________________________
DBmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail

Reply via email to