Boris Ivanov wrote:
Thanks for the answer.
Hook API is usefull when u need to do some action on some events: For example: Hook on Event - AfterReceivingMail - send sms to user, start antivirus, any processing of email (analyzing, modifying...)
Sounds a little like what can be implemented with Signals on DBus.
But its simple case... I have at least 2 project where I need extend Dovecot functionality. Its possible to write patches for source code but would be much better if it will be implemented officially so anyone can use it.
Dovecot supports plug-in modules. As listed on the documentation page there's already quota, ACLs, trash, convert (converts mailbox format on login), zlib (access gzipped mboxs), dspam, and others.
Would being able to 'wrap' a command handler satisfy your needs?
-- Curtis Maloney cmaloney@cardgate.net