🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.sendmail
Article #2676

Default UUCP name & possible sendmail bugs

#2676
From: Dan Mosedale
Date: Tue, 12 Jan 1993 22:43
40 lines
1948 bytes
First off, thanks to Neil, Paul, Eric & everyone else involved with
Sendmail and/or Sendmail+IDA for a nice package.

Now, a feature question: I'd like to use a single client.m4/client.cf
for many machines.  Is there a way to set UUCPNAME to default to the
current machine name ($w, if I recall correctly from my pre-IDA days)?


Now for the bugs... 

First off, the Ultrix 4.2a include files already have a function
prototype for fdopen(), so the ones in def.h need to be somehow
ifdef'ed out.

The second bug ccurs on both the DECs and the Suns.  I'm running
Sendmail 5.65c + IDA 1.4.4.1, on both DECstations and SPARCs.  I've
compiled it with GCC 2.3.3, invoked as

    gcc -ansi -O2 -fpcc-struct-return

I have my aliases set up as follows:

    /etc/aliases is on the root partition, and is symlink to
    /usr/local/init/aliases.  /usr/local/init is an NFS partition
    which I'd like to mount read-only.

The problem is this: when Sendmail (invoked with -bi or as newaliases)
goes to build the aliases.{dir,pag} databases, it refuses to build
them if /usr/local/init is mounted read-only (even though the database
files should be written to /etc, in this instance).

I assume what is going on is that sendmail first stat()'s
/etc/aliases, and then finds the parent-dir of the stat'ed directory
and does a writability check on that, rather than simply checking the
writability of the directory where aliases ostensibly lives (i.e
/etc).

Thanks,
Dan Mosedale
mosedale@genome.stanford.edu
Technical Details
Message-ID: <1993Jan12.224305.26275@leland.Stanford.EDU>
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!nntp.Stanford.EDU!yeahbut.stanford.edu!mosedale

Show Full Headers
Complete Article Headers
Newsgroups: comp.mail.sendmail
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!nntp.Stanford.EDU!yeahbut.stanford.edu!mosedale
From: mosedale@yeahbut.stanford.edu (Dan Mosedale)
Subject: Default UUCP name & possible sendmail bugs
Message-ID: <1993Jan12.224305.26275@leland.Stanford.EDU>
Sender: news@leland.Stanford.EDU (Mr News)
Organization: Stanford Yeast Genome Project
Date: Tue, 12 Jan 93 22:43:05 GMT
Lines: 41