Displaying 2 results from an estimated 2 matches for "getmailbox".
Did you mean:
get_mailbox
2017 Jan 21
2
mail-trends+Dovecot
...t;-- Where it is getting this
from beats me!
*[2017-01-21 22:24:08,753] Found INBOX*
Traceback (most recent call last):
File "./main.py", line 304, in <module>
message_infos = GetMessageInfos(opts)
File "./main.py", line 104, in GetMessageInfos
for mailbox in m.GetMailboxes():
File "/scripts/mail-trends/mail.py", line 61, in GetMailboxes
mailboxes.remove('[Gmail]')
ValueError: list.remove(x): x not in list
root at gw:/scripts/mail-trends #
root at gw:/scripts/mail-trends # *ls -al
/var/spool/virtual/dom.ain/johndoe/Maildir/*
total 3256
drwx-...
2017 Jan 21
0
mail-trends+Dovecot
Odhiambo Washington <odhiambo at gmail.com> wrote:
> Traceback (most recent call last):
> File "./main.py", line 304, in <module>
> message_infos = GetMessageInfos(opts)
> File "./main.py", line 104, in GetMessageInfos
> for mailbox in m.GetMailboxes():
> File "/scripts/mail-trends/mail.py", line 61, in GetMailboxes
> mailboxes.remove('[Gmail]')
> ValueError: list.remove(x): x not in list
Remove line 61 from ./scripts/mail-trends/mail.py and everything is
fine. That code unconditionally removes the folder an...