Re: Error in retrieval

Charles Cazabon <[email protected]>
Newsgroups gmane.mail.getmail.user
Message-ID <[email protected]>
Michael <[email protected]> wrote:
> > > imaplib.error: EXPUNGE command error: BAD ['[CANNOT] EXPUNGE failed -
> > > Mailbox has read-only access']
> > 
> > That's actually pretty clear.  The IMAP server is refusing to let getmail
> > delete images from the mailbox because the mailbox is read-only.
> > 
> > Given that it's Yahoo, it could simply be that Yahoo has screwed something
> > up.  Otherwise, check that you still have write access to that mailbox.
> 
> In answer to Michael's question, no, I only run one instance at a time.

Are you sure?  Are you using a mutexing mechanism like the getmail FAQ tells
you?

> I don't understand what is trying to be expunged, since there is no command
> being sent to do that...or am I not understanding what getmail is showing?

When getmail switches mailboxes, it issues the EXPUNGE command automatically
if there were messages that were deleted.  The IMAP server is *supposed* to do
this automatically, but some users reported messages not being deleted because
their servers were buggy, so getmail does it explicitly.

getmail has pretty much always done this, though.  If this just recently
stopped working for you, and you didn't change anything, it's almost certainly
got to be something Yahoo broke.  Try reporting the problem to Yahoo and see
what they say?

Charles
-- 
-----------------------------------------------------------------------
Charles Cazabon
GPL'ed software available at:               http://pyropus.ca/software/
-----------------------------------------------------------------------
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.