Dear all
I just discovered archivemail today, great tool, thanks to all contributors !
I have encountered a bug for which I propose here a patch with the
laster revision (285) on the repository -- sorry, not much familiar
with sourceforge, hence not sure where to post (is the tracker still
alive / watched ?)
Bug: when fetching from an IMAP server which supports NAMEPSACE and
whose prefix ends with the delimiter (example: prefix="INBOX." and
delimiter="."), archivemail does not allow to fetch the topmost folder
(example, here, the INBOX itself).
The enclosed patch is such that the topmost folder is fetched when the
folder name asked is either empty, or the prefix, or the prefix
deprived from its final delimiter.
I am not familiar with IMAP namespaces, hence I do not know if it
common practice for the prefix to end with the deliniter. This is the
case of my uninversity's, hence I dealt with it.
Could anybody please tell me if the patch is worth being committed,
possibly with modifications, and in that case where to post it to this
intent ? (I am not a Python wizard, kinda dirty coding)
Thanks,
Best regards,
--
Julien Cornebise, Ph.D.
Postdoctoral Fellow, SAMSI
http://www.stat.duke.edu/~jc250/
|