[https://api.zakaria.website/users/hi@zakaria.website/
18c6ac51852b0fd2b88b95a6f0f931ab/316c09b3eb7d1b0f3816e0.png]
On 2025-02-17 18:51, Michael Slusarz wrote:
>> On 02/13/2025 8:18 AM MST Zakaria via dovecot
dovecot.org> wrote:
>>
>>
>> Hi Dovecot Mailing List members,
>>
>> I just struggled to understand the plugin events and wondered if anyone
>> can help on this.
>>
>> I wanted to capture the event when I mark message as not spam move event
>> as well as when I move message to new folder event,
>>
>> I found MessageNew and MessageAppend, and couldnt figure out which one
>> is responsible of the relevant event?
>
> https://doc.dovecot.org/2.4.0/core/plugins/push_notification.html#push-
notification-events
>
> The RFC linked provides the answer. MessageNew is triggered by mail delivery
agent (i.e. message delivery). Moving messages is not a delivery event, but are
events triggered within the mailstore itself, so it's a MessageAppend action.
>
>
>> Also, feedback to the dovecot dev team, it would great if we have push
>> notification redis driver.
>
> Redis functionality can be added by using the Lua driver. There are no plans
to provide additional drivers since Lua can be used for custom use-cases.
>
> michael

Aha, I understood. But, I tested dlog driver to see which events are outputted
when I move message, I looked for messageappend as well as messagenew and found
no event dovecot outputs to the log file? I didnt test 2.3 and wondered if it
could be a bug in 2.4 dlog driver? given its recent and major release?
_______________________________________________
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-le...@dovecot.org

Reply via email to