Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]tlug: archiving mail
- To: tlug <tlug@example.com>
- Subject: tlug: archiving mail
- From: "Stephen J. Turnbull" <turnbull@example.com>
- Date: Wed, 28 Jun 2000 10:27:20 +0900 (JST)
- Content-Transfer-Encoding: 7bit
- Content-Type: text/plain; charset=us-ascii
- In-Reply-To: <20000627213342.B9316@example.com>
- References: <20000627213342.B9316@example.com>
- Reply-To: tlug@example.com
- Sender: owner-tlug
>>>>> "John" == John Seebach <jseebach@example.com> writes: John> I've been trying to come up with a good way of automating John> the process of archiving my old mail (moving messages older John> than a certain date into separate folders and compressing John> them). What I do basically goes the other way around. It requires XEmacs + VM, though (more precisely, an MUA with "virtual folder" capability). Procmail sorts things into folders according to the usual topic criteria, except that I name them tlug-current, xemacs-current, etc. A cron job mv's them to $MBOX-$DATE, and updates a link $MBOX-last -> $MBOX-$DATE. Then I use VM's virtual folder so that $MBOX contains everything in $MBOX-current and $MBOX-last. I believe this system is safe (no race conditions in normal usage, but only because my cron jobs run when I'm not around). I note that Simon's script does flock'ing on the mboxes; this is absolutely essential if you operate on mboxes that might be written to. It should be safe on almost all Linux systems, as flock is the default for mail locking. I wouldn't trust random "solutions" from off the net; I've seen too many people post that they're doing things differently because it's "better", without realizing that with locking conventions "different" is by definition "worse". I suspect you'll find there's not really a "good" way to do this because everybody's reading/archiving/browsing patterns are different. -- University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN Institute of Policy and Planning Sciences Tel/fax: +81 (298) 53-5091 _________________ _________________ _________________ _________________ What are those straight lines for? "XEmacs rules." ----------------------------------------------------------------------- Next Technical Meeting: July 8 (Sat) 13:30 Place: LinuxProbe Hall Next Nomikai meeting: August 18 (Fri) 19:00 Place: TBD ----------------------------------------------------------------------- more info: http://www.tlug.gr.jp Sponsor: Global Online Japan
- Follow-Ups:
- Re: tlug: archiving mail
- From: ESAKA Naoki <esaka@example.com>
- References:
- tlug: archiving mail
- From: John Seebach <jseebach@example.com>
Home | Main Index | Thread Index
- Prev by Date: Re: tlug: Mozilla, uh, M15
- Next by Date: Re: tlug: Mozilla, uh, M15
- Prev by thread: tlug: archiving mail
- Next by thread: Re: tlug: archiving mail
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links