On Fri, 11 Jan 2002, Pieter Blaauw wrote: > Hi guys > > How would I do the following. Platform is a Red Hat 7.2 Linux box with > Pine 4.44 as my mail client. Now pine stores all your mail in the usual > /var/spool/mail/<username> > > Can I use perl to extract all the mail from 2001 into another big file > that I could use as a backup of last years mail. I have over a thousand > messages in it so doing it manually is pretty impossible. I'd like to keep > the messages for this month so far in the maildir otherwise I could have > easily just moved the /var/spool/mail/<username> somewhere as a backup and > problem solved.
Well, if the only thing you are concerned about doing is, just backing up last year's mail, then use Pine to select all the messages from 2001 and then save them in a separate folder. That folder will exist as a flat file, then you can do whatever you like to it. Tgz it, put it on CD, or whatever. Chris -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]