[comp.mail.sendmail] Installing Sendmail 5.61

msir@uhura.cc.rochester.edu (Mark Sirota) (01/27/89)

In article <218300001@uxc.cso.uiuc.edu> paul@uxc.cso.uiuc.edu writes:
> V5.61 is the smoothest installing sendmail I've ever come across.  The
> people at Berkeley have done a real professional job on this release.

It's not so easy for me.  First, I had to steal sysexits.h from the 5.59
distribution, because the version on my system is 4.2 instead of 4.4, and
4.2 doesn't have EX_CONFIG defined.

Secondly, my system doesn't have unsetenv().  What should I do about
this?  I don't find it on any of my Vaxen (running Mt. Xinu, a derivative
of BSD4.3) or the Suns (running SunOS 3.5).

I note that these calls to unsetenv() materialized sometime after v5.54.
First, TZ is unset at the top of main() to "Enforce use of local time".
Second, HOSTALIASES is unset while parsing the arguments if running in
daemon mode (-bp) or queue mode (-q).

What should I do about this?  Write my own unsetenv() (it's not that
hard), or steal the code from elsewhere, or comment these out?

Thanks for any help.
-- 
Mark Sirota - University of Rochester, Rochester, NY
 Internet: msir@cc.rochester.edu
 Bitnet:   msir_ss@uordbv.bitnet
 UUCP:     ...!rochester!ur-cc!msir

peirce@gumby.cc.wmich.edu (Leonard J. Peirce) (01/27/89)

In article <711@ur-cc.UUCP> msir@cc.rochester.edu (Mark Sirota) writes:
>In article <218300001@uxc.cso.uiuc.edu> paul@uxc.cso.uiuc.edu writes:
>> V5.61 is the smoothest installing sendmail I've ever come across.  The
>> people at Berkeley have done a real professional job on this release.
>
>It's not so easy for me.  First, I had to steal sysexits.h from the 5.59
>distribution, because the version on my system is 4.2 instead of 4.4, and
>4.2 doesn't have EX_CONFIG defined.
>

Amen.  It's not a clean build on ULTRIX 3.0, either.  I first got an
undefined for NO_DATA (apparently it lives in netdb.h).  I hacked in a
#define for it just see how far I could get and I got another undefined,
although I can't remember it right now.  I also got a mismatch warning about
a return code from signal (which is now a void on ULTRIX) and other warnings
about things being redfined (s_host, I think).  Does anyone have a version
that will build cleanly on ULTRIX?  The version of sendmail that comes with
it is, as far as I can see, broken a number of ways.
-- 
Leonard J. Peirce               Internet:  peirce@gumby.cc.wmich.edu
Western Michigan University                peirce@gw.wmich.edu
Academic Computer Center        Voice:     (616) 387-5469
Kalamazoo, MI  49008

bin@primate.wisc.edu (Brain in Neutral) (01/28/89)

From article <711@ur-cc.UUCP>, by msir@uhura.cc.rochester.edu (Mark Sirota):
> It's not so easy for me.  First, I had to steal sysexits.h from the 5.59
> distribution, because the version on my system is 4.2 instead of 4.4, and
> 4.2 doesn't have EX_CONFIG defined.
> 
> Secondly, my system doesn't have unsetenv().  What should I do about
> this?  I don't find it on any of my Vaxen (running Mt. Xinu, a derivative
> of BSD4.3) or the Suns (running SunOS 3.5).

Get a new distribution, which now has a support directory in it (with,
among other things, sysexits.h and getenv.c/setenv.c).

Other things are necessary to make it run under Ultrix < 3.0, of course.

Paul DuBois
dubois@primate.wisc.edu		rhesus!dubois
bin@primate.wisc.edu		rhesus!bin

gandalf@csli.STANFORD.EDU (Juergen Wagner) (01/28/89)

In article <645@gumby.cc.wmich.edu> peirce@gumby.cc.wmich.edu (Leonard J. Peirce) writes:
>... 							I first got an
>undefined for NO_DATA (apparently it lives in netdb.h).

The problem with NO_DATA seems to come from the fact that you are not running
BIND 4.8. With the new netdb.h and other header files from BIND 4.8, these
problems go away.

-- 
Juergen Wagner		   			gandalf@csli.stanford.edu
						 wagner@arisia.xerox.com