Displaying 5 results from an estimated 5 matches for "mail_deliver_hook_set".
2017 Mar 28
2
Studying dovecot source code (searching for mail_deliver_hook_set)
....
2. mail is sent with the mail_deliver function which is called from src/lda/main.c and is defined in src/lib-lda/mail-deliver.c
3. mail_deliver function calls the deliver_mail function (it seems to be pointer to a function)
4. according to src/lib-lda/mail-deliver.h, deliver_mail is set with the mail_deliver_hook_set function. Here's what the comment says
/* Sets the deliver_mail hook and returns the previous hook,
which the new_hook should call if it's non-NULL. */
deliver_mail_func_t *mail_deliver_hook_set(deliver_mail_func_t *new_hook);
The problem at this point is that I can't find where is...
2017 Mar 29
0
Studying dovecot source code (searching for mail_deliver_hook_set)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tue, 28 Mar 2017, chaouche yacine wrote:
> I would like to study how dovecot manages quota, especially how it deals
> with the maildirsize file if one chooses to implement quota according to
> the maildir++ specification.
Quota is managed by the plugin, which hooks into some events. Check out
src/plugins/quota
- --
Steffen Kaiser
2017 Mar 30
0
Studying dovecot source code (searching for mail_deliver_hook_set)
Thanks ! I don't know if there's documentation about dovecot's design as a whole, not the details of the plugin itself, to get the big picture ? I assume the plugins are loaded in a loop at dovecot startup, or at login, or when mail is delivered via lda/lmtp ? in the particular case of the quota plugin I assume the quota functions are called from? LMTPD (since this is how I configured
2017 Mar 30
1
Studying dovecot source code (searching for mail_deliver_hook_set)
https://wiki2.dovecot.org/Design
Aki
On 30.03.2017 12:35, chaouche yacine wrote:
> Thanks ! I don't know if there's documentation about dovecot's design as a whole, not the details of the plugin itself, to get the big picture ? I assume the plugins are loaded in a loop at dovecot startup, or at login, or when mail is delivered via lda/lmtp ? in the particular case of the quota
2017 Mar 30
2
Studying dovecot source code (searching for mail_deliver_hook_set)
On 29.03.2017 13:44, Steffen Kaiser wrote:
> On Tue, 28 Mar 2017, chaouche yacine wrote:
>
> > I would like to study how dovecot manages quota, especially how it
> deals with the maildirsize file if one chooses to implement quota
> according to the maildir++ specification.
>
> Quota is managed by the plugin, which hooks into some events. Check out
>
>