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_at_stat.Duke.EDU>
Steve VanDevender <stevev_at_hexadecimal.uoregon.edu>
Martin Mokrejs <mmokrejs_at_mail.natur.cuni.cz>
Juan Gallego <Little.Boss_at_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_at_spc.cc.tx.us |
| Network Administrator | Phone: 806-894-9611 x 2369 |
| South Plains College | Fax: 806-897-4711 |
---------------------------------------------------------------------
Received on Tue Dec 16 1997 - 07:10:29 NZDT