Re: Downloading custom folder from gmail

Roland Hill <[email protected]>
Newsgroups gmane.mail.getmail.user
Message-ID <[email protected]>
On Fri, 20 Jul 2018 or thereabouts, Charles Cazabon came forth with:

> Long black coat <[email protected]> wrote:
> > Here's my question: Is there a way of downloading a specific custom folder
> > from a gmail account? 
> 
> Yes.
> 
> > mailboxes = ("Inbox", "0000temp") 
> 
> This type of thing will work.
> 
> > but all give 
> > 
> > mailbox [Gmail]/0000temp not selectable ([Gmail]/0000temp) - verify the
> > mailbox exists and you have sufficient permissions
> 
> That means you're not providing the correct IMAP folder name in the above
> configuration.  I have no way of telling what your IMAP server (Gmail, in this
> case) expects the folder name to be.  You should be able to ferret that out of
> the Gmail interfaces/settings pages somewhere.  If not, try asking Gmail for
> support.

I can't remember how I ascertained this correct folder as it's been a
while, but this is an extract from my rc file:

[retriever]
type = SimpleIMAPSSLRetriever
server = imap.gmail.com
port = 993
username = redacted
password = redacted
mailboxes = ("[Gmail]/All Mail","INBOX")

Hope this helps in some way.

-- 
Regards,

Roland

GPG Key 0xA29C138 = 7ECC 2D71 0BD7 6390 D3A4  386F B57C A96E A29C 0138
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEZDfW9ElsO1+FgtskWUQl9iO8afcFAltT2oQACgkQWUQl9iO8
afcC2A/+JcHrytAn2f0mkg/PGs2ljqFil/nJeJWlpc+E7KROkfikGDobGQtCeMOw
V7PJEOOKPGk0ft/k5srCzAS7Mz1uYx+HtynRAKlx/98ode2TCv0rlQry8DsTQYvL
bN6VgSjDZRvJkhP1y5F5ZuupbBaKSl2D5Pj2MQ1QEz9S7eSoFjO8vcIljYif2Wgf
RtdDXWH2slnCPM7pBgeAdD/iNbPGYNYqZnaiyj8CDAqt76tZ5/80YINlJwN+YSO6
v7yFK2G3U+SPNaZJamCF4DFnsggkDYTdEr0aZgdUNrZEtWgja7hoIi4SItKbj2Eq
JldxBX/QrTPr8Ofrm1g3iIwT8v9oy8zuJB/4tdvg0Oyjm+dIcjsxpj8rIsDfKvJ5
Iw+0vEL8qvJj4BUPY56UxZWYxnGCqpxQ3b5PI6nvkQGMYEU+mIgGekZW4ZQl3z/K
fBYwBU3tWN5YKe5miP6qWMyjp0NjHzylqcN9S0ThTYvxQVtp/hcDA8P2LzThwIml
KFvkBvvcfWxO6uvv/IojrQzXljs0RjYf1KOH5FyldqrfbKEAgsferwFyhgG04dKl
uBUZNBC+e6XBggWQbzkyNb1DvwMKagPJlAn0LLSXeRw6qcwU6K5gPWAEbRX99xC2
sXy6iVOY4MhrNqqlsyjFoSRSqKcbazTj/0tHVSKuXo4pIZtYE88=
=ahO7
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.