Path: utzoo!mnetor!motto!murray From: murray@motto.UUCP (Murray S. Kucherawy) Newsgroups: comp.unix.shell Subject: Re: /usr/spool/mail filter/editor? Message-ID: <334@motto.UUCP> Date: 23 Jan 91 17:41:54 GMT References: <1991Jan16.185727.15843@en.ecn.purdue.edu> Reply-To: murray@motto.UUCP (Murray S. Kucherawy) Organization: Communications Division, Motorola Canada Ltd., Toronto Lines: 22 nichols@en.ecn.purdue.edu.UUCP writes: >I am interested in a shell script that will, upon execution, view >the contents of the /usr/spool/mail/lname file and remove any mail >from a certain user or list of users. I'm sure it has been done >many times, but I don't have the skills yet to write it on my own. I can provide two alternatives: 1) "Elm" is distributed (I think) with a program called "filter", and you write a script for it to handle certain mail a certain way as it arrives; 2) "Mush" has the capability to do this much easier, IMHO. I don't have shell scripts that do what you ask, but both of those mail packages have the capacity to do what you want. =============================== Murray S. Kucherawy ========================== Motorola Canada, Ltd. Communications Division, Toronto [on work term] University of Waterloo, Ontario, Canada 2B Math/Computer Science Internet: murray@motto.UUCP (work) mskucherawy@watmath.UWaterloo.ca (UW) UUCP: uunet!utai!lsuc!motto!murray uunet!watmath!mskucherawy