<p dir="ltr">Hi, </p>
<p dir="ltr">The special folder "[Gmail]/All mail" is readonly on gmail servers. It is only a view over every inbox folder and your sent e-mails. So if you wart OfflineIMAP to propagate your local changes, you have to synchronize each of those separately. </p>
<p dir="ltr">Best regards, <br>
Tomasz</p>
<div class="gmail_quote">12 wrz 2014 10:52 "Nicolas" <<a href="mailto:ml_ask@chirgui.eu">ml_ask@chirgui.eu</a>> napisał(a):<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
That's nearly one week I'm trying to configure offlineimap (6.5.4, Debian Wheezy). My goal is to sync Gmail on my local IMAP server the following way :<br>
<br>
- I want the "[Gmail]/Tous les messages" (equivalent to "[Gmail]/All mail", but in french), to be synced into a local subfolder, like "Gmail/All", or "Gmail.All", I don't know the right way...<br>
- If I read them "locally", I'd like the read flag to be also sent on Gmail interface<br>
- I don't want to sync the "local" mailbox onto Gmail.<br>
<br>
I'v tried (--dry-run) some folderfilter, some nametrans, but it either takes all, both sides, or nothing. I'm also not sure if they are in the correct section (Remote/Local].<br>
<br>
here is my basic config, please help  !!<br>
<br>
<br>
[general]<br>
accounts = Gmail<br>
maxsyncaccounts = 1<br>
<br>
[Account Gmail]<br>
localrepository = Local<br>
remoterepository = Remote<br>
<br>
[Repository Remote]<br>
type = Gmail<br>
remoteuser = <a href="mailto:me@gmail.com" target="_blank">me@gmail.com</a><br>
remotepass = MyP@ssw0rd<br>
sslcacertfile = /etc/ssl/certs/ca-<u></u>certificates.crt<br>
folderfilter = lambda foldername: foldername in ['[Gmail]/Tous les messages']<br>
nametrans = lambda foldername: re.sub('^\[Gmail\]/Tous les messages$', 'all',foldername)<br>
<br>
<br>
[Repository Local]<br>
type = IMAP<br>
remotehost = localhost<br>
port = 143<br>
remoteuser = <a href="mailto:me@example.net" target="_blank">me@example.net</a><br>
remotepass = MyP@ssw0rd<br>
;folderfilter = lambda foldername: foldername in ['[Gmail]/All Mail']<br>
;nametrans = lambda foldername: re.sub('^\[Gmail\]/All Mail$', 'all',foldername)<br>
<br>
<br>
______________________________<u></u>_________________<br>
OfflineIMAP-project mailing list<br>
<a href="mailto:OfflineIMAP-project@lists.alioth.debian.org" target="_blank">OfflineIMAP-project@lists.<u></u>alioth.debian.org</a><br>
<a href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/offlineimap-project" target="_blank">http://lists.alioth.debian.<u></u>org/cgi-bin/mailman/listinfo/<u></u>offlineimap-project</a><br>
<br>
OfflineIMAP homepage: <a href="http://software.complete.org/offlineimap" target="_blank">http://software.complete.org/<u></u>offlineimap</a><br>
</blockquote></div>