[comp.mail.sendmail] IDA kit/DBM library

mccrave@kodak.UUCP (Donna McCrave) (01/26/89)

I have been trying to get the IDA sendmail enhancement kit running
on an Ultrix 3.0 system.  The main interest is the nifty extended
aliasing functions that it provides.  Basically, if I can get it to
run properly, I can send mail out onto the Internet from any of
my dozen or so accounts around the plants, and it will always say
From: Donna_McCrave@Kodak.COM.  Of course, an alias must exist
on the machine to forward any incoming mail to my preferred mail box.

The problem is that this feature requires the newer dbm library
than the 4.2BSD system provides.  (If you have access to SunOS 4.0,
the include file is /usr/include/ndbm.h as opposed to the older
version, /usr/include/dbm.h for an idea of the differences).  I
assume that the newer dbm library is part of the 4.3BSD offering,
but I'm not really sure, not being a guru.

So, has anyone ported IDA to the older dbm library?  Is it 
feasible to port the newer dbm library to the machine?  I believe
we have a source license somewhere....

Thanks in advance for any advice.


Donna McCrave
Eastman Kodak
..!{rutgers,rochester}!kodak!mccrave
716-477-9768

treese@athena.mit.edu (Win Treese) (01/26/89)

Problem: Wants to run IDA on Ultrix 3.0, but ndbm is missing.

Either solution is probably feasible, though I haven't yet looked at the
IDA code to make sure.

1) If the IDA code doesn't need to have multiple databases open at one
	time, it's straightforward to modify it to use the old dbm code.
	An example of this is now in the MIT Project Athena Kerberos
	distribution (available from athena-dist.mit.edu by anonymous ftp).
	It has ifdef's to use NDBM or DBM.

2) If you have an AT&T source license, find someone who will give you
	the ndbm code. It compiles and runs without modification on
	Ultrix 3.0.  Then link against it and enjoy.

Win Treese					Cambridge Research Lab
treese@crl.dec.com				Digital Equipment Corporation
Affiliation given for identification purposes only.