Path: utzoo!attcan!uunet!lll-winken!lll-lcc!ames!vsi1!v7fs1!mvp From: mvp@v7fs1.UUCP (Mike Van Pelt) Newsgroups: comp.unix.questions Subject: Re: Undesirable Mail Summary: Deleting messages with .mailrc lines Message-ID: <187@v7fs1.UUCP> Date: 18 Jan 89 23:13:44 GMT References: <9379@ut-emx.UUCP> <810030@hpsemc.HP.COM> <9541@ut-emx.UUCP> Reply-To: mvp@v7fs1.UUCP (Mike Van Pelt) Organization: Video7, Cupertino, CA Lines: 27 In article <9541@ut-emx.UUCP> mariou@ut-emx.UUCP (Mariou Barr) writes: [ Summary of messages on how to delete mail from selected users. One of the messages contains an erroneous statement.] >If the only thing you can modify is your .mailrc, then you definitely >lose - /usr/ucb/Mail (or mailx) has no way to do this. This isn't true. Here are the relevant lines from my .mailrc file, on a Sun. The same thing has worked for me under mailx on SysV. if r s uucp uucp-trash d uucp endif The "if r" around it just prevents me from getting a "You can't save messages when in send mode" diagnostic when I am trying to send mail. This works like a charm for me. I kept getting flooded with worthless nattering from uucp until I did this. Now I just glance at uucp-trash from time to time to see if uucp had anything useful to say to me for a change. -- ...Defending the truth...is not something one | Mike Van Pelt does out of a sense of duty or to allay guilt | Video 7 complexes, but it is a reward in itself. | ..ames!vsi1!v7fs1!mvp -- Dr. Petr Beckmann