I've been asked by a user whether it's possible to stop their IMAP client downloading messages older than a given date. Whilst I'm guessing it may well be possible to do this client-side using folders and subscriptions, it got me thinking .... is there a way to do this server side on dovecot ? i.e. is there a way to "hide" messages from a user without having to archive them off into a seperate account ? thanks
On Tue, Dec 15, 2015 at 11:50:06AM +0000, Ben wrote:> I've been asked by a user whether it's possible to stop their IMAP client > downloading messages older than a given date. > > Whilst I'm guessing it may well be possible to do this client-side using > folders and subscriptions, it got me thinking .... is there a way to do this > server side on dovecot ? i.e. is there a way to "hide" messages from a user > without having to archive them off into a seperate account ?Sounds like virtual folders - create virtual folder with contains only messages fullfiling criteria, maybe hide somehow original folder, let user subscribe virtual folder. http://wiki2.dovecot.org/Plugins/Virtual Pies
On 15/12/2015 14:08, Piotr Pies Ostrowski wrote:> On Tue, Dec 15, 2015 at 11:50:06AM +0000, Ben wrote: >> I've been asked by a user whether it's possible to stop their IMAP client >> downloading messages older than a given date. >> >> Whilst I'm guessing it may well be possible to do this client-side using >> folders and subscriptions, it got me thinking .... is there a way to do this >> server side on dovecot ? i.e. is there a way to "hide" messages from a user >> without having to archive them off into a seperate account ? > > Sounds like virtual folders - create virtual folder with contains only > messages fullfiling criteria, maybe hide somehow original folder, let > user subscribe virtual folder. > http://wiki2.dovecot.org/Plugins/Virtual > > Pies >Interesting, will look into that. First time I've heard about virtual folders !