Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an IMAP mailaccount, whereby the IMAP server is dovecot 2.0. Now I want to synchronize only some of the folders in my account. Some mail clients (e.g., Mac Mail) do not support selecting folders for synchronization: take all or nothing. Now I would like to know, whether I can use dovecot functionality to move particular folders out of my maildir and store them somewhere else (archiving). As soon as I have moved the folders out of my maildir, they are not synced by my Mail client.

share|improve this question
It is probable that dovecot is secured against accessing files outside of Maildir. But why would you use dovecot for this - you can move them from the command line: mv /home/strauberry/Maildir/.folder /home/strauberry/Maildir.archive/ – Paul Dec 19 '12 at 12:06
When I do so, do I disturb dovecot indexing etc.? That's the reason why I thought of using dovecot functionality... – strauberry Dec 19 '12 at 12:35
I haven't found it to be the case, dovecot should be able to deal with filesystem changes to its folders without complaint. – Paul Dec 19 '12 at 12:41

You can download imapsyncto achieve this IIRC. At least you can archive directory onto another remote imap account.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .