Subject: Re: sendmail vs. milter-sender vs. db2/3/4
To: Adrian Portelli <>
From: Gert Doering <>
List: tech-pkg
Date: 01/18/2005 13:33:09

On Tue, Jan 18, 2005 at 11:32:08AM +0000, Adrian Portelli wrote:
> Gert Doering wrote:
> >As far as I understand, db3 is not compatible to db2 or db4 files - but at
> >the same time, milter-sender needs to work on /etc/mail/access.db, which
> >needs to be in a format that sendmail understands (db2 or db4).
> >
> >This seems to be a bug/oversight, but maybe I'm missing something...?
> Well actually AFAIK sendmail can build with db1/2/3/4 so what we 
> probably need to look at doing is modifying the package so that you can 
> select which one you want to use.  With jlam@'s recent work on the DB 
> stuff it's probably a good idea to do this now using the 
> framework if possible.

Without knowing all the details, both approaches sound reasonably to me 
(either the "simple" approach of permitting db1+db3 as well in sendmail, 
or the "elegant" way of doing the db1-db4 selection globally for all 
packages via fragmework).

> Along the same lines I don't know why milter-sender is hardcoded to use 
> just db3.  Will the package work with another db version ?  Their www 
> site seems to be down ATM and the ./configure script _appears_ to look 
> for just generic DB support.

From what I found on
(build instructions at the end), milter-sender should be fairly db-agnostic 
"as long as it's the same version that sendmail/access.db uses".

Some features require DB3 or higher, though (Installation / item "2.").

> I was also going to bump sendmail to 8.13.3 soon so if I get my act 
> together I'll try and integrate this with the update.

Thanks in advance :-)

> >Any ideas?  Maybe the right db* combinations are indeed compatible?
> >
> >What db* version will the in-tree sendmail use (NetBSD-2.0), if any?
> This is stock sendmail with NetBSD-2
> # file /etc/mail/aliases.db
> /etc/mail/aliases.db: Berkeley DB 1.85 (Hash, version 2, native byte-order)

Thanks.  This is compatible to the default pkgsrc build, but will not
work with milter-sender/DB3, then.

> Thanks for pointing this out.

Thanks for your fast response :-)


USENET is *not* the non-clickable part of WWW!
Gert Doering - Munich, Germany                   
fax: +49-89-35655025