search for: mail_save

Displaying 2 results from an estimated 2 matches for "mail_save".

Did you mean: mail_sav
2010 Sep 06
1
notification plugin
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
2012 May 29
4
per-mailbox message limits
...ster_imap; extern struct mail_search_register *mail_search_register_human; struct mail_storage_module_register mail_storage_module_register = { 0 }; struct mail_module_register mail_module_register = { 0 }; @@ -1620,22 +1621,28 @@ ctx->dest_mail = mail; } int mailbox_save_begin(struct mail_save_context **ctx, struct istream *input) { struct mailbox *box = (*ctx)->transaction->box; + struct mailbox_status status; int ret; if (mail_index_is_deleted(box->index)) { mailbox_set_deleted(box); return -1; } if (!(*ctx)->copying_via_save) (*ctx)->saving = TRU...