Re: [Dovecot] error 89 when loading plugin

2010-08-04 Thread Timo Sirainen
On Mon, 2010-08-02 at 20:42 +1000, John O'Brien wrote: > As a result of a suggestion from Pascal late last week I spent today loading > 2.0.rc3 and converting the plugin to the "new form". > > What a nightmare. > > Is there an easy way to have a plugin included in the configuration and built >

Re: [Dovecot] error 89 when loading plugin

2010-08-02 Thread John O'Brien
Pascal, On 02/08/2010, at 2:22 AM, Pascal Volk wrote: > On 08/01/2010 08:37 AM John O'Brien wrote: >> Hi, >> >> I'm very confused - that's not too difficult for me. >> >> I have written a small plugin change_passwd_plugin.c >> I would like this custom IMAP command to be available to all users.

Re: [Dovecot] error 89 when loading plugin

2010-08-01 Thread Mark Sapiro
On 11:59 AM, John O'Brien wrote: > > dovecot.conf > mail_plugins = change_passwd_plugin > mail_plugin_dir = /usr/lib/dovecot/imap > imap_capability = XCHANGEPASSWORD > > %ls -la /usr/lib/dovecot/imap > ls -la /usr/lib/dovecot/imap > total 28 > drwxr-xr-x 2 root root 4096 Aug 1 16:03 . > drwxr-x

Re: [Dovecot] error 89 when loading plugin

2010-08-01 Thread Pascal Volk
On 08/01/2010 08:37 AM John O'Brien wrote: > Hi, > > I'm very confused - that's not too difficult for me. > > I have written a small plugin change_passwd_plugin.c > I would like this custom IMAP command to be available to all users. > > The code contains the following. > > void change_passwd_pl

[Dovecot] error 89 when loading plugin

2010-07-31 Thread John O'Brien
Hi, I'm very confused - that's not too difficult for me. I have written a small plugin change_passwd_plugin.c I would like this custom IMAP command to be available to all users. The code contains the following. void change_passwd_plugin_init(void) { command_register("XCHANGEPASSWORD