Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: JamalL on January 13, 2014, 03:48:44 PM

Title: Coding for different mail store
Post by: JamalL on January 13, 2014, 03:48:44 PM
I'm trying to get Roundcube to work with a mail store beside Imap.  Actually it's still Imap, but with some specialized features that I need like custom authentication & specialized filtering.

I took a look at the code and found that the Imap calls all seem to be here

/program/lib/Roundcube/rcube_imap.php

So if want to make a custom store I would just change the code there?  Has anything like this been done already as an example?  Are there provisions for doing what I want to do with hooks or plugins? 

Thanks.
Title: Re: Coding for different mail store
Post by: alec on January 14, 2014, 02:23:03 AM
Authentication thing should be possible with plugin, I'm not sure about the filtering. Anyway you can replace the whole rcube_imap class. See rcube_storage which is a parent for it. There's also a hidden config option storage_driver. See rcube::storage_init() method.