Roundcube Community Forum

 

Get message from databases

Started by Ytneah67, June 08, 2011, 05:25:45 AM

Previous topic - Next topic

Ytneah67

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.

SKaero


Ytneah67

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?

SKaero

I'm not sure what you mean, the messages aren't stored in a database.

Ytneah67

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.

SKaero

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.

Ytneah67

Ok, i'll see if what i want to do is possible, but it seems to be hard...

Thank you very much!