tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Tim Winders <twinders () spc ! cc ! tx ! us>
To: tru64-unix-managers
Subject: SUMMARY: making sendmail 'makemap'
Date: Tue, 16 Dec 1997 06:10:14 +0000	[thread overview]
Message-ID: <96078620310467.tru64-unix-managers.marc@archive.invalid> (raw)

My original question:

> I have compiled sendmail 8.8.8 for install on my DU4.0b system. However,
> I cannot figure out how to compile the makemap utility.  Does anybody have
> this done and have any pointers on where to head?  Thanks!

Thanks to:
Sean O'Connell <sean@stat.Duke.EDU>
Steve VanDevender <stevev@hexadecimal.uoregon.edu>
Martin Mokrejs <mmokrejs@mail.natur.cuni.cz>
Juan Gallego <Little.Boss@physics.mcgill.ca>

Answer:

change into the sendmail/makemap directory.  Edit Makefile.dist as
appropriate.

On Digital Unix 4.0B:
compile only with -DNEWDB, not -DNDBM, link only against -ldb.
All of them are built in the system from DEC, no need to compile db-1.85.

Then...

make -f Makefile.dist

This will create the makemap utililty and man page.  You will have to put
these where you want...  I was unable to run install on these with the
given Makefile.dist, but that is a minor point.

You also have to know HOW to use the makemap utility.  Specifically, since
the -DNDBM is commented out, you will have to use the -DNEWDB format.  For
my use, I was trying to combile a junk list of blocked domains using the
check_* blocking rules. So:

makemap hash /etc/mail/junk.db < /etc/mail/junk

What this say, is use the hash database format (NEWDB, ie Berkeley DB) to
create the file /etc/mail/junk.db from the text file /etc/mail/junk.  You
also need to make sure your sendmail.cf file knows you are using the hash
format.  The check_* rules I downloaded were defaulting to dbm, which I
had to change.

Thanks again for the help.  If I got any of this wrong, let me know and I
will post a correction.

---------------------------------------------------------------------
|  Tim Winders, CNE              |  Email:  twinders@spc.cc.tx.us   |
|  Network Administrator         |  Phone:  806-894-9611 x 2369     |
|  South Plains College          |  Fax:    806-897-4711            |
---------------------------------------------------------------------

                 reply	other threads:[~1997-12-16  6:10 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox