From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078620310467.tru64-unix-managers.marc@archive.invalid> From: Tim Winders Date: Tue, 16 Dec 1997 06:10:14 +0000 To: tru64-unix-managers Subject: SUMMARY: making sendmail 'makemap' X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078620310467 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 Steve VanDevender Martin Mokrejs Juan Gallego 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 | ---------------------------------------------------------------------