Re: [Dovecot] How to write plugin

2007-11-20 Thread Eugene Prokopiev
I tried to use http://www.dovecot.org/patches/copy_plugin.c as simple example. My code is attached. I see plugin loading in logs: Nov 20 12:29:33 mail dovecot-auth: pam_tcb(dovecot:auth): Authentication passed for enp from (uid=0) Nov 20 12:29:33 mail dovecot: imap-login: Login: user=enp,

[Dovecot] dspam integration

2007-11-19 Thread Eugene Prokopiev
Hi, I see http://johannes.sipsolutions.net/Projects/dovecot-antispam and http://blog.cynapses.org/2007/09/13/dovecot-dspam-plugin/ solutions. Second git repo is not answer, first one is cloned, but I see some drawbacks with it. Dspam backend is more native solution but libdspam using instead of

[Dovecot] How to write plugin

2007-11-19 Thread Eugene Prokopiev
Hi, Where can I find documentation for plugin writers? Now I see mail-log-plugin source, but I can't understand how entry points (functions mail-log-plugin-init and mail-log-plugin-deinit) are defined to execute some actions on load/unload/copy messages. Can anybody comments this?