Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!rice!sun-spots-request From: cs519905@caesar.cs.umn.edu (Aaron Y. T. Cheung) Newsgroups: comp.sys.sun Subject: Re: Sendmail to Programs on SunOs 4.0.3 Keywords: Software Message-ID: <5119@brazos.Rice.edu> Date: 19 Feb 90 15:06:52 GMT Sender: root@rice.edu Organization: Sun-Spots Lines: 21 Approved: Sun-Spots@rice.edu X-Refs: Original: v9n47 X-Sun-Spots-Digest: Volume 9, Issue 47, message 10 | .... If I mail to mailprint locally all works fine | but if someone outside mails in to ...mymachine!mailprint the sender | receives in return | | ----- Transcript of session follows ----- | getwd: can't stat . | 554 "| /usr/local/bin/printmail"... unknown mailer error 1 | | I'd be very grateful if anyone could shed some light on this. I'm using | the sendmail config file almost as shipped with SunOs 4.0.3 only modified | to set relay mail etc. - no rules changed at all. Many thanks in advance. Looks like it's related to the current working directory problem, that user daemon cannot search the working directory (probably that directory doesn't have search/read permission for others), or there's no working directory set. I'd suggest either try making the working directory world-searchable or, if there had not been a working directory set, try putting a cd command or a chdir() function to use the, say, /tmp dir. Hope it helps. Regards, /aaron.