Conditionally Filter Mails During IMAP Fetch

Michael Slusarz michael.slusarz at
Wed May 17 17:50:15 EEST 2017

> On May 16, 2017 at 1:05 AM Ory Drilon <odrilon at> wrote:
> Hi, is there a way to arbitrarily filter out mails at the moment the
> IMAP request is made, based on properties of the IMAP session and the
> mail itself?
> All the filtering methods I find occur during delivery time.


Although obviously triggering filtering based on a FETCH itself doesn't make much sense and isn't supported by imapsieve (triggering based on flag change *caused* by FETCH is supported however).


More information about the dovecot mailing list