Hi all, I'm whacking together a Cyrus-DBMail converter and I'm getting closer but I need to be able to get at DBMail's internals to do this as I need to create a tool that will replicate an already existing folder structure.
I have code that looks like this: int main(void) { u64_t userid, mbox1, mbox2; db_connect(); auth_connect(); userid = auth_user_exists(USERNAME); mbox1 = db_get_mailboxid(userid, MBOX1NAME); mbox2 = db_get_mailboxid(userid, MBOX2NAME); return 0; } Looking at this in GDB, userid always gets set to about 1.8 billion, even though the mysql client lists the userid as 1 and mbox1 and mbox2 always get set to 0. Both mailboxes being looked for already exist. Any hints? Chris