Push locally-created folders to IMAP server?

seanh snhmnd at gmail.com
Thu Sep 27 19:00:28 BST 2012


On Tue, Sep 25, 2012 at 10:17:02AM +0400, Eygene Ryabinkin wrote:
> Hi.
> 
> Mon, Sep 24, 2012 at 01:18:33PM +0200, seanh wrote:
> > Hey, is there any way to push locally-created maildir folders up to the
> > imap server? They don't seem to get created on the server, and when I
> > manually created the empty folder on the server then offlineimap tried
> > to create the folder locally but stopped with an error saying the folder
> > already exists.
> > 
> > I have offlineimap 6.5.4
> 
> 6.5.4 does that for me on a daily basis.  Perhaps output from
> 'offlineimap -d ALL' and your offlineimaprc will help here.

Thanks, it's good to know that the feature is supported in principle. I
definitely have folders in my maildirs that are not getting synced up to
gmail though.

Here's my config:

https://gist.github.com/3795376

The folders in question are Archives/* folders, so they should be caught
by my folderfilter setting. The folderfilter setting is probably the
prime suspect here though.

The output of offlineimap -d ALL is an 11MB file, so I didn't post it.

I tried adding the folders to my folderincludes, but then I got this:

ERROR: Exceptions occurred during the run!
ERROR: Invalid folderinclude:
  Error SELECTing mailbox 'Archives/data.gv.at', server reply:
('NO', ['[NONEXISTENT] Unknown Mailbox: Archives/data.gv.at (now in authenticated state) (Failure)'])
ERROR: Invalid folderinclude:
  Error SELECTing mailbox 'Archives/register.data.overheid.nl', server reply:
('NO', ['[NONEXISTENT] Unknown Mailbox: Archives/register.data.overheid.nl (Failure)'])
ERROR: Invalid folderinclude:
  Error SELECTing mailbox 'Archives/tanzania', server reply:
('NO', ['[NONEXISTENT] Unknown Mailbox: Archives/tanzania (Failure)'])

When I run offlineimap without these folders in my folderincludes, then
there are no errors and nothing about those folders in the output, it
certainly looks like they get filtered out by the folderfilter.




More information about the OfflineIMAP-project mailing list