🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sun
Article #13760

probable sendmail bug: sendmail -t < msg - bad file number

#13760
From: Heinz Naef
Date: Mon, 12 Feb 1990 11:04
34 lines
1798 bytes
Probable sendmail bug on SunOS 4.0.3

On our diskless clients we have the following sendmail configuration file
(/etc/sendmail.cf):

   OR<fileservername>
   Mlocal,	P=/bin/mail, F=rlsDFMmnP, S=10, R=20, A=mail -d $u
   Mprog,	P=/bin/sh,   F=lsDFMeuP,  S=10, R=20, A=sh -c $u

   where <fileservername> is the hostname of the file server associated with
   the client.

Some program, e. g. Pnews, Rnmail and some rn-internal functions, invoke
sendmail to inspect the message header for To:-, Cc:- and Bcc:-header
lines and inject the message in the network for the requested recepients.
This is done by invoking sendmail as follows

   /usr/lib/sendmail -t < <message-with-header>

where <message-with-header> is the complete electronic message including
the RFC 822 (and RFC 1036) header as prepared by one of the above user
interface programs.

If this command is issued on a diskless client which has the above
sendmail configuration file, it will fail with the following message:

   cannot chdir((null)): Bad file number

Any idea what could be wrong?

Heinz Naef, c/o CIBA-GEIGY AG, R-1045.3.37, P.O.Box, CH-4002 Basel, Switzerland
  UUCP:     cgch!whna
  Internet: whna%cgch.uucp@uunet.uu.net              Phone: (+41) 61 697 26 75
  BITNET:   whna%cgch.uucp@cernvax.bitnet            Fax:   (+41) 61 697 32 88
Technical Details
Message-ID: <4935@brazos.Rice.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!rice!sun-spots-request

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!rice!sun-spots-request
From: cgch!whna@relay.eu.net (Heinz Naef)
Newsgroups: comp.sys.sun
Subject: probable sendmail bug: sendmail -t < msg - bad file number
Keywords: Software
Message-ID: <4935@brazos.Rice.edu>
Date: 12 Feb 90 11:04:05 GMT
Sender: root@rice.edu
Organization: Sun-Spots
Lines: 34
Approved: Sun-Spots@rice.edu
X-Sun-Spots-Digest: Volume 9, Issue 34, message 9