[Dovecot] How to write plugin

Eugene Prokopiev eugene.prokopiev at gmail.com
Tue Nov 20 11:36:08 EET 2007


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>,
method=PLAIN, rip=192.168.46.23, lip=10.0.101.103
Nov 20 12:29:33 mail dovecot: IMAP(enp): copy plugin init
Nov 20 12:29:33 mail dovecot: IMAP(enp):

But I can't see nothing while message is copied :(

I tried to send mail to Fabio M. Catunda <catunda at
contactnet.com.br> yesterday, but I see no relpy. Fábio, can you show
me you code?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: copy_plugin.c
Type: text/x-csrc
Size: 1009 bytes
Desc: not available
Url : http://dovecot.org/pipermail/dovecot/attachments/20071120/37304763/attachment.bin 


More information about the dovecot mailing list