On 2006-10-03 10:21:58 +0200, Boris Ivanov wrote:
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...)
antivirus/processing email -> MTA/LDA. doing that kind of stuff at the imap level seems wrong.
sms delivery -> LDA -> dovecot lda can use plugins. e.g. sieve plugin.
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.
what functionality do you need?
I didnt understand ur idea to be honest.... So its possible to run shell on when IMAP command arrived? what about parameters? username, mailbox etc...?
plugins are better for that.
darix
-- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org