Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!decwrl!ucbvax!CAEN.ENGIN.UMICH.EDU!lwk From: lwk@CAEN.ENGIN.UMICH.EDU (Lewis W Kellum) Newsgroups: comp.sys.apollo Subject: sendmail+bourne_shell = error Message-ID: <8710301850.AA01734@caen.engin.umich.edu> Date: Fri, 30-Oct-87 12:50:15 EST Article-I.D.: caen.8710301850.AA01734 Posted: Fri Oct 30 12:50:15 1987 Date-Received: Wed, 4-Nov-87 22:58:00 EST Sender: daemon@ucbvax.BERKELEY.EDU Organization: The ARPA Internet Lines: 23 When ever we run sendmail ( or mail which exec's sendmail) from a bourne shell, sendmail dies with the following error "cannot open /usr/lib/sendmail.cf: Invalid argument" it seems to choke on the sendmail.cf pathname because of the environment variable used in the /usr symlink, ie. ls -l /usr lrwxrwxrwx 1 root 14 Oct 26 16:22 /usr -> $(systype)/usr If I move sendmail.cf or make /usr a non-variable symlink, sendmail works ok. Other environment variable things seem to work ok from the Bourne shell. sendmail works well from a c shell. Anybody know what the problem is with the bourne shell, environment variables and sendmail? Woody Kellum lwk@caen.engin.umich.edu