I've recently revisited this issue. I've discovered two things: firstly, there are two distinct class heirarchies/families within the 'mailbox' library: the original, now very deprecated, and a newer one. Guess which archivemail uses...
It has also occurred to me that the python maintainers are unlikely to accept feature-enhancement patches for the python 2.x branch. I still believe the correct solution here is to extend mailbox to have delete() methods. However that means porting archivemail both to the newer class heirarchy in mailbox, and to python 3. Luckily neither look like too much work. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org