home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / mail / sendmail / 3049 next >
Encoding:
Text File  |  1992-12-22  |  1.1 KB  |  28 lines

  1. Newsgroups: comp.mail.sendmail
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!uwm.edu!linac!mp.cs.niu.edu!rickert
  3. From: rickert@mp.cs.niu.edu (Neil Rickert)
  4. Subject: Re: Trouble writing to a file
  5. Message-ID: <1992Dec21.204912.19880@mp.cs.niu.edu>
  6. Organization: Northern Illinois University
  7. References: <FULL_GL.92Dec19060740@dolphin.pts.mot.com>
  8. Date: Mon, 21 Dec 1992 20:49:12 GMT
  9. Lines: 17
  10.  
  11. In article <FULL_GL.92Dec19060740@dolphin.pts.mot.com> full_gl@pts.mot.com (Glen Fullmer X3296 Pager 7362) writes:
  12. >I put an alias in /etc/aliases like:
  13. >
  14. >    rnews: "/usr/spool/news/incoming/xxx"
  15. >
  16. >and send mail to rnews and it responds with a error message
  17. >that it can not write to a file, permission denied.  I change the
  18. >permissions of the file and all directories above it and still get the
  19. >message.  I even change it to "/tmp/xxx" and I also try a .forward to
  20. >a file with the same results!  Any ideas for a fix?
  21.  
  22.     rnews: "|cat >> /usr/spool/news/incoming/xxx"
  23.  
  24. will probably work if run from '.forward', and the file xxx is owned by
  25. the user who is '.forward'ing.  But what you really need is a mail
  26. processing delivery program such as 'deliver' or 'procmail'.
  27.  
  28.