2 Jun
2008
2 Jun
'08
10:06 p.m.
On Mon, 2008-06-02 at 13:48 -0500, bhayden@umn.edu wrote:
On Jun 2 2008, Timo Sirainen wrote:
Dovecot doesn't keep track of when flag changes have been done, so there's no simple way to say "expunge messages which have been marked as \Deleted after 7 days". With maildir you could check the file's ctime, but with mbox there's just no way.
We were toying with the idea of modding Dovecot to write an X-DeletedFlag-Changed-At header when deleting messages for exactly this reason. What's your thought on this idea, Timo?
Be sure to add it to mbox_hide_headers[] and mbox_save_drop_headers[] arrays in mbox-storage.c and hope that it doesn't exist in any of your existing mails. :) Other than that there shouldn't be problems.