Resubmission after N days

Thomas Güttler guettliml at thomas-guettler.de
Wed Feb 4 21:18:09 UTC 2015


Am 04.02.2015 um 07:49 schrieb Steffen Kaiser:
> On Wed, 4 Feb 2015, Thomas Güttler wrote:
> 
>> I would like to implement a 43Folder system[1] with dovecot and a mail user agent.
> 
>> Use case:
> 
>> - I have a new mail in my inbox. I read it and see that I can't handle it now. I want to handle this mail in 5 days.
>> - Now I want to have some sort of resubmission: the mail should be moved to a different location for these 5 days.
>> - After 5 days the mail should be moved to my inbox again.
> 
> What mail storage are you using? With Maildir all messages are plain files, you could move those messages into a specific folder and do:

Yes, I use Maildir

> 
> find /path/to/folder -mtime +$days -print0 | \
>  xargs -r0 mv -t /path/to/INBOX/new

Yes, this should work. But a solution which uses IMAP would be preferred.

 Thomas


-- 
http://www.thomas-guettler.de/


More information about the dovecot mailing list