Instructions to compile sendmail-5.67b+IDA-1.5 on IBM RT running AIX-2.2.1

0) Prerequisites: you need gzip and patch. You also need GNU gdbm installed in
/usr/local (available in binary from ftp-rt.matheth.polymtl.ca in 
/pub/gnu/bin/gdbm-bin.tgz).

1) Get sendmail-5.67b+IDA-1.5.tar.gz from vixen.cso.uiuc.edu:/pub

2) Unarchive sendmail-5.67b and go into this directory.

3) Copy sm-5.67b.diff here. Remove RCS files in directory src (rm -rf src/RCS).

4) Apply the patch (patch < sm-5.67b.diff)

5) Read the file INSTALL.

6) Go the the src directory and edit Makefile. The following directories are AIX
defaults (change if necessary).
LIBDIR = /usr/adm/sendmail
BINDIR = /usr/lib
LINKDIR = /usr/lib
MANDIR = /usr/local/man

WARNING: You MUST save /usr/adm/sendmail and /usr/adm/sendmail.cf, they will be
overwritten.

7) Run make. Su root and run make install.

8) Now go to ida. Edit Makefile according the the directories you have
chosen at step (6) (if you did not change them, then no modification should be
necessary).  Run make.

9) Go to ida/cf. Edit aixrt.m4 and customize it (you MUST change RELAY_HOST and
UUCPNAME). Then run make. Su root and run make install.

10) Check your installation (see INSTALL).

Good luck.


Francois Normant (fn@mathappl.polymtl.ca).
