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 at dovecot.org [mailto:dovecot-bounces+tony=bluetie.com at dovecot.org] On Behalf Of Alex Baule Sent: Monday, December 14, 2009 2:37 PM To: dovecot at 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 :) -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20091214/230df1b9/attachment-0002.bin>