> > Just make an alias to it? as you would with an other mailbox? > No, that wouldn't work. Shared mailboxes as they are implemented now > only work on IMAP-level. That is, you can use your IMAP client to > copy/move messages into a shared > mailbox that you have access to. > > However, I found a flaw in my shared mailbox implementation. Quite a > stupid, but fundamental, flaw. I gave the shared mailboxes an owner_id > of '0', but this violates foreign key constraints, as there is no user > with user_idnr '0'. > > I've not devoted time to fixing this yet. I'd like to fix in a way that > doesn't require changing too much in the rest of dbmail. Is there > anyone here who has thought about this?
Would of thought rather than syncing 2 mailboxes, could you not just modify the sql so it looks to a middle table so it would use: so instead of the mailbox using the users:user_idnr change it to use say mailbox:mailbox_idnr with a intermediate table that could link them together say users_mailbox:user_idnr + mailbox_idnr then you could have multiple users using the same mailboxes and use the aliases table? (all reference to the sql for the users:user_idnr would need to be changed to join up the other table, that shouldn't be too difficult then wouldn't require any physical dbmail structural changes) Simon
