Depo Catcher writes:
What is the proper way to archive off a folder in a Maildir?For exampe, I want to move everything out of ~/Maildir/.Sent once a month, to say ~/.archive/Sent Can I just move these files? What if I need to retrieve an email, just copy that file back over into the ~/Maildir/.Sent?
You can copy the individual message files. However, if your IMAP client uses any custom message flags, those are saved elsewhere, and you'll lose them.
There are a number of utilities floating out there that will let you issue IMAP commands from a batch shell script, use them to move messages to a separate folder using IMAP. This preserves all message metadata.
But, if you care only about the message itself, and don't care about any custom message flags, just copying the files will work.
pgp6tXxGOIQv1.pgp
Description: PGP signature
------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________ Courier-imap mailing list Courier-imap@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap