home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / mail / mh / 1392 < prev    next >
Encoding:
Internet Message Format  |  1992-12-16  |  1.6 KB

  1. Path: sparky!uunet!cs.utexas.edu!usc!news.service.uci.edu!ucivax!jromine
  2. From: jromine@binky.ics.uci.edu (John Romine)
  3. Subject: Re: Problem with MH mailing to slocal
  4. Nntp-Posting-Host: binky.ics.uci.edu
  5. Message-ID: <2B2F6B16.22384@ics.uci.edu>
  6. Summary: Problems with SendMail?
  7. Newsgroups: comp.mail.mh
  8. Reply-To: jromine@ics.uci.edu (John Romine)
  9. Organization: Univ. of Calif., Irvine, Info. & Computer Sci. Dept.
  10. Keywords: slocal nis address send alias forward sendmail
  11. Lines: 29
  12. Date: 16 Dec 92 17:44:54 GMT
  13. References: <1992Dec16.170843.4207@dsd.es.com>
  14.  
  15. kbennion@dsd.es.com (Karl Bennion) writes:
  16. >We have brought several new workstations online with yellow pages...
  17. >When we try to mail to a user whose name is aliased to username@yp_server,
  18. >mh doesn't find the alias and mails it to username on the local machine.
  19.  
  20. Is it aliased in a SendMail (or other MTA) alias file?  If so, the MTA
  21. on the workstation will need to forward such mail.  MH won't normally read
  22. the MTA's alias files.  Are you running an MTA on each of the workstations?
  23.  
  24. >The user's home directory is on the local machine and has a .forward
  25. >file that forwards the mail to "| /usr/local/bin/slocal -user
  26. >username".  On the local machine an error is encountered which says you
  27. >can't mail directly to a prgram.
  28.  
  29. This sounds like a SendMail problem.  What happens when you have
  30. the .forward file call a shell script:
  31.  
  32.     --.forward--
  33.     "| /tmp/test.sh"
  34.  
  35.     --/tmp/test.sh--
  36.     #!/bin/sh
  37.     /bin/cat > /tmp/test.out
  38.     exit 0
  39.  
  40. Does the MTA still give the same error?  If so, "slocal" is not likely
  41. to be part of the problem.
  42. --
  43. John Romine
  44.