Nicolas -- ...and then Nicolas Rachinsky said... % % On Sat, Dec 08, 2001 at 03:16:49PM -0500, David T-G <[EMAIL PROTECTED]> wrote: % > % > ...and then Nicolas Rachinsky said... % > ... % > % What makes the output a bit less messier is to call: % > % env TERM=dumb mutt ... % > % > That's not a bad idea. I wonder if one can set a TERM to nothing or some % > such so that there's *no* definition... % % Same effect here with TERM=
Hmmm... I meant a termcap definition for something even dumber than dumb, in theory. No matter; using mutt to move is like using a sledgehammer. % % > % Mails and to move mails from Maildirs to mboxes? (Any other tool % > % to achieve this would be welcome, too) % > % > I know of mbox2maildir, and there might be something similar; check the ... % > messages you want? If it's just based on date, that's pretty easy... It % > shouldn't be too tough to do it by thread, either, with a perl script or % > such. % % I was a bit incorrect in this paragraph, I want to move all old messages % from one _mbox_ to another (compressed) one. Threads are not % neccesary, because it's third level storage (I'm not going to look % there often). Hokey dokey. So you don't have the advantage of using Maildirs and simply checking the file's timestamp. Not threading is convenient, though. % % Do you know any tools working on mboxes directly? Locking would be no Hmmm... Not for moving stuff out; grepmail will do a good job of finding the messages but that doesn't help you empty the big box. Can you guarantee that the items in this mailbox are in a sensible received order, or would it be acceptable for a shouldn't-yet-be-moved message to perhaps be moved anyway? It should be easy enough to read into the file to find the first date later than your move-to-archive window, back up to the empty line before that message's ^From_ line, and break file in two at that point -- writing the first part to your compressed folder and leaving [only] the second part. % problem, because there is no delivery to this folders, and I won't try % to read these mails during the moving. You could even call mutt_dotlock in your cron job to lock and unlock the box as you're working on it :-) % % Thanks % Nicolas HTH & HAND :-D -- David T-G * It's easier to fight for one's principles (play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie (work) [EMAIL PROTECTED] http://www.justpickone.org/davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
msg21339/pgp00000.pgp
Description: PGP signature