So I thought I’d share my .offlineimaprc file with you all. It’s pretty simple, to the point, and gets the job done. This is what I’m currently (successfully) using with Dovecot and offlineimap, as I mentioned back here.
There’s lots of instructions on how to set up offlineimap and gmail online… but none of them quite got it all for me. Nested folders didn’t work right out of the box. Name and folder transforms didn’t work.