-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
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:
find /path/to/folder -mtime +$days -print0 |
xargs -r0 mv -t /path/to/INBOX/new
In my experience you can keep all attributes, keywords etc.pp. on the filename. Depending on how you read your messages, your target directory could be "cur" instead of "new".
How can this be done with Dovecot/IMAP?
I have programming experience, but I am new to Dovecot/IMAP.
So, with Maildir and the normal Unix commands (or a script language), that should be easy.
I would like solve this with Dovecot only (without a database or web server).
If you use another storage or some other tagging scheme, see doveadm . With that command you can search for messages and move them, please search the list for examples.
Does the IMAP protocol over methods which could help?
Hm, you could use the meta data plugin or even keywords (aka labels), in order to store the "tags" per message, but I would use normal folders.
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1
iQEVAwUBVNHBB3z1H7kL/d9rAQK86gf6AjQ5WRCXtjlAq4IQRU7EqE3eC8pS2wH2 aoryBcRvaClg3L4vt2RTMtgfglVGAJM9F8pK6+t8d9TyCZ0DbAEEE7kjf6tdD4G+ GTaXLmruZ1V7hyipipeAxUmiX6l2adfPUshJDrEE1xTd/XgtsCi2yXqge9ugxgIo qH5HuXjVIp5X1IIc33yQXTvqrnyspdD4LVBpSgwG5WRUFdhiROCGxjJ6iTyCLdts PB0XJaGHq5a8r1FfVTyd31zKQqebhTUCpn/gre3cABHvkBh7H3PQvXeI92QwLa4w r5jnCyq5MO/dfwHdUn2SPJlpYaLcHhL2oFw0csXzDe3ZeMFYECnl3A== =1JaM -----END PGP SIGNATURE-----