Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!uunet!kyle From: kyle@uunet.UU.NET (Kyle Jones) Newsgroups: comp.mail.sendmail Subject: Re: Sendmail unknown mailer error 1 Message-ID: <129680@uunet.UU.NET> Date: 20 Apr 91 20:00:37 GMT References: Organization: UUNET Communications Services, Falls Church, VA Lines: 19 tony@Cayman.COM (Tony Gale) writes: > I am trying to pipe incoming mail to an account and have that > account massage the message and return a reply. I am doing > this via the .forward mechanism piping into a csh script that > I've written. The problem is that I keep getting the mail > bounced back to me with and unknown mailer error 1. Does > anyone have any clues why this may be happening. > [...] > ----- Transcript of session follows ----- > getwd: can't stat . > 554 "|/home/bart/bug-responder.csh"... unknown mailer error 1 csh dies if it can't figure out the path of the current working directory. Your script is most likely being run with a current directory of /usr/spool/mqueue, which may be a protected directory on your system. Either change the directory permissions, use another shell for your script, or use a C program wrapper that cd's out of the mail queue directory before calling your script.