<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span><br></span></div>Rafal wrote:<br><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;">
Problem appeared after upgrading Ubuntu to 12.10 and offlineimap to<br>6.5.4. It's not particularly severe but gets a little messy.<br><br>I have labels in my main Gmail account named after my other e-mail<br>addresses under another label 'aliasy', for example<br>aliasy/<a ymailto="mailto:rafal@ochmanski.com" href="mailto:rafal@ochmanski.com">rafal@ochmanski.com</a>. When syncing all labels with offline imap<br>it correctly creates locally a folder <a ymailto="mailto:aliasy.rafal@ochmanski.com" href="mailto:aliasy.rafal@ochmanski.com">aliasy.rafal@ochmanski.com</a> and<br>downloads the messages but also apparently creates remotely (in the<br>Gmail account, that is) a folder/label aliasy/rafal@ochmanski/com<br>(note the slash instead of the dot before com) and then complains<br>about its UID validity <a href="https://gist.github.com/f16ec751cccba1eb27cd" target="_blank">https://gist.github.com/f16ec751cccba1eb27cd</a><br><br>I removed those labels (with
 slashes in place of dots here and there)<br>but they reappear after offlineimap run. I'm assuming they're being<br>recreated in the process of syncing.<br><br>Was there a change in the way Gmail's IMAP is being treated? Or did I<br>previously got somehow lucky with the configuration? I'm pretty sure I<br>haven't changed anything <a href="https://gist.github.com/7e5af06945bd8d92470b" target="_blank">https://gist.github.com/7e5af06945bd8d92470b</a><br>What other info should I include?<br><br>................................<br><br>Hi Rafal,<br><br>You should file a bug on the github. You have obviously observed a bug in how the code is "escaping/unescaping" the folder names to compensate for remote and local usage of . and /.  The code is incorrectly coming up with a label "aliasy/rafal@ochmanski/com" when it should come up with "aliasy/rafal@ochmanski.com", see that it already exists, and therefore NOT create it, in the remote gmail
 account.<br><br>Thanks for spotting that bug.<br>-Chris<br><br> </div> </div>  </div></body></html>