*BSD News Article 22589


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!elroy.jpl.nasa.gov!usc!math.ohio-state.edu!cs.utexas.edu!uunet!pipex!zaphod.crihan.fr!univ-lyon1.fr!ensta!itesec!frmug!renux.frmug.fr.net!keltia.frmug.fr.net!roberto
From: roberto@keltia.frmug.fr.net (Ollivier Robert)
Newsgroups: comp.os.386bsd.questions
Subject: Re: BSD/SMTP?
Date: 19 Oct 1993 01:24:20 GMT
Organization: Private FreeBSD Usenet Site
Lines: 46
Distribution: world
Message-ID: <29vfki$3al@keltia.frmug.fr.net>
References: <1993Oct8.075744.1@vaxb.acs.unt.edu> <293s62INN9cq@xs4all.hacktic.nl>
Reply-To: Ollivier.Robert@keltia.frmug.fr.net
NNTP-Posting-Host: keltia.frmug.fr.net
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: TIN [version 1.2 PL2]

Cor (cor@hacktic.nl) wrote:
> I suggest getting a package called 'IDA sendmail' It has very nice
> documentation and is easy to install. I had no real prior knowledge
> about sendmail, and still had no problem figuring out IDA sendmail.

Or  you can  get sendmail   8.6.2,  which is  a   very improved version  of
sendmail, incorporating some features from IDA as well.  The 8.3 is shipped
with FreeBSD  1.0E  but you  can  just  put  8.6.2  sources in   place  and
recompile.

I've put  a specific entry  for 386BSD/FreeBSD/NetBSD into  the conf.h file
and changed a line into the Makefile to use libutil.a for getloadavg(2).

Here is my diff :
------------------------------------------------------------
--- conf.h.DIST	Fri Oct 15 16:35:13 1993
+++ conf.h	Sun Oct 17 15:31:19 1993
@@ -288,6 +288,22 @@
 # endif
 #endif
 
+/*
+**  386BSD / FreeBSD 1.0E / NetBSD (not tested)
+**
+**  4.3BSD clone, close to 4.4BSD
+*/
+
+#ifdef __386BSD__
+# define HASUNSETENV    1       /* has unsetenv(3) call */
+# define HASSETSID      1       /* has the setsid(2) POSIX syscall */
+# define HASSTATFS      1       /* has the statfs(2) syscall */
+# include <sys/cdefs.h>
+# define ERRLIST_PREDEFINED     /* don't declare sys_errlist */
+# ifndef LA_TYPE
+#  define LA_TYPE       LA_SUBR
+# endif
+#endif
 
 /*
 **  4.3 BSD -- this is for very old systems
------------------------------------------------------------
It should work on NetBSD too.

--
Ollivier ROBERT                          Ollivier.Robert@keltia.frmug.fr.net
A FreeBSD & PERL addict...                    PGP 2.3a Public Key on request