SOLVED: excluded folder are synced?
Rainer M Krug
R.M.Krug at gmail.com
Tue Dec 13 10:03:09 GMT 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 13/12/11 10:16, Rainer M Krug wrote:
> Hi I am using offlineimap to backup my gmail account, and planning
> to acces it via an imap server, but this is another step.
>
> What I would like to do, is to exclude at the moment the folders
> Spam All, Spam and Trash. I included a folderfilter (see the config
> file below), but these folders get synced anyway. Any ideas how I
> can avoid this?
It is working now - typo.
Thanks,
Rainer
>
> Should I delete them locally and try again?
>
> offlineimap version 6.3.3, Ubuntu Oneiric
>
> Thanks,
>
> Rainer
>
> [general] accounts = Gmail maxsyncaccounts = 1
>
> [Account Gmail] localrepository = LocalRMKruggmailcom
> remoterepository = RMKruggmailcom postsynchook = notmuch new
> status_backend = sqlite
>
> [Repository Local] type = IMAP remotehost = localhost port = 143
> remoteuser = rkrug remotepass = Renoster
>
> [Repository LocalRMKruggmailcom] type = Maildir localfolders =
> ~/Maildir/R_M_Krug__gmail_com
>
> [Repository RMKruggmailcom] type = IMAP remotehost =
> imap.gmail.com remoteuser = MYUSERNAME remotepass = MYPASSWORD ssl
> = yes maxconnections = 8 realdelete = no # folderfilter = lambda
> foldername: foldername in ['INBOX'] folderfilter = lambda
> foldername: foldername not in ['[Gmail]/All
> Mail','[Gmail]/Trash','[Gmail]/Spam]'] # actually in one line!
>
>
>
> _______________________________________________ OfflineIMAP-project
> mailing list OfflineIMAP-project at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/offlineimap-project
>
> OfflineIMAP homepage: http://software.complete.org/offlineimap
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk7nIt0ACgkQoYgNqgF2egpgUgCfQbkHzE/Fyqr18iJ0rhBr4CGL
l+wAn0alZfrnmokbqnvkuhgm1tvqcKKT
=qvcZ
-----END PGP SIGNATURE-----
More information about the OfflineIMAP-project
mailing list