* [sup-talk] sup doesn't like '[Gmail]' in maildir URI
@ 2008-08-05 22:57 Kendall Grant Clark
2008-08-05 23:17 ` Jeff Balogh
0 siblings, 1 reply; 3+ messages in thread
From: Kendall Grant Clark @ 2008-08-05 22:57 UTC (permalink / raw)
Folks,
I just switched email to Gmail; so far, so good. I use offlineimap to grab
[Gmail] and INBOX; but when I add a maildir URI with sup-add that includes
the path component '[Gmail]', it bitches about illegal URI.
So I encoded the '[' and ']' characters -- would be nice if sup-add offered to
do that automagically -- but then sup-add bitches about ~/path/%5BGmail%5D/cur
not being a director, when of course it *is* a directory... Leads me to
believe there's still something wrong with the encoded [Gmail] bit, since
~/path/INBOX works fine.
Has anyone else seen and solved this problem? I'm using sup 0.6, which is
otherwise excellent.
Cheers,
Kendall Clark
^ permalink raw reply [flat|nested] 3+ messages in thread
* [sup-talk] sup doesn't like '[Gmail]' in maildir URI
2008-08-05 22:57 [sup-talk] sup doesn't like '[Gmail]' in maildir URI Kendall Grant Clark
@ 2008-08-05 23:17 ` Jeff Balogh
2008-08-06 13:38 ` Kendall Clark
0 siblings, 1 reply; 3+ messages in thread
From: Jeff Balogh @ 2008-08-05 23:17 UTC (permalink / raw)
Kendall Grant Clark wrote:
> Folks,
>
> I just switched email to Gmail; so far, so good. I use offlineimap to grab
> [Gmail] and INBOX; but when I add a maildir URI with sup-add that includes
> the path component '[Gmail]', it bitches about illegal URI.
>
> So I encoded the '[' and ']' characters -- would be nice if sup-add offered to
> do that automagically -- but then sup-add bitches about ~/path/%5BGmail%5D/cur
> not being a director, when of course it *is* a directory... Leads me to
> believe there's still something wrong with the encoded [Gmail] bit, since
> ~/path/INBOX works fine.
>
> Has anyone else seen and solved this problem? I'm using sup 0.6, which is
> otherwise excellent.
For Gmail, you probably want to just grab the 'All Mail' folder. All your mail
goes there (imagine that!), so tracking INBOX is unnecessary. Especially since
sup will complain if you ever clear out the inbox.
To get around the URI problem, I use `nametrans` in ~/.offlineimaprc to clean up
the folder names:
nametrans = lambda s: s.replace('[','').replace(']','').replace(' ', '_')
In English, remove brackets and turn spaces into underscores.
Cheers,
jeff
^ permalink raw reply [flat|nested] 3+ messages in thread
* [sup-talk] sup doesn't like '[Gmail]' in maildir URI
2008-08-05 23:17 ` Jeff Balogh
@ 2008-08-06 13:38 ` Kendall Clark
0 siblings, 0 replies; 3+ messages in thread
From: Kendall Clark @ 2008-08-06 13:38 UTC (permalink / raw)
On Tue, Aug 5, 2008 at 7:17 PM, Jeff Balogh <its.jeff.balogh at gmail.com> wrote:
> For Gmail, you probably want to just grab the 'All Mail' folder. All your mail
> goes there (imagine that!), so tracking INBOX is unnecessary. Especially since
> sup will complain if you ever clear out the inbox.
>
> To get around the URI problem, I use `nametrans` in ~/.offlineimaprc to clean up
> the folder names:
>
> nametrans = lambda s: s.replace('[','').replace(']','').replace(' ', '_')
>
> In English, remove brackets and turn spaces into underscores.
Thanks, Jeff -- both suggestions worked nicely.
Cheers,
Kendall
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-08-06 13:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-05 22:57 [sup-talk] sup doesn't like '[Gmail]' in maildir URI Kendall Grant Clark
2008-08-05 23:17 ` Jeff Balogh
2008-08-06 13:38 ` Kendall Clark
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox