[Dovecot] Hooks API

Marcus Rueckert rueckert at informatik.uni-rostock.de
Mon Oct 2 19:21:19 UTC 2006


On 2006-10-02 09:41:58 +0200, Boris Ivanov wrote:
> Is it possible to make hook api?
> I  mean universal hooks any commands of pop3/imap which can trigger your
> modules. Not just quota etc,,,

see the idea of wrapping an script around your imap/pop command

something like

cat /usr/lib/dovecot/imap.sh
#!/bin/sh
# do your stuff here
exec /usr/lib/dovecot/imap

and in the config you set the imap command to the shell script.

the questions remains... why in hell do you need it at all?

darix

-- 
           openSUSE - SUSE Linux is my linux
               openSUSE is good for you
                   www.opensuse.org


More information about the dovecot mailing list