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.
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.