From: SourceForge.net <no...@so...> - 2007-09-18 10:51:09
|
Bugs item #1783369, was opened at 2007-08-28 17:12 Message generated for change (Comment added) made by ahmake You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=456910&aid=1783369&group_id=49630 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Elan Ruusamäe (ahmake) Assigned to: Nobody/Anonymous (nobody) Summary: archivemail fails to see all messages Initial Comment: # archivemail -n Maildir/.Trash Maildir/.Trash: I would have archived 10 of 92 message(s) (55.0kB of 1.7MB) in 0.3 seconds # find Maildir/.Trash/{cur,new} -type f | wc -l 44777 # archivemail --version archivemail v0.7.0 Copyright (C) 2002 Paul Rodger <pa...@pa...> (C) 2006 Peter Poeml <po...@su...>, (C) 2006 Nikolaus Schulz <mic...@we...> This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. using -v doesn't reveal any much more information why it happens so i'm not pasting it here. please ask for more information as i'm not feeling comfortable of sharing my Trash folder contents for testing :) ---------------------------------------------------------------------- >Comment By: Elan Ruusamäe (ahmake) Date: 2007-09-18 13:51 Message: Logged In: YES user_id=289546 Originator: YES looks like the loop was ended because this code (from mailbox.py) returned False when message contained just \n (has it's header and body). fn = self.boxes.pop() fp = open(fn) return self.factory(fp) http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/archivemail-invalid-message.patch File Added: archivemail-invalid-message.patch ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=456910&aid=1783369&group_id=49630 |