Author Topic: Get message from databases  (Read 3613 times)

Offline Ytneah67

  • Newbie
  • *
  • Posts: 4
Get message from databases
« 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.

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,879
    • SKaero - Custom Roundcube development
Get message from databases
« Reply #1 on: June 08, 2011, 06:58:24 AM »

Offline Ytneah67

  • Newbie
  • *
  • Posts: 4
Get message from databases
« Reply #2 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?

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,879
    • SKaero - Custom Roundcube development
Get message from databases
« Reply #3 on: June 09, 2011, 05:24:37 AM »
I'm not sure what you mean, the messages aren't stored in a database.

Offline Ytneah67

  • Newbie
  • *
  • Posts: 4
Get message from databases
« Reply #4 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.

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,879
    • SKaero - Custom Roundcube development
Get message from databases
« Reply #5 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.

Offline Ytneah67

  • Newbie
  • *
  • Posts: 4
Get message from databases
« Reply #6 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!