Hi, I'm pretty new to dovecot's codebase and trying to write a plugin which performs certain plugins if new mail arrives in a user's mailbox. I saw the mail-log plugin and was playing around with it but it seems to not create events if new mails arrive but only if mail are copied or saved from an IMAP connection. Are there any hooks I can base my plugin on to get events in the above case? Any pointers? Thanks, Wolfgang
On Mon, 2010-09-06 at 07:41 +0200, Wolfgang Rosenauer wrote:> I saw the mail-log plugin and was playing around with it but it seems > to not create events if new mails arrive but only if mail are copied > or saved from an IMAP connection.You didn't mention what Dovecot version you were looking at. v2.0 has notify plugin which can be easily used to hook into mail_save event.