home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / question / 10504 < prev    next >
Encoding:
Text File  |  1992-08-29  |  1.4 KB  |  43 lines

  1. Newsgroups: comp.unix.questions
  2. Path: sparky!uunet!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!uchinews!iitmax!technews
  3. From: technews@iitmax.iit.edu (Kevin Kadow)
  4. Subject: Re: mail help: how to reject mail?
  5. Message-ID: <1992Aug29.071932.16877@iitmax.iit.edu>
  6. Organization: Technology News, IIT, Chicago, IL
  7. References: <1992Aug27.152847.23723@eng.ufl.edu>
  8. Distribution: usa
  9. Date: Sat, 29 Aug 92 07:19:32 GMT
  10. Lines: 31
  11.  
  12. In article <1992Aug27.152847.23723@eng.ufl.edu> zzang@whale.uucp (Zhuo Zang) writes:
  13. )Hello,
  14. )this may look like a strange question.
  15. )someone distributes mails to our Dept
  16. )on a weekly base . but not neccessarily
  17. )everyone in this Dept need that info,
  18. )is it possible to reject this kind of
  19. )mail on personal preference?
  20. )
  21. )Thanks in advance !
  22. )
  23. )-zhuo
  24. )
  25.  
  26. The "filter" utility, which appears to be part of the Elm mailreader (at
  27. least on this machine) files, can take several actions based on the
  28. sender, subject line, addressee, and length, BEFORE the message is
  29. placed in the recipients mailbox.
  30.  
  31. If you have FILTER available, "man filter" should give you more info.
  32.  
  33. You need to have a line similar to the following in your .forward file
  34. in your home directory:
  35.  
  36. |/usr/bin/filter
  37.  
  38. For filter to handle your incoming mail, you need to create a file,
  39. called .filter_rules, which contains if-then statements to determine
  40. what is done with the messages.
  41.  
  42. -- 
  43.