xref: /csrg-svn/usr.sbin/sendmail/src/READ_ME (revision 68067)
135062Sbostic# Copyright (c) 1983 Eric P. Allman
248582Sbostic# Copyright (c) 1988 The Regents of the University of California.
333728Sbostic# All rights reserved.
433728Sbostic#
548582Sbostic# %sccs.include.redist.sh%
633728Sbostic#
7*68067Seric#	@(#)READ_ME	8.74 (Berkeley) 12/09/94
833728Sbostic#
948582Sbostic
109881SericThis directory contains the source files for sendmail.
115369Seric
1260565SericFor detailed instructions, please read the document ../doc/op.me:
135369Seric
1460565Seric	eqn ../doc/op.me | pic | ditroff -me
155369Seric
1667876SericDO NOT USE MAKE to compile sendmail -- instead, use the "makesendmail"
1767876Sericscript located in the src directory.  It will find an appropriate
1867876SericMakefile, and create an appropriate obj.* subdirectory so that
1967876Sericmultiplatform support works easily.
2067876Seric
2165366SericThe Makefile is for the new (4.4BSD) Berkeley make and uses syntax
2265366Sericthat is not recognized by older makes.  It also has assumptions
2365366Sericabout the 4.4 file system layout built in.  See below for details
2465366Sericabout other Makefiles.
2557418Seric
2667876SericIf you are porting to a new architecture for which there is no existing
2767876SericMakefile, you might start with Makefile.dist.  This works on the old
2867876Serictraditional make, but isn't customized for any particular architecture.
2964501Seric
3067876Seric	**************************************************
3167876Seric	**  Read below for more details of Makefiles.	**
3267876Seric	**************************************************
3357418Seric
3465000Seric**************************************************************************
3565000Seric**  IMPORTANT:  DO NOT USE OPTIMIZATION (``-O'') IF YOU ARE RUNNING	**
3665000Seric**  GCC 2.4.x or 2.5.x.  THERE IS A BUG IN THE GCC OPTIMIZER THAT	**
3765000Seric**  CAUSES SENDMAIL COMPILES TO FAIL MISERABLY.				**
3865000Seric**************************************************************************
3964272Seric
4065000SericJim Wilson of Cygnus believes he has found the problem -- it will
4165000Sericprobably be fixed in GCC 2.5.6 -- but until this is verified, be
4265000Sericvery suspicious of gcc -O.
4364701Seric
4465000Seric**************************************************************************
4565000Seric**  IMPORTANT:  Read the appropriate paragraphs in the section on	**
4665000Seric**  ``Operating System and Compile Quirks''.				**
4765000Seric**************************************************************************
4864718Seric
4965000Seric
5065366Seric+-----------+
5165366Seric| MAKEFILES |
5265366Seric+-----------+
5365366Seric
5467876SericBy far, the easiest way to compile sendmail is to use the "makesendmail"
5567876Sericscript.  This uses the "uname" command to figure out what architecture
5667876Sericyou are on and selects a proper Makefile accordingly.  It also creates
5767876Serica subdirectory per object format, so that multiarchitecture support is
5867876Sericeasy.  In general this should be all you need.  However, if for some
5967876Sericreason this doesn't work (e.g., NeXT systems don't have the "uname"
6067876Sericcommand) you may have to set up your compile environment by hand.
6167876Seric
6265366SericThe "Makefile"s in these directories are from 4.4 BSD, and hence
6365366Sericreally only work properly if you are on a 4.4 system.  In particular,
6465366Sericthey use new syntax that will not be recognized on old make programs,
6565366Sericand some of them do things like ``.include ../../Makefile.inc'' to
6665366Sericpick up some system defines.  If you are getting sendmail separately,
6765366Sericthese files won't be included in the distribution, as they are
6865366Sericoutside of the sendmail tree.
6965366Seric
7065366SericInstead, you should use one of the other Makefiles, such as
7165366SericMakefile.SunOS for a SunOS system, and so forth.  These should
7265366Sericwork with the version of make that is appropriate for that
7367876Sericsystem.  All other Makefiles are in the "src/Makefiles" subdirectory.
7467876SericThey use the version of make that is native for that system.  These
7567876Sericare the Makefiles that I use, and they have "Berkeley quirks" in them.
7667876SericI can't guarantee that they will work unmodified in your environment.
7767876SericIn particular, Many of them include -I/usr/sww/include/db and
7867876Seric-L/usr/sww/lib -- these are Berkeley's locations in the ``Software
7967876SericWarehouse'' for the new database libraries, described below.  You don't
8067876Serichave to remove these definitions if you don't have these directories,
8167876Sericbut you may have to remove -DNEWDB from the DBMDEF definition.
8265366Seric
8365366SericPlease look for an appropriate Makefile before you start trying to
8465366Sericcompile with Makefile or Makefile.dist.
8565366Seric
8665366SericIf you want to port the new Berkeley make, you can get it from
8765366Sericftp.uu.net in the directory /systems/unix/bsd-sources/usr.bin/make.
8865366SericDiffs and instructions for building this version of make under
8965366SericSunOS 4.1.x are available on ftp.css.itd.umich.edu in
9065366Seric/pub/systems/sun/Net2-make.sun4.diff.Z.  Diffs and instructions
9165366Sericfor building this version of make under IBM AIX 3.2.4 are available
9265366Sericon ftp.uni-stuttgart.de in /sw/src/patches/bsd-make-rus-patches.
9367555SericFor Ultrix, try ftp.vix.com:~ftp/pub/patches/pmake-for-ultrix.Z.
9465366SericPaul Southworth <pauls@umich.edu> published a description of porting
9565366Sericthis make in comp.unix.bsd.
9665366Seric
9765366SericThe complete text of the Makefile.inc that is in the parent of the
9865366Sericsendmail directory is:
9965366Seric
10065366Seric	#	@(#)Makefile.inc	8.1 (Berkeley) 6/6/93
10165366Seric
10265366Seric	BINDIR?=	/usr/sbin
10365366Seric
10465366Seric
10564250Seric+----------------------+
10664250Seric| DATABASE DEFINITIONS |
10764250Seric+----------------------+
10864250Seric
10964250SericThere are several database formats that can be used for the alias files
11064250Sericand for general maps.  When used for alias files they interact in an
11164250Sericattempt to be back compatible.
11264250Seric
11364250SericThe three options are NEWDB (the new Berkeley DB package), NDBM (the
11464250Sericolder DBM implementation -- the very old V7 implementation is no
11564250Sericlonger supported), and NIS (Network Information Services).  Used alone
11664376Sericthese just include the support they indicate.  [If you are using NEWDB,
11767876Sericget the latest version from FTP.CS.Berkeley.EDU in /ucb/4bsd/db.tar.Z
11867876Seric(or db.tar.gz).  DO NOT use the version from the Net2 distribution!
11967876SericHowever, if you are on BSD/386 or 386BSD-based systems, use the one
12067876Sericthat already exists on your system.  You may need to #define OLD_NEWDB
12167876Seric1 to do this.]
12264250Seric
12365910Seric[NOTE WELL: it is CRITICAL that you remove ndbm.o from libdb.a and
12465910Sericndbm.h from the appropriate include directories if you want to get
12565910Sericndbm support.  These files OVERRIDE calls to ndbm routines -- in
12665910Sericparticular, if you leave ndbm.h in, you can find yourself using
12765910Sericthe new db package even if you don't define NEWDB.]
12865910Seric
12964250SericIf NEWDB and NDBM are defined (but not NIS), then sendmail will read
13064250SericNDBM format alias files, but the next time a newaliases is run the
13164250Sericformat will be converted to NEWDB; that format will be used forever
13264250Sericmore.  This is intended as a transition feature.  [Note however that
13364250Sericthe NEWDB library also catches and maps NDBM calls; you will have to
13464250Sericback out this feature to get this to work.  See ``Quirks'' section
13564250Sericbelow for details.]
13664250Seric
13764250SericIf all three are defined, sendmail operates as described above, and also
13864250Sericlooks for the file /var/yp/Makefile.  If it exists, newaliases will
13964250Sericbuild BOTH the NEWDB and NDBM format alias files.  However, it will
14064250Sericonly use the NEWDB file; the NDBM format file is used only by the
14164250SericNIS subsystem.
14264250Seric
14364250SericIf NDBM and NIS are defined (regardless of the definition of NEWDB
14464250Sericor the existance of /var/yp/Makefile), sendmail adds the special
14564250Serictokens "YP_LAST_MODIFIED" and "YP_MASTER_NAME", both of which are
14664250Sericrequired if the NDBM file is to be used as an NIS map.
14764250Seric
14867876SericThere is also preliminary support for NIS+ (-DNISPLUS), Hesiod
14967876Seric(-DHESIOD), and NetInfo (-DNETINFO).  These have not been well
15067876Serictested.
15164250Seric
15267876SericAll of -DNEWDB, -DNDBM, -DNIS, -DNISPLUS, -DHESIOD, and -DNETINFO are
15367876Sericnormally defined in the DBMDEF line in the Makefile.
15464250Seric
15567876Seric
15664035Seric+---------------+
15764035Seric| COMPILE FLAGS |
15864035Seric+---------------+
15964035Seric
16060565SericWhereever possible, I try to make sendmail pull in the correct
16160584Sericcompilation options needed to compile on various environments based on
16260584Sericautomatically defined symbols.  Some machines don't seem to have useful
16360584Sericsymbols availble, requiring the following compilation flags in the
16460584SericMakefile:
16560565Seric
16660565SericSOLARIS		Define this if you are running Solaris 2.0 or higher.
16765000SericSOLARIS_2_3	Define this if you are running Solaris 2.3 or higher.
16865108SericSUNOS403	Define this if you are running SunOS 4.0.3.
16964077SericNeXT		Define this if you are on a NeXT box.  (This one may
17064072Seric		be pre-defined for you.)  There are other hacks you
17164072Seric		have to make -- see below.
17260565Seric_AIX3		Define this if you are IBM AIX 3.x.
17363965SericRISCOS		Define this if you are running RISC/os from MIPS.
17466335SericIRIX		Define this if you are running IRIX from SGI.
17564501Seric_SCO_unix_	Define this if you are on SCO UNIX.
17665095Seric_SCO_unix_4_2	Define this if you are on SCO Open Server 3.2v4.
17767427SericDGUX		Define this if you are on DG/UX 5.4.3 or later
17867427SericDGUX_5_4_2	Define this if you are on DG/UX systems prior to 5.4.3.
17967434SericNonStop_UX_BXX	Define this if you are on a Tandem NonStop-UX release
18067434Seric		Bxx system.
18160565Seric
18260584SericIf you are a system that sendmail has already been ported to, you
18360584Sericprobably won't have to touch these.  But if you are porting, you may
18463962Serichave to tweak the following compilation flags in conf.h in order to
18563962Sericget it to compile and link properly:
18660565Seric
18765195SericSYSTEM5		Adjust for System V (not necessarily Release 4).
18864035SericSYS5SIGNALS	Use System V signal semantics -- the signal handler
18964035Seric		is automatically dropped when the signal is caught.
19064035Seric		If this is not set, use POSIX/BSD semantics, where the
19164035Seric		signal handler stays in force until an exec or an
19264035Seric		explicit delete.  Implied by SYSTEM5.
19364706SericSYS5SETPGRP	Use System V setpgrp() semantics.  Implied by SYSTEM5.
19464035SericHASFLOCK	Set this if you prefer to use the flock(2) system call
19564035Seric		rather than using fcntl-based locking.  Fcntl locking
19664035Seric		has some semantic gotchas, but many vendor systems
19764035Seric		also interface it to lockd(8) to do NFS-style locking.
19864035Seric		For this reason, this should not be set unless you
19964035Seric		don't have an alternative.
20060565SericHASUNAME	Set if you have the "uname" system call.  Implied by
20160565Seric		SYSTEM5.
20263962SericHASUNSETENV	Define this if your system library has the "unsetenv"
20363962Seric		subroutine.
20460565SericHASSETSID	Define this if you have the setsid(2) system call.  This
20560565Seric		is implied if your system appears to be POSIX compliant.
20660565SericHASINITGROUPS	Define this if you have the initgroups(3) routine.
20763753SericHASSETVBUF	Define this if you have the setvbuf(3) library call.
20863753Seric		If you don't, setlinebuf will be used instead.  This
20963753Seric		defaults on if your compiler defines __STDC__.
21063902SericHASSETREUID	Define this if you have setreuid(2) ***AND*** root can
21163902Seric		use setreuid to change to an arbitrary user.  This second
21263902Seric		condition is not satisfied on AIX 3.x.  You may find that
21363902Seric		your system has setresuid(2), (for example, on HP-UX) in
21463902Seric		which case you will also have to #define setreuid(r, e)
21563902Seric		to be the appropriate call.  Some systems (such as Solaris)
21665000Seric		have a compatibility routine that doesn't work properly,
21765000Seric		but may have "saved user ids" properly implemented so you
21865000Seric		can ``#define setreuid(r, e) seteuid(e)'' and have it work.
21963902Seric		The important thing is that you have a call that will set
22065000Seric		the effective uid independently of the real or saved uid
22165000Seric		and be able to set the effective uid back again when done.
22265000Seric		There's a test program in ../test/t_setreuid.c that will
22365000Seric		try things on your system.  Setting this improves the
22465000Seric		security, since sendmail doesn't have to read .forward
22565000Seric		and :include: files as root.  There are certain attacks
22665000Seric		that may be unpreventable without this call.
22765000SericHASLSTAT	Define this if you have symbolic links (and thus the
22865000Seric		lstat(2) system call).  This improves security.  Unlike
22965000Seric		most other options, this one is on by default, so you
23065000Seric		need to #undef it in conf.h if you don't have symbolic
23165000Seric		links (these days everyone does).
23267430SericHASSETRLIMIT	Define this to 1 if you have the setrlimit(2) syscall.
23367430Seric		You can define it to 0 to force it off.  It is assumed
23467430Seric		if you are running a BSD-like system.
23567430SericHASULIMIT	Define this if you have the ulimit(2) syscall (System V
23667430Seric		style systems).  HASSETRLIMIT overrides, as it is more
23767430Seric		general.
23865206SericNEEDGETOPT	Define this if you need a reimplementation of getopt(3).
23965206Seric		On some systems, getopt does very odd things if called
24065206Seric		to scan the arguments twice.  This flag will ask sendmail
24165206Seric		to compile in a local version of getopt that works
24265206Seric		properly.
24365206SericNEEDSTRTOL	Define this if your standard C library does not define
24465206Seric		strtol(3).  This will compile in a local version.
24565206SericNEEDVPRINTF	Define this if your standard C library does not define
24665206Seric		vprintf(3).  Note that the resulting fake implementation
24765206Seric		is not very elegant and may not even work on some
24865206Seric		architectures.
24966792SericNEEDFSYNC	Define this if your standard C library does not define
25066792Seric		fsync(2).  This will try to simulate the operation using
25166792Seric		fcntl(2); if that is not available it does nothing, which
25266792Seric		isn't great, but at least it compiles and runs.
25365211SericHASGETUSERSHELL	Define this to 1 if you have getusershell(3) in your
25465211Seric		standard C library.  If this is not defined, or is defined
25565211Seric		to be 0, sendmail will scan the /etc/shells file (no
25665211Seric		NIS-style support, defaults to /bin/sh and /bin/csh if
25765211Seric		that file does not exist) to get a list of unrestricted
25865211Seric		user shells.  This is used to determine whether users
25965211Seric		are allowed to forward their mail to a program or a file.
26063937SericGIDSET_T	The type of entries in a gidset passed as the second
26163937Seric		argument to getgroups(2).  Historically this has been an
26263937Seric		int, so this is the default, but some systems (such as
26363937Seric		IRIX) pass it as a gid_t, which is an unsigned short.
26463937Seric		This will make a difference, so it is important to get
26563937Seric		this right!  However, it is only an issue if you have
26663937Seric		group sets.
26763968SericSLEEP_T		The type returned by the system sleep() function.
26863968Seric		Defaults to "unsigned int".  Don't worry about this
26963968Seric		if you don't have compilation problems.
27063974SericARBPTR_T	The type of an arbitrary pointer -- defaults to "void *".
27163974Seric		If you are an very old compiler you may need to define
27263974Seric		this to be "char *".
27360584SericLA_TYPE		The type of load average your kernel supports.  These
27466301Seric		can be one of:
27566301Seric		LA_ZERO (1) -- it always returns the load average as
27666301Seric			"zero" (and does so on all architectures).
27766301Seric		LA_SUBR (4) if you have the getloadavg(3) routine,
27864376Seric		LA_MACH (5) to use MACH-style load averages (calls
27966301Seric			processor_set_info()),
28066301Seric		LA_PROCSTR (7) to read /proc/loadavg and interpret it
28166301Seric			as a string representing a floating-point
28266301Seric			number (Linux-style),
28366301Seric		LA_FLOAT (3) if you read kmem and interpret the value
28466301Seric			as a floating point number,
28566301Seric		LA_INT (2) to interpret as a long integer,
28666301Seric		LA_SHORT (6) to interpret as a short integer.
28766301Seric		These last three have several other parameters that they
28866301Seric		try to divine: the name of your kernel, the name of the
28966301Seric		variable in the kernel to examine, the number of bits of
29066301Seric		precision in a fixed point load average, and so forth.
29166301Seric		In desperation, use LA_ZERO.  The actual code is in
29266301Seric		conf.c -- it can be tweaked if you are brave.
29365752SericSFS_TYPE	Encodes how your kernel can locate the amount of free
29465752Seric		space on a disk partition.  This can be set to SFS_NONE
29565752Seric		(0) if you have no way of getting this information,
29665752Seric		SFS_USTAT (1) if you have the ustat(2) system call,
29765752Seric		SFS_4ARGS (2) if you have a four-argument statfs(2)
29865752Seric		system call (and the include file is <sys/statfs.h>),
29967161Seric		SFS_VFS (3), SFS_MOUNT (4), SFS_STATFS (5) if you have
30067161Seric		the two-argument statfs(2) system call with includes in
30167161Seric		<sys/vfs.h>, <sys/mount.h>, or <sys/statfs.h> respectively,
30267161Seric		or SFS_STATVFS (6) if you have the two-argument statvfs(2)
30367161Seric		call.  The default if nothing is defined is SFS_NONE.
30467770SericSPT_TYPE	Encodes how your system can display what a process is doing
30567770Seric		on a ps(1) command (SPT stands for Set Process Title).  Can
30667770Seric		be set to:
30767770Seric		SPT_NONE (0) -- Don't try to set the process title at all.
30867770Seric		SPT_REUSEARGV (1) -- Pad out your argv with the information;
30967770Seric			this is the default if none specified.
31067770Seric		SPT_BUILTIN (2) -- The system library has setproctitle.
31167770Seric		SPT_PSTAT (3) -- Use the PSTAT_SETCMD option to pstat(2)
31267770Seric			to set the process title; this is used by HP-UX.
31367770Seric		SPT_PSSTRINGS (4) -- Use the magic PS_STRINGS pointer (4.4BSD).
31467770SericSPT_PADCHAR	Character used to pad the process title; if undefined,
31567770Seric		the space character (0x20) is used.  This is ignored if
31667770Seric		SPT_TYPE != SPT_REUSEARGV
31763962SericERRLIST_PREDEFINED
31863962Seric		If set, assumes that some header file defines sys_errlist.
31963962Seric		This may be needed if you get type conflicts on this
32063962Seric		variable -- otherwise don't worry about it.
32164562SericWAITUNION	The wait(2) routine takes a "union wait" argument instead
32264562Seric		of an integer argument.  This is for compatibility with
32364562Seric		old versions of BSD.
32465000SericSCANF		You can set this to extend the F command to accept a
32565000Seric		scanf string -- this gives you a primitive parser for
32665000Seric		class definitions -- BUT it can make you vulnerable to
32765000Seric		core dumps if the target file is poorly formed.
32865095SericSYSLOG_BUFSIZE	You can define this to be the size of the buffer that
32965095Seric		syslog accepts.  If it is not defined, it assumes a
33065095Seric		1024-byte buffer.  If the buffer is very small (under
33165095Seric		256 bytes) the log message format changes -- each
33265095Seric		e-mail message will log many more messages, since it
33365095Seric		will log each piece of information as a separate line
33465095Seric		in syslog.
33566318SericBROKEN_RES_SEARCH
33666318Seric		On Ultrix (and maybe other systems?) if you use the
33766318Seric		res_search routine with an unknown host name, it returns
33866318Seric		-1 but sets h_errno to 0 instead of HOST_NOT_FOUND.  If
33966318Seric		you set this, sendmail considers 0 to be the same as
34066318Seric		HOST_NOT_FOUND.
34167436SericNAMELISTMASK	If defined, values returned by nlist(3) are masked
34267436Seric		against this value before use -- a common value is
34367436Seric		0x7fffffff to strip off the top bit.
34460565Seric
34564035Seric
34667436Seric
34764035Seric+-----------------------+
34864035Seric| COMPILE-TIME FEATURES |
34964035Seric+-----------------------+
35064035Seric
35160584SericThere are a bunch of features that you can decide to compile in, such
35260584Sericas selecting various database packages and special protocol support.
35360584SericSeveral are assumed based on other compilation flags -- if you want to
35460584Seric"un-assume" something, you probably need to edit conf.h.  Compilation
35560584Sericflags that add support for special features include:
35660565Seric
35760565SericNDBM		Include support for "new" DBM library for aliases and maps.
35864250Seric		Normally defined in the Makefile.
35960565SericNEWDB		Include support for Berkeley "db" package (hash & btree)
36064250Seric		for aliases and maps.  Normally defined in the Makefile.
36166843SericOLD_NEWDB	If non-zero, the version of NEWDB you have is the old
36266843Seric		one that does not include the "fd" call.  This call was
36366843Seric		added in version 1.5 of the Berkeley DB code.  If you
36466843Seric		use -DOLD_NEWDB=0 it forces you to use the new interface.
36560565SericNIS		Define this to get NIS (YP) support for aliases and maps.
36664250Seric		Normally defined in the Makefile.
36760565SericUSERDB		Include support for the User Information Database.  Implied
36864250Seric		by NEWDB in conf.h.
36965000SericIDENTPROTO	Define this as 1 to get IDENT (RFC 1413) protocol support.
37060565Seric		This is assumed unless you are running on Ultrix or
37160565Seric		HP-UX, both of which have a problem in the UDP
37265000Seric		implementation.  You can define it to be 0 to explicitly
37365000Seric		turn off IDENT protocol support.
37460565SericLOG		Set this to get syslog(3) support.  Defined by default
37560584Seric		in conf.h.  You want this if at all possible.
37660565SericNETINET		Set this to get TCP/IP support.  Defined by default
37760584Seric		in conf.h.  You probably want this.
37860565SericNETISO		Define this to get ISO networking support.
37960565SericSMTP		Define this to get the SMTP code.  Implied by NETINET
38060565Seric		or NETISO.
38160565SericNAMED_BIND	Define this to get DNS (name daemon) support, including
38260565Seric		MX support.  The specs you must use this if you run
38360565Seric		SMTP.  Defined by default in conf.h.
38460565SericQUEUE		Define this to get queueing code.  Implied by NETINET
38560584Seric		or NETISO; required by SMTP.  This gives you other good
38660584Seric		stuff -- it should be on.
38760565SericDAEMON		Define this to get general network support.  Implied by
38860584Seric		NETINET or NETISO.  Defined by default in conf.h.  You
38960584Seric		almost certainly want it on.
39060565SericMATCHGECOS	Permit fuzzy matching of user names against the full
39160565Seric		name (GECOS) field in the /etc/passwd file.  This should
39260565Seric		probably be on, since you can disable it from the config
39360584Seric		file if you want to.  Defined by default in conf.h.
39460565Seric
39564035Seric
39665000Seric+---------------------+
39765000Seric| DNS/RESOLVER ISSUES |
39865000Seric+---------------------+
39965000Seric
40065000SericMany systems have old versions of the resolver library.  At a minimum,
40165000Sericyou should be running BIND 4.8.3; older versions may compile, but they
40265000Serichave known bugs that should give you pause.
40365000Seric
40465000SericCommon problems in old versions include "undefined" errors for
40565000Sericdn_skipname.
40665000Seric
40765000SericSome people have had a problem with BIND 4.9; it uses some routines
40865000Sericthat it expects to be externally defined such as strerror().  It may
40965000Serichelp to link with "-l44bsd" to solve this problem.
41065000Seric
41165095Seric!PLEASE! be sure to link with the same version of the resolver as
41265095Sericthe header files you used -- some people have used the 4.9 headers
41365095Sericand linked with BIND 4.8 or vice versa, and it doesn't work.
41465095SericUnfortunately, it doesn't fail in an obvious way -- things just
41565954Sericsubtly don't work.
41665000Seric
41765095Seric
41864035Seric+-------------------------------------+
41964035Seric| OPERATING SYSTEM AND COMPILE QUIRKS |
42064035Seric+-------------------------------------+
42164035Seric
42265095SericGCC 2.5.x problems  *** IMPORTANT ***
42365095Seric	Date: Mon, 29 Nov 93 19:08:44 PST
42465095Seric	From: wilson@cygnus.com (Jim Wilson)
42565095Seric	Message-Id: <9311300308.AA04608@cygnus.com>
42665095Seric	To: kenner@vlsi1.ultra.nyu.edu
42765095Seric	Subject: [cattelan@thebarn.com: gcc 2.5.4-2.5.5 -O bug]
42865095Seric	Cc: cattelan@thebarn.com, rms@gnu.ai.mit.edu, sendmail@cs.berkeley.edu
42965095Seric
43065095Seric	This fixes a problem that occurs when gcc 2.5.5 is used to compile
43165095Seric	sendmail 8.6.4 with optimization on a sparc.
43265095Seric
43365095Seric	Mon Nov 29 19:00:14 1993  Jim Wilson  (wilson@sphagnum.cygnus.com)
43465095Seric
43565095Seric		* reload.c (find_reloads_toplev): Replace obsolete reference to
43665095Seric		BYTE_LOADS_*_EXTEND with LOAD_EXTEND_OP.
43765095Seric
43865095Seric	*** clean-ss-931128/reload.c    Sun Nov 14 16:20:01 1993
43965095Seric	--- ss-931128/reload.c  Mon Nov 29 18:52:55 1993
44065095Seric	*************** find_reloads_toplev (x, opnum, type, ind
44165095Seric	*** 3888,3894 ****
44265095Seric		 force a reload in that case.  So we should not do anything here.  */
44365095Seric
44465095Seric		else if (regno >= FIRST_PSEUDO_REGISTER
44565095Seric	! #if defined(BYTE_LOADS_ZERO_EXTEND) || defined(BYTE_LOADS_SIGN_EXTEND)
44665095Seric		       && (GET_MODE_SIZE (GET_MODE (x))
44765095Seric			   <= GET_MODE_SIZE (GET_MODE (SUBREG_REG (x))))
44865095Seric	  #endif
44965095Seric	--- 3888,3894 ----
45065095Seric		 force a reload in that case.  So we should not do anything here.  */
45165095Seric
45265095Seric		else if (regno >= FIRST_PSEUDO_REGISTER
45365095Seric	! #ifdef LOAD_EXTEND_OP
45465095Seric		       && (GET_MODE_SIZE (GET_MODE (x))
45565095Seric			   <= GET_MODE_SIZE (GET_MODE (SUBREG_REG (x))))
45665095Seric	  #endif
45765095Seric
45865095Seric
45964376SericSunOS 4.x (Solaris 1.x)
46064376Seric	You may have to use -lresolv on SunOS.  However, beware that
46164376Seric	this links in a new version of gethostbyname that does not
46264376Seric	understand NIS, so you must have all of your hosts in DNS.
46364035Seric
46464798Seric	Some people have reported problems with the SunOS version of
46564798Seric	-lresolv and/or in.named, and suggest that you get a newer
46664798Seric	version.  The symptoms are delays when you connect to the
46765000Seric	SMTP server on a SunOS machine or having your domain added to
46865000Seric	addresses inappropriately.  There is a version of BIND
46964798Seric	version 4.9 on gatekeeper.DEC.COM in pub/BSD/bind/4.9.
47064798Seric
47164400Seric	There is substantial disagreement about whether you can make
47264400Seric	this work with resolv+, which allows you to specify a search-path
47364400Seric	of services.  Some people report that it works fine, others
47464400Seric	claim it doesn't work at all (including causing sendmail to
47564400Seric	drop core when it tries to do multiple resolv+ lookups for a
47664400Seric	single job).  I haven't tried resolv+, as we use DNS exclusively.
47764400Seric
47864400Seric	Should you want to try resolv+, it is on ftp.uu.net in
47964400Seric	/networking/ip/dns.
48064400Seric
48167161Seric	Apparently getservbyname() can fail under moderate to high
48267161Seric	load under some circumstances.  This will exhibit itself as
48367161Seric	the message ``554 makeconnection: service "smtp" unknown''.
48467161Seric	The problem has been traced to one or more blank lines in
48567161Seric	/etc/services on the NIS server machine.  Delete these
48667161Seric	and it should work.  This info is thanks to Brian Bartholomew
48767161Seric	<bb@math.ufl.edu> of I-Kinetics, Inc.
48867161Seric
48964376SericSolaris 2.x (SunOS 5.x)
49064376Seric	To compile for Solaris, be sure you use -DSOLARIS.
49164376Seric
49266329Seric	To the best of my knowledge, Solaris does not have the
49366329Seric	gethostbyname problem described above.  However, it does
49466329Seric	have another one:
49566329Seric
49664364Seric	From a correspondent:
49764364Seric
49864364Seric	   For solaris 2.2, I have
49964364Seric
50064364Seric		hosts:      files dns
50164364Seric
50264364Seric	   in /etc/nsswitch.conf and /etc/hosts has to have the fully
50364364Seric	   qualified host name. I think "files" has to be before "dns"
50464364Seric	   in /etc/nsswitch.conf during bootup.
50564364Seric
50666329Seric	From another correspondent:
50764376Seric
50866329Seric	   When running sendmail under Solaris, the gethostbyname()
50966329Seric	   hack in conf.c which should perform proper canonicalization
51066329Seric	   of host names could fail.  Result: the host name is not
51166329Seric	   canonicalized despite the hack, and you'll have to define $j
51266329Seric	   and $m in sendmail.cf somewhere.
51366329Seric
51466329Seric	   The reason could be that /etc/nsswitch.conf is improperly
51566329Seric	   configured (at least from sendmail's point of view).  For
51666329Seric	   example, the line
51766329Seric
51866329Seric		hosts:      files nisplus dns
51966329Seric
52066329Seric	   will make gethostbyname() look in /etc/hosts first, then ask
52166329Seric	   nisplus, then dns.  However, if /etc/hosts does not contain
52266329Seric	   the full canonicalized hostname, then no amount of
52366329Seric	   gethostbyname()s will work.
52466329Seric
52566329Seric	   Solution (or rather, a workaround): Ask nisplus first, then
52666329Seric	   dns, then local files:
52766329Seric
52866329Seric		hosts:      nisplus dns [NOTFOUND=return] files
52966329Seric
53064385Seric	The Solaris "syslog" function is apparently limited to something
53164385Seric	about 90 characters because of a kernel limitation.  If you have
53266023Seric	source code, you can probably up this number.  You can get patches
53366023Seric	that fix this problem: the patch ids are:
53464385Seric
53566023Seric		Solaris 2.1	100834
53666023Seric		Solaris 2.2	100999
53766024Seric		Solaris 2.3	101318
53866023Seric
53966023Seric	Be sure you have the appropriate patch installed or you won't
54066023Seric	see system logging.
54166023Seric
54264250SericOSF/1
54365000Seric	If you are compiling on OSF/1 (DEC Alpha), you must use
54465616Seric	-L/usr/shlib (otherwise it core dumps on startup).  You may also
54565000Seric	need -mld to get the nlist() function, although some versions
54665000Seric	apparently don't need this.
54765000Seric
54865000Seric	Also, the enclosed makefile removed /usr/sbin/smtpd; if you need
54965000Seric	it, just create the link to the sendmail binary.
55057977Seric
55166335SericIRIX
55266335Seric	The header files on SGI IRIX are completely prototyped, and as
55366335Seric	a result you can sometimes get some warning messages during
55466335Seric	compilation.  These can be ignored.  There are two errors in
55566335Seric	deliver only if you are using gcc, both of the form ``warning:
55666335Seric	passing arg N of `execve' from incompatible pointer type''.
55766335Seric	Also, if you compile with -DNIS, you will get a complaint
55866335Seric	about a declaration of struct dom_binding in a prototype
55966335Seric	when compiling map.c; this is not important because the
56066335Seric	function being prototyped is not used in that file.
56166335Seric
56267674Seric	In order to compile sendmail you will have had to install
56367674Seric	the developers' option in order to get the necessary include
56467674Seric	files.
56567674Seric
56664250SericNeXT
56764250Seric	If you are compiling on NeXT, you will have to create an empty
56864250Seric	file "unistd.h" and create a file "dirent.h" containing:
56963753Seric
57064250Seric		#include <sys/dir.h>
57164250Seric		#define dirent	direct
57264035Seric
57364250Seric	(The Makefile.NeXT should try to do both of these for you.)
57464077Seric
57564364Seric	Apparently, there is a bug in getservbyname on Nextstep 3.0
57664364Seric	that causes it to fail under some circumstances with the
57764364Seric	message "SYSERR: service "smtp" unknown" logged.  You should
57864364Seric	be able to work around this by including the line:
57964364Seric
58064670Seric		OOPort=25
58164364Seric
58264364Seric	in your .cf file.
58364364Seric
58464376Seric	You may have to use -DNeXT.
58564376Seric
58665000SericBSDI (BSD/386) 1.0, NetBSD 0.9, FreeBSD 1.0
58765000Seric	The "m4" from BSDI won't handle the config files properly.
58865000Seric	I haven't had a chance to test this myself.
58957943Seric
59065000Seric	The M4 shipped in FreeBSD and NetBSD 0.9 don't handle the config
59165000Seric	files properly. One must use either GNU m4 1.1 or the PD-M4
59265000Seric	recently posted in comp.os.386bsd.bugs (and maybe others).
59365000Seric	NetBSD-current includes the PD-M4 (as stated in the NetBSD file
59465000Seric	CHANGES).
59565000Seric
59665000Seric	FreeBSD 1.0 RELEASE has uname(2) now. Use -DUSEUNAME in order to
59765000Seric	use it (look into Makefile.FreeBSD). NetBSD-current may have
59865000Seric	it too but it has not been verified.
59965000Seric
60065000Seric	You cannot port the latest version of the Berkeley db library
60165000Seric	and use it with sendmail without recompiling the world.  This
60265000Seric	is because C library routines use the older version which have
60365000Seric	incompatible header files -- the result is that it can't read
60465000Seric	other system files, such as /etc/passwd, unless you use the
60565000Seric	new db format throughout your system.  You should normally just
60665000Seric	use the version of db supplied in your release.  You may need
60766843Seric	to use -DOLD_NEWDB=1 to make this work -- this turns off some
60865000Seric	new interface calls (for file locking) that are not in older
60965000Seric	versions of db.  You'll get compile errors if you need this
61065000Seric	flag and don't have it set.
61165000Seric
61264364Seric4.3BSD
61364364Seric	If you are running a "virgin" version of 4.3BSD, you'll have
61464364Seric	a very old resolver and be missing some header files.  The
61564364Seric	header files are simple -- create empty versions and everything
61664364Seric	will work fine.  For the resolver you should really port a new
61764364Seric	version (4.8.3 or later) of the resolver; 4.9 is available on
61864364Seric	gatekeeper.DEC.COM in pub/BSD/bind/4.9.  If you are really
61964364Seric	determined to continue to use your old, buggy version (or as
62064364Seric	a shortcut to get sendmail working -- I'm sure you have the
62164364Seric	best intentions to port a modern version of BIND), you can
62264364Seric	copy ../contrib/oldbind.compat.c into src and add
62364364Seric	oldbind.compat.o to OBJADD in the Makefile.
62464364Seric
62564718SericA/UX
62664718Seric	Date: Tue, 12 Oct 1993 18:28:28 -0400 (EDT)
62764718Seric	From: "Eric C. Hagberg" <hagberg@med.cornell.edu>
62864718Seric	Subject: Fix for A/UX ndbm
62964718Seric
63064718Seric	I guess this isn't really a sendmail bug, however, it is something
63164718Seric	that A/UX users should be aware of when compiling sendmail 8.6.
63264718Seric
63364718Seric	Apparently, the calls that sendmail is using to the ndbm routines
63464718Seric	in A/UX 3.0.x contain calls to "broken" routines, in that the
63564718Seric	aliases database will break when it gets "just a little big"
63664718Seric	(sorry I don't have exact numbers here, but it broke somewhere
63764718Seric	around 20-25 aliases for me.), making all aliases non-functional
63864718Seric	after exceeding this point.
63964718Seric
64064718Seric	What I did was to get the gnu-dbm-1.6 package, compile it, and
64164718Seric	then re-compile sendmail with "-lgdbm", "-DNDBM", and using the
64264718Seric	ndbm.h header file that comes with the gnu-package. This makes
64364718Seric	things behave properly.
64464718Seric
64564718Seric	I suppose porting the New Berkeley db package is another route,
64664718Seric	however, I made a quick attempt at it, and found it difficult
64764718Seric	(not easy at least); the gnu-dbm package "configured" and
64864718Seric	compiled easily.
64964718Seric
65064718SericDG/UX
651*68067Seric	Doug Anderson <dlander@afterlife.ncsc.mil> has successfully run
652*68067Seric	V8 on the DG/UX 5.4.2 and 5.4R3.x platforms under heavy usage.
653*68067Seric	Originally, the DG /bin/mail program wasn't compatible with
654*68067Seric	the V8 sendmail, since the DG /bin/mail requires the environment
655*68067Seric	variable "_FORCE_MAIL_LOCAL_=yes" be set.  Version 8.7 now includes
656*68067Seric	this in the environment before invoking the local mailer.  Some
657*68067Seric	have used procmail to avoid this problem in the past.  It works
658*68067Seric	but some have experienced file locking problems with their DG/UX
659*68067Seric	ports of procmail.
66064718Seric
66165820SericApollo DomainOS
66265820Seric	If you are compiling on Apollo, you will have to create an empty
66365820Seric	file "unistd.h" and create a file "dirent.h" containing:
66465820Seric
66565820Seric		#include <sys/dir.h>
66665820Seric		#define dirent	direct
66765820Seric
66865820Seric	(The Makefile.DomainOS will attempt to do both of these for you.)
66965820Seric
67065910SericHP-UX 8.00
67165910Seric	Date: Mon, 24 Jan 1994 13:25:45 +0200
67265910Seric	From: Kimmo Suominen <Kimmo.Suominen@lut.fi>
67365910Seric	Subject: 8.6.5 w/ HP-UX 8.00 on s300
67465910Seric
67565910Seric	Just compiled and fought with sendmail 8.6.5 on a HP9000/360 (ie. a
67665910Seric	series 300 machine) running HP-UX 8.00.
67765910Seric
67865910Seric	I was getting segmentation fault when delivering to a local user.
67965910Seric	With debugging I saw it was faulting when doing _free@libc... *sigh*
68065910Seric	It seems the new implementation of malloc on s300 is buggy as of 8.0,
68165910Seric	so I tried out the one in -lmalloc (malloc(3X)).  With that it seems
68265910Seric	to work just dandy.
68365910Seric
68465910Seric	When linking, you will get the following error:
68565910Seric
68665910Seric	ld: multiply defined symbol _freespace in file /usr/lib/libmalloc.a
68765910Seric
68865910Seric	but you can just ignore it.  You might want to add this info to the
68965910Seric	README file for the future...
69065910Seric
69165910SericLinux
69265910Seric	Something broke between versions 0.99.13 and 0.99.14 of Linux:
69365910Seric	the flock() system call gives errors.  If you are running .14,
69465910Seric	you must not use flock.  You can do this with -DHASFLOCK=0.
69565910Seric
69665910SericAIX
69765910Seric	This version of sendmail does not support MB, MG, and MR resource
69865910Seric	records, which are supported by AIX sendmail.
69965910Seric
70066335SericRISC/os
70166335Seric	RISC/os from MIPS is a merged AT&T/Berkeley system.  When you
70266335Seric	compile on that platform you will get duplicate definitions
70366335Seric	on many files.  You can ignore these.
70466335Seric
70565195SericSystem V Release 4 Based Systems
70665195Seric	There is a single Makefile that is intended for all SVR4-based
70765195Seric	systems (called Makefile.SVR4).  It defines __svr4__, which is
70865195Seric	predefined by some compilers.  If your compiler already defines
70965195Seric	this compile variable, you can delete the definition from the
71065195Seric	Makefile.
71165195Seric
71265195Seric	It's been tested on Dell Issue 2.2.
71365195Seric
71465095SericDELL SVR4
71565095Seric	Date:      Mon, 06 Dec 1993 10:42:29 EST
71665095Seric	From: "Kimmo Suominen" <kim@grendel.lut.fi>
71765095Seric	Message-ID: <2d0352f9.lento29@lento29.UUCP>
71865095Seric	To: eric@cs.berkeley.edu
71965166Seric	Cc: sendmail@cs.berkeley.edu
72065095Seric	Subject:   Notes for DELL SVR4
72165095Seric
72265095Seric	Eric,
72365095Seric
72465095Seric	Here are some notes for compiling Sendmail 8.6.4 on DELL SVR4.  I ran
72565095Seric	across these things when helping out some people who contacted me by
72665095Seric	e-mail.
72765095Seric
72865095Seric	1) Use gcc 2.4.5 (or later?).  Dell distributes gcc 2.1 with their
72965095Seric	   Issue 2.2 Unix.  It is too old, and gives you problems with
73065095Seric	   clock.c, because sigset_t won't get defined in <sys/signal.h>.
73165095Seric	   This is due to a problematic protection rule in there, and is
73265095Seric	   fixed with gcc 2.4.5.
73365095Seric
73465095Seric	2) If you don't use the new Berkeley DB (-DNEWDB), then you need
73565095Seric	   to add "-lc -lucb" to the libraries to link with.  This is because
73665095Seric	   the -ldbm distributed by Dell needs the bcopy, bcmp and bzero
73765095Seric	   functions.  It is important that you specify both libraries in
73865095Seric	   the given order to be sure you only get the BSTRING functions
73965095Seric	   from the UCB library (and not the signal routines etc.).
74065095Seric
74165095Seric	3) Don't leave out "-lelf" even if compiling with "-lc -lucb".
74265095Seric	   The UCB library also has another copy of the nlist routines,
74365095Seric	   but we do want the ones from "-lelf".
74465095Seric
74565095Seric	If anyone needs a compiled gcc 2.4.5 and/or a ported DB library, they
74665095Seric	can use anonymous ftp to fetch them from lut.fi in the /kim directory.
74765095Seric	They are copies of what I use on grendel.lut.fi, and offering them
74865095Seric	does not imply that I would also support them.  I have sent the DB
74965095Seric	port for SVR4 back to Keith Bostic for inclusion in the official
75065095Seric	distribution, but I haven't heard anything from him as of today.
75165095Seric
75265095Seric	- gcc-2.4.5-svr4.tar.gz	(gcc 2.4.5 and the corresponding libg++)
75365095Seric	- db-1.72.tar.gz	(with source, objects and a installed copy)
75465095Seric
75565095Seric	Cheers
75665095Seric	+ Kim
75765095Seric	--
75865095Seric	 *  Kimmo.Suominen@lut.fi  *  SysVr4 enthusiast at GRENDEL.LUT.FI  *
75965095Seric	*    KIM@FINFILES.BITNET   *  Postmaster and Hostmaster at LUT.FI   *
76065095Seric	 *    + 358 200 865 718    *  Unix area moderator at NIC.FUNET.FI  *
76165095Seric
76267267SericConvexOS 10.1 and below
76367267Seric	In order to use the name server, you must create the file
76467267Seric	/etc/use_nameserver.  If this file does not exist, the call
76567267Seric	to res_init() will fail and you will have absolutely no
76667267Seric	access to DNS, including MX records.
76765095Seric
76864718SericNon-DNS based sites
76964718Seric	This version of sendmail always tries to connect to the Domain
77064718Seric	Name System (DNS) to resolve names, regardless of the setting
77164718Seric	of the `I' option.  On most systems that are not running DNS,
77264718Seric	this will fail quickly and sendmail will continue, but on some
77364718Seric	systems it has a long timeout.  If you have this problem, you
77464718Seric	will have to recompile without NAMED_BIND.  Some people have
77564718Seric	claimed that they have successfully used "OI+USEVC" to force
77664718Seric	sendmail to use a virtual circuit -- this will always time out
77764718Seric	quickly, but also tells sendmail that a failed connection
77864718Seric	should requeue the message (probably not what you intended).
77964718Seric	A future release of sendmail will correct this problem.
78064718Seric
78164250SericBoth NEWDB and NDBM
78264250Seric	If you use both -DNDBM and -DNEWDB, you must delete the module
78364250Seric	ndbm.o from libdb.a and delete the file "ndbm.h" from the files
78464250Seric	that get installed (that is, use the OLD ndbm.h, not the new
78564250Seric	ndbm.h).  This compatibility module maps ndbm calls into DB
78664250Seric	calls, and breaks things rather badly.
78758709Seric
78864559SericGNU getopt
78964559Seric	I'm told that GNU getopt has a problem in that it gets confused
79064559Seric	by the double call.  Use the version in conf.c instead.
79164250Seric
79266350SericBIND 4.9.2 and Ultrix
79367206Seric	If you are running on Ultrix, be sure you read conf/Info.Ultrix
79467206Seric	in the BIND distribution very carefully -- there is information
79567206Seric	in there that you need to know in order to avoid errors of the
79667206Seric	form:
79764559Seric
79866350Seric		/lib/libc.a(gethostent.o): sethostent: multiply defined
79966350Seric		/lib/libc.a(gethostent.o): endhostent: multiply defined
80066350Seric		/lib/libc.a(gethostent.o): gethostbyname: multiply defined
80166350Seric		/lib/libc.a(gethostent.o): gethostbyaddr: multiply defined
80266350Seric
80366350Seric	during the link stage.
80466350Seric
80566350Seric
80664820Seric+--------------+
80764820Seric| MANUAL PAGES |
80864820Seric+--------------+
80964820Seric
81064820SericThe manual pages have been written against the -mandoc macros
81164820Sericinstead of the -man macros.  The latest version of groff has them
81264820Sericincluded.  You can also get a copy from FTP.UU.NET in directory
81364820Seric/systems/unix/bsd-sources/share/tmac.
81464820Seric
81564820Seric
81665151Seric+-----------------+
81765151Seric| DEBUGGING HOOKS |
81865151Seric+-----------------+
81965151Seric
82065151SericAs of 8.6.5, sendmail daemons will catch a SIGUSR1 signal and log
82165151Sericsome debugging output (logged at LOG_DEBUG severity).  The
82265151Sericinformation dumped is:
82365151Seric
82465151Seric * The value of the $j macro.
82565151Seric * A warning if $j is not in the set $=w.
82665151Seric * A list of the open file descriptors.
82765151Seric * The contents of the connection cache.
82865151Seric * If ruleset 89 is defined, it is evaluated and the results printed.
82965151Seric
83065151SericThis allows you to get information regarding the runtime state of the
83165151Sericdaemon on the fly.  This should not be done too frequently, since
83265151Sericthe process of rewriting may lose memory which will not be recovered.
83365151SericAlso, ruleset 89 may call non-reentrant routines, so there is a small
83465151Sericnon-zero probability that this will cause other problems.  It is
83565151Sericreally only for debugging serious problems.
83665151Seric
83765151SericA typical formulation of ruleset 89 would be:
83865151Seric
83965151Seric	R$*		$@ $>0 some test address
84065151Seric
84165151Seric
84264035Seric+-----------------------------+
84364035Seric| DESCRIPTION OF SOURCE FILES |
84464035Seric+-----------------------------+
84564035Seric
8469881SericThe following list describes the files in this directory:
8475369Seric
84857418SericMakefile	The makefile used here; this version only works with
84957418Seric		the new Berkeley make.
85057418SericMakefile.dist	A trimmed down version of the makefile that works with
85157418Seric		the old make.
8525369SericREAD_ME		This file.
85360565SericTRACEFLAGS	My own personal list of the trace flags -- not guaranteed
85460565Seric		to be particularly up to date.
8555369Sericalias.c		Does name aliasing in all forms.
8569881Sericarpadate.c	A subroutine which creates ARPANET standard dates.
8579881Sericclock.c		Routines to implement real-time oriented functions
8589881Seric		in sendmail -- e.g., timeouts.
8595369Sericcollect.c	The routine that actually reads the mail into a temp
8605369Seric		file.  It also does a certain amount of parsing of
8615369Seric		the header, etc.
8625369Sericconf.c		The configuration file.  This contains information
8635369Seric		that is presumed to be quite static and non-
8645369Seric		controversial, or code compiled in for efficiency
8655369Seric		reasons.  Most of the configuration is in sendmail.cf.
8669881Sericconf.h		Configuration that must be known everywhere.
8675369Sericconvtime.c	A routine to sanely process times.
8689881Sericdaemon.c	Routines to implement daemon mode.  This version is
8699881Seric		specifically for Berkeley 4.1 IPC.
8705369Sericdeliver.c	Routines to deliver mail.
87160565Sericdomain.c	Routines that interface with DNS (the Domain Name
87260565Seric		System).
8735369Sericerr.c		Routines to print error messages.
8749881Sericenvelope.c	Routines to manipulate the envelope structure.
8755369Sericheaders.c	Routines to process message headers.
8765369Sericmacro.c		The macro expander.  This is used internally to
8775369Seric		insert information from the configuration file.
8785369Sericmain.c		The main routine to sendmail.  This file also
8795369Seric		contains some miscellaneous routines.
88060565Sericmap.c		Support for database maps.
88160565Sericmci.c		Routines that handle mail connection information caching.
8829881Sericparseaddr.c	The routines which do address parsing.
8835369Sericqueue.c		Routines to implement message queueing.
8845369Sericreadcf.c	The routine that reads the configuration file and
8855369Seric		translates it to internal form.
8869881Sericrecipient.c	Routines that manipulate the recipient list.
8875369Sericsavemail.c	Routines which save the letter on processing errors.
8885369Sericsendmail.h	Main header file for sendmail.
8895369Sericsrvrsmtp.c	Routines to implement server SMTP.
8905369Sericstab.c		Routines to manage the symbol table.
8915369Sericstats.c		Routines to collect and post the statistics.
8925369Sericsysexits.c	List of error messages associated with error codes
8935369Seric		in sysexits.h.
8949881Serictrace.c		The trace package.  These routines allow setting and
8959881Seric		testing of trace flags with a high granularity.
89660565Sericudb.c		The user database interface module.
8975369Sericusersmtp.c	Routines to implement user SMTP.
8985369Sericutil.c		Some general purpose routines used by sendmail.
89960565Sericversion.c	The version number and information about this
90060565Seric		version of sendmail.  Theoretically, this gets
90160565Seric		modified on every change.
9025369Seric
9035369SericEric Allman
9045369Seric
905*68067Seric(Version 8.74, last update 12/09/94 07:05:13)
906