Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: Ytneah67 on June 08, 2011, 05:25:45 AM

Title: Get message from databases
Post by: Ytneah67 on June 08, 2011, 05:25:45 AM
Hello,

For my internship I have to setup a webmail with special features. It seems that roundcube is adapted to my needs, but there's one point I don't know how to do, and I didn't found on the internet how to do it, so i ask here.
It is possible to get messages from a database?
Actually, I already did something, with dovecot(by sharing mail with symlink) and maildirboxes, but it does not suit, so they ask me to do with a database.

Thanks!

PS: I'm french, please excuse me if there are mistakes.
PS2: I don't if I wrote into the good section, sorry if I didn't.
Title: Get message from databases
Post by: SKaero on June 08, 2011, 06:58:24 AM
Maybe DBMail would work for you DBMail: fast and scalable sql based mail services (http://www.dbmail.org/)
Title: Get message from databases
Post by: Ytneah67 on June 09, 2011, 05:10:56 AM
Hmm ok, I tried but for the moment it's not working, i don't even know if i configure it well =/

And if i don't want to change all my configuration, is there any option or something in the source code of roundcube where i can change the means of searching mail, and say it has to look in a database and not in the maildirboxes?
Title: Get message from databases
Post by: SKaero on June 09, 2011, 05:24:37 AM
I'm not sure what you mean, the messages aren't stored in a database.
Title: Get message from databases
Post by: Ytneah67 on June 09, 2011, 05:36:07 AM
Yes, sure, but I can make a script which insert them in a database created earlier, and then I want to get the mail from this database.
I know, it's a bit strange.
Title: Get message from databases
Post by: SKaero on June 10, 2011, 03:13:36 AM
RoundCube is setup to read everything through IMAP so if you want RoundCube to read email directly from a database you'll need to recode the whole IMAP part of RoundCube.
Title: Get message from databases
Post by: Ytneah67 on June 10, 2011, 04:08:17 AM
Ok, i'll see if what i want to do is possible, but it seems to be hard...

Thank you very much!