*BSD News Article 9430


Return to BSD News archive

Received: by minnie.vk1xwt.ampr.org with NNTP
	id AA5758 ; Fri, 01 Jan 93 01:54:56 EST
Newsgroups: comp.unix.bsd
Path: sserve!manuel.anu.edu.au!munnari.oz.au!spool.mu.edu!agate!dog.ee.lbl.gov!hellgate.utah.edu!fcom.cc.utah.edu!cs.weber.edu!terry
From: terry@cs.weber.edu (A Wizard of Earth C)
Subject: Re: Sendmail problems
Message-ID: <1992Dec30.185932.19414@fcom.cc.utah.edu>
Sender: news@fcom.cc.utah.edu
Organization: Weber State University  (Ogden, UT)
References: <50932@shamash.cdc.com>
Date: Wed, 30 Dec 92 18:59:32 GMT
Lines: 47

In article <50932@shamash.cdc.com> pbd@runyon.cim.cdc.com (Paul Dokas) writes:
>I've been trying to get aliases to work properly with the distributed
>sendmail, but I've run into several problems.
>
>First of all, my alias file is pretty big (300+ aliases), it works great
>on all of the other platforms here (SUN, IBM, HP, SGI), but not on 386BSD.
>When I do a 'sendmail -bi' to initialize the alias dbase, sendmail stops
>with a segmentation fault.  I ran sendmail with gdb and found that it was
>breaking in some of the btree code (from libc).
>
>Ok, no problem get the latest version of the db code and rebuild libc,
>right?  Unfortunately no, the latest version of the db code (from
>okeefe.cs.berkeley.edu) doesn't have R_PUT and a couple of other things
>that the distribution sendmail needs.
>
>So I now have a slight broken sendmail, an old db library and the new db
>library.  Does anyone have any of the following:
>
>  1) working sendmail (patches or full source would be great)
>  2) the latest source for sendmail
>  3) working db routines (patches or source)
>  4) any other useful information...

Someone here (Paul Vixie?  Chris Torek?) posted the new db code here;
it's also available from archives.  I wasn't too interested in it at the
time, but I believe there was also a sendmail using the new db code in
the source tree the new db code came from.  Use archie to look for the
new db code; that's how I found it.  Sorry, but I can't remember the
archive it was on.

The db stuff is admittedly (in the comments) broken and crufty in the btree
code, but ok otherewise.  You really do need the new code.

Hope this helps.


					Terry Lambert
					terry@icarus.weber.edu
					terry_lambert@novell.com
---
Any opinions in this posting are my own and not those of my present
or previous employers.
-- 
-------------------------------------------------------------------------------
                                        "I have an 8 user poetic license" - me
 Get the 386bsd FAQ from agate.berkeley.edu:/pub/386BSD/386bsd-0.1/unofficial
-------------------------------------------------------------------------------