I'd like to archive some of my IMAP folders
I call archivemail like that:
/usr/bin/archivemail --suffix= --days 30 -o
That workes for some folders, but expecially on bigger
ones (about 3.000 messages and above) it fails with the
Traceback (most recent call last):
File "/usr/bin/archivemail", line 1305, in ?
File "/usr/bin/archivemail", line 623, in main
File "/usr/bin/archivemail", line 1040, in archive
File "/usr/bin/archivemail", line 1258, in _archive_imap
File "/usr/lib/python2.3/imaplib.py", line 670, in store
typ, dat = self._simple_command('STORE',
message_set, command, flags)
File "/usr/lib/python2.3/imaplib.py", line 1000, in
File "/usr/lib/python2.3/imaplib.py", line 832, in
raise self.abort('command: %s => %s' % (name, val))
imaplib.abort: command: STORE => socket error: EOF
cleaning up ...
The mailbox is archived correct, but the archived
messages in the folder are not deleted.
I'm not sure whether this is an archivemail- or
imaplib-bug. I hope to have reported it at the right place.
Log in to post a comment.