create folders on local and sync to remote server

Nicolas Sebrecht nicolas.s-dev at laposte.net
Fri Aug 19 12:43:53 BST 2016


On Fri, Aug 19, 2016 at 12:08:29PM +0200, Tamas Baumgartner-Kis wrote:
> Hi,
> 
> I want to use offlineimap to be able to use notmuch-mutt search.
> This is working fine, but I have a question about syncing new folders to
> the remote server.
> 
> 
> I assumed that if I set createfolders=True in the .offlineimaprc than
> I can create a new folder on my local maildir like:
> 
>    mkdir ~/.mail/INBOX.newfolder
> 
> and offlineimap will sync this folder up to the remote server.
> 
> But this is not happening... do I understand something wrong?

You must create the folder in the maildir format with new, cur and tmp.

  $ mkdir ~/.mail/INBOX.newfolder/{new,tmp,cur}

-- 
Nicolas Sebrecht




More information about the OfflineIMAP-project mailing list