Hi Julien,

thank for your answer. I plan to integrate with existing systems.

openchange is at my point of view, the killer app, so i decide to begin with, purposes of my backend will be done in two steps :

 * *accessing mail *
     o first time thru imap (dovecot)
     o second time (2.0) directly thru maildir
 * *accessing calendar*
     o first time thru caldav (owncloud seems good)
     o second time directly on database or same process as owncloud
 * *address book*
     o first time directly use AD as Exchange do, AD with openchange
       provides all things needed

As it is documented, i want to make modules, so every one could choose.
I want to be as close to exchange as possible, so i need to make patch on Dovecot and Postfix to allow use of proxyAddresse attribute, homeDB,...

A lot of work, but exciting.
It is now possible to do that due to your great work !

Regards
Serge


Le 12/04/2013 15:57, Julien Kerihuel a écrit :
Hi Serge,

On Thu, 2013-04-11 at 12:54 +0200, Serge NOEL wrote:
Firts it seems that we have to create a library with a
mapistore_init_backend entry point. This function initialise a
structure mapistore_backend and call mapistore_backend_register.
This library will be installed in /usr/lib/mapistore_backends (in my
case because i use fhs folder type).
This part is working now (i make a new dummy backend : registering
well )

Ok.

Making make doxygen reveals how backend work, i can get some view of
what to do, but how do we link top-folder and backend ? I am
installing a new virtual machine with Sogo following
http://iabsis.com/ documentation. I will have opportunity to put
triggers on Sogo backend... but seems big work.

My trouble is due to the fact that Inverse doesn' t comment all
functions. A lot are a bit confuse to me
Some time ago, I had started to write openchange mapistore guide for
backend development. It may be a bit outdated now and require a bit of
updates and polishing, but you should find a preliminary base here
(along with other wiki documents)

http://tracker.openchange.org/projects/openchange/wiki/MAPIStore_10_Development_Guide
examples:
   sogo_backend_create_context   I suppose that it serves to initialise
context (can be mail/appointment, ..). But what is expecting
openchange this function to do ?
Creating a context is at an upper level than mail/appointment. Roughly
speaking, this create context operation happens when you open a
root/system mailbox folder (those who are indexed in openchange.ldb
database).

 From your backend perspective, it is a way to initialize private data
and perform preliminary operations prior further operations to happen on
the destination (backend) folder.

Questions :
       * Is there somewhere such a documentation ? I can propose making
         this doc.
Answered above ;-)

       * How to commit my work on openchange repository (in a branch)
You can create a git branch and push it on github so your work can be
reviewed and merged in / signed-off into master when you start getting
results.

Btw, what is the backend you are trying to develop?

Kind Regards,
Julien.


_______________________________________________
devel mailing list
[email protected]
http://mailman.openchange.org/listinfo/devel

Reply via email to