Need help to compile and install a minimal dovecot imap plugin

Stefan Arentz stefan at arentz.ca
Sun Aug 31 19:11:41 UTC 2014


On Aug 31, 2014, at 2:45 PM, Stefan Arentz <stefan at arentz.ca> wrote:

> 
>> On Aug 30, 2014, at 1:36 PM, Stefan Arentz <stefan at arentz.ca> wrote:
>> 
>> I am trying to create a plugin that adds a new IMAP capability.
> 
> To get a much simpler example working, I’ve created a very simple ‘empty’ plugin to get the basics works.
> 
> https://github.com/st3fan/dovecot-empty-plugin <https://github.com/st3fan/dovecot-empty-plugin>
> 
> This compiles, but there is no way I can get it to actually load.

I figured part of it out!

I was testing this plugin simply by doing a telnet localhost 143 and expecting the plugin to kick in right away.

But that is not happening. The plugin will not initialize until you issue a login command!

I now see my plugin being loaded and it is printing the debug messages in _init() and _deinit().

 S.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://dovecot.org/pipermail/dovecot/attachments/20140831/44df3fb4/attachment.sig>


More information about the dovecot mailing list