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