Archiving mail on IMAP server

Version 1.4 of MailArchiveByDate now supports archiving to IMAP
folders.

It works exactly as expected for me, but some users have reported
problems with the script not creating new mailboxes. If the mailbox
exists, the messages are moved. I have not been able to reproduce the
problem myself using dovecot on Fedora Core 4 or Scalix (which is
supposed to look like an Exchange server).