clear loon
2009-05-20 09:23:16 UTC
Hello -
I assume I'm just being thick but I'm trying to use getmail to download,
using IMAP, all of my mail on GMail. However when I run getmail I get the
following error:
SimpleIMAPSSLRetriever:***@imap.gmail.com:993:
getmailrc: operation error (IMAP error (command SELECT ('[Gmail]/All Mail',)
returned NO))
0 messages (0 bytes) retrieved, 0 skipped
IMAP error during logout (command CLOSE illegal in state AUTH, only allowed
in states SELECTED)
My getmailrc is as follows:
[retriever]
type = SimpleIMAPSSLRetriever
server = imap.gmail.com
username = username
port = 993
password = password
mailboxes = ("[GMail]/All Mail",)
move_on_delete = bin
[destination]
type = Maildir
path = ~/GMailBackup/
[options]
verbose = 1
read_all = false
delete = false
message_log = ~/.getmail/log
I can download mail from my inbox (although the number downloaded seems low
relative to what appears to be in my inbox) if I replace ("[GMail]/All
Mail",) with ("INBOX",)
As far as I can tell, ("[GMail]/All Mail",) is correct. Does anyone know
what I'm doing wrong?
Thanks,
CL
I assume I'm just being thick but I'm trying to use getmail to download,
using IMAP, all of my mail on GMail. However when I run getmail I get the
following error:
SimpleIMAPSSLRetriever:***@imap.gmail.com:993:
getmailrc: operation error (IMAP error (command SELECT ('[Gmail]/All Mail',)
returned NO))
0 messages (0 bytes) retrieved, 0 skipped
IMAP error during logout (command CLOSE illegal in state AUTH, only allowed
in states SELECTED)
My getmailrc is as follows:
[retriever]
type = SimpleIMAPSSLRetriever
server = imap.gmail.com
username = username
port = 993
password = password
mailboxes = ("[GMail]/All Mail",)
move_on_delete = bin
[destination]
type = Maildir
path = ~/GMailBackup/
[options]
verbose = 1
read_all = false
delete = false
message_log = ~/.getmail/log
I can download mail from my inbox (although the number downloaded seems low
relative to what appears to be in my inbox) if I replace ("[GMail]/All
Mail",) with ("INBOX",)
As far as I can tell, ("[GMail]/All Mail",) is correct. Does anyone know
what I'm doing wrong?
Thanks,
CL