Hello everyone again.....
i try to do a plugin... and i see there is a lot of "hook_*" calls in various places....
There is some documentation about this hooks ?
like:
hook_mail_storage_created = is calling when the email is....
and go on....
Tks.
The documentation is very scarce from what I could tell. What I ended up doing was hunting through the example plugins...not optimal, but the best I could do. Besides the "hook_*" calls, the "vfuncs" defined in the "*-private.h" files are a key as well as these are the functions you can override.
Tony
-----Original Message----- From: dovecot-bounces+tony=bluetie.com@dovecot.org [mailto:dovecot-bounces+tony=bluetie.com@dovecot.org] On Behalf Of Alex Baule Sent: Monday, December 14, 2009 2:37 PM To: dovecot@dovecot.org Subject: [Dovecot] Plugins
Hello everyone again.....
i try to do a plugin... and i see there is a lot of "hook_*" calls in various places....
There is some documentation about this hooks ?
like:
hook_mail_storage_created = is calling when the email is....
and go on....
Tks.
On Mon, 2009-12-14 at 17:36 -0200, Alex Baule wrote:
i try to do a plugin... and i see there is a lot of "hook_*" calls in various places....
There is some documentation about this hooks ?
Like Tony said, currently no and other plugins could serve as examples. But I'm going to write documentation about this stuff to http://wiki.dovecot.org/Design, and there already is something about more lowlevel stuff. Things have changed in v2.0 though and it's somewhat easier to use and the documentation will be only about v2.0, so you might want to consider using v2.0 :)
participants (3)
-
Alex Baule
-
Timo Sirainen
-
Tony Rutherford