On Fri, 2007-08-24 at 12:57 -0700, Gary Smith wrote:
> Hello, 
> 
> >From what I have read on the dovecot site, it's possible to create a
> plugin for a custom data store format.  We have emails in a custom
> format in a database and would like to create a plugin for accessing
> these emails through dovecot.  
> 
> Is there any supporting documentation from creating a plugin like this?
> Are there any samples?

I think you should begin with Dovecot v1.1 code which makes it a lot
easier. It has Cydir format that is really simple and serves as a pretty
good example of how to implement a new backend.

Cydir is a mail_storage backend, but you'll probably need to also
implement mailbox_list backend. Shouldn't be too difficult by looking at
FS and Maildir++ backends I think.

By database do you mean SQL or something else? I've beginnings of SQL
backend plugin already, but I don't remember if it was for v1.0 code or
some version of v1.1. http://dovecot.org/patches/mail-sql.tar.gz

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to