* SUMMARY: making sendmail 'makemap'
@ 1997-12-16 6:10 Tim Winders
0 siblings, 0 replies; only message in thread
From: Tim Winders @ 1997-12-16 6:10 UTC (permalink / raw)
To: tru64-unix-managers
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 |
---------------------------------------------------------------------
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1997-12-16 6:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-12-16 6:10 SUMMARY: making sendmail 'makemap' Tim Winders
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox