19 Dec
2010
19 Dec
'10
12:32 a.m.
On Sat, 2010-12-18 at 12:21 -0500, Richard C. Cox wrote:
I'd like to archive e-mail as it ages into a single IMAP archive directory. Ideally, I would like to set up a cron job to search for e-mail in all of my imap directories that older that 'X' days and move it to the archive directory. I know that dovecot wants to manage e-mail movement thru the IMAP interface, so I'm leery of just using ordinary Linux commands to move mail around and bypass the IMAP protocol. Does anybody have any recommendations about dovecot/IMAP safe commands I could use to accomplish this task?
Personally, I just do it over IMAP.
http://david.woodhou.se/archivemail.sh
-- dwmw2