[Dovecot] Best way to move mail to an archive
Richard C. Cox
conardcox at gmail.com
Sun Dec 19 00:57:51 EET 2010
Thank you! Very nice script. Exactly what I was looking for!
> 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
More information about the dovecot
mailing list