Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!wuarchive!uunet!mcsun!ukc!axion!vision!chris From: chris@vision.UUCP (Chris Davies) Newsgroups: comp.mail.elm Subject: Re: Making a newsgroup into a folder Keywords: folder newsgroup extract elm vnews Message-ID: <1398@vision.UUCP> Date: 25 Jan 91 18:15:11 GMT References: <339@schoenfinkel.CS.UWindsor.Ca> Reply-To: chris@vision.UUCP (Chris Davies) Organization: VisionWare Ltd., Leeds, UK Lines: 27 In article <339@schoenfinkel.CS.UWindsor.Ca> wisdom@CS.UWindsor.Ca (CSS Newsletter) writes: >All I really want to be able to do (for example) is: > cd /usr/spool/news/comp/mail/elm > cat * >~/Mail/cm-elm > elm -f =cm-elm >And read Usenet groups THAT way! [...] I would consider piping each message into rmail (/bin/rmail on this SysV.3 machine). You would then need some way of persuading mail to drop such messages into your required folder. If "filter" can tell that a particular header exists you could look for the "Path: ..." line. Try this (bourne) shell script for starters (don't forget to change "chris" to your own username :-) ... : cd /usr/spool/news/comp/mail/elm for f in * do cat $f | rmail chris done Chris -- VISIONWARE LTD | UK: chris@vision.uucp JANET: chris%vision.uucp@ukc 57 Cardigan Lane | US: chris@vware.mn.org BANGNET: ...!ukc!vision!chris LEEDS LS4 2LE, England | VOICE: +44 532 788858 FAX: +44 532 304676 -------------- "VisionWare: The home of DOS/UNIX/X integration" -------------