Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!apple!voder!berlioz.nsc.com!nelson From: nelson@berlioz.nsc.com (Taed Nelson) Newsgroups: comp.unix.questions Subject: Re: Screening mail Message-ID: <1991Feb26.021204.1003@berlioz.nsc.com> Date: 26 Feb 91 02:12:04 GMT References: <1991Feb21.164534.5413@ux1.cso.uiuc.edu> <1991Feb25.210133.24256@ssd.kodak.com> Sender: news@berlioz.nsc.com Organization: National Semiconductor Corporation Lines: 15 In article <1991Feb25.210133.24256@ssd.kodak.com> weimer@ssd.kodak.com writes: > >I don't remember where I posted this last week, so I'll repost it here. >This works in SunOS: > >=================== Start .forward file ============================ >"|/mailsort.csh ~/MAIL" >==================== End .forward file ============================= Careful. This will only work if there is no centralized mailserver, ie where the OS will create a mail daemon for you running AS YOU. Otherwise, it won't understand the meaning of "~" or any path variables. I know because I made this mistake over the weekend. I tested it on my local machine, and it worked fine, but it bounced all incoming mail that went through the central server.