Re: Error in retrieval

MichaelOF <[email protected]>
Newsgroups gmane.mail.getmail.user
Message-ID <[email protected]>
Hi Michael,

just an idea - are you writing with more than one getmail process to the same directory? Locking conflict maybe?

Michael

Am 13. März 2018 20:53:14 MEZ schrieb Michael <[email protected]>:
>Suddenly I am getting this expunge error and don't know why.
>I need an extra set of eyes to point out what I'm doing wrong, since
>this is what I've used for a good long while.
>Thanks!
>
>btw- I use getmail for other addresses and all work fine.
>
> $ getmail -nlv --rcfile yahoo
>getmail version 4.48.0
>Copyright (C) 1998-2012 Charles Cazabon.  Licensed under the GNU GPL
>version 2.
>SimpleIMAPSSLRetriever:[email protected]:993:
>Traceback (most recent call last):
>  File "/usr/bin/getmail", line 903, in <module>
>    main()
>  File "/usr/bin/getmail", line 867, in main
>    success = go(configs, options.idle)
>  File "/usr/bin/getmail", line 164, in go
>    retriever.select_mailbox(mailbox)
>File "/usr/lib/python2.7/dist-packages/getmailcore/_retrieverbases.py",
>line 1400, in select_mailbox
>    self.close_mailbox()
>File "/usr/lib/python2.7/dist-packages/getmailcore/_retrieverbases.py",
>line 1378, in close_mailbox
>    self.conn.expunge()
>  File "/usr/lib/python2.7/imaplib.py", line 441, in expunge
>    typ, dat = self._simple_command(name)
>  File "/usr/lib/python2.7/imaplib.py", line 1088, in _simple_command
>    return self._command_complete(name, self._command(name, *args))
>  File "/usr/lib/python2.7/imaplib.py", line 918, in _command_complete
>    raise self.error('%s command error: %s %s' % (name, typ, data))
>imaplib.error: EXPUNGE command error: BAD ['[CANNOT] EXPUNGE failed -
>Mailbox has read-only access']
>
>
> $ cat .getmail/yahoo 
>[options]
>message_log = ~/.getmail/log_yahoo
>
>[retriever]
>type = SimpleIMAPSSLRetriever
>server =  imap.mail.yahoo.com
>port = 993
>username = xxxxxxxx 
>password = xxxxxxxx
>mailboxes = ("Inbox", "wnop")
>
>[destination]
>type = MDA_external
>path = /usr/bin/procmail
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [email protected]
>For additional commands, e-mail: [email protected]
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.