Sendmail to Programs on SunOs 4.0.3

Timothy J. Stone nytim!tim at uunet.uu.net
Wed Feb 14 22:34:08 AEST 1990


I have an alias in my /etc/aliases which looks like

mailprint:"|/usr/local/bin/printmail"

and the prog is mode a+x.  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.

+---------------------------+ At work:
| Tim Stone		    | UUCP: tim at warburg.COM
| S.G. Warburg & Co., Inc.  | Tel : (212) 459-7065
| 787 Seventh Avenue,	    | Fax : (212) 459-7231
| New York, NY 10019, U.S.A.|
+---------------------------+  



More information about the Comp.sys.sun mailing list