Studying dovecot source code (searching for mail_deliver_hook_set)

Aki Tuomi aki.tuomi at dovecot.fi
Thu Mar 30 12:41:39 EEST 2017


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 plugin I assume the quota functions are called from  LMTPD (since this is how I configured postfix to talk to dovecot) ? should I look in LMTPD's source code to find the function that calls the plugin ? 
>
>   -- Yassine. 
>
>     On Thursday, March 30, 2017 7:15 AM, Aki Tuomi <aki.tuomi at dovecot.fi> wrote:
>  
>
>  
>
> 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
>>
>> src/plugins/quota
>>
>> -- Steffen Kaiser
> And in particular, you want to look at src/plugins/quota/quota-maildir.c
>
> Aki
>
>    



More information about the dovecot mailing list