Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Oct 2021 03:52:41 +0900 (JST)
From:      Yasuhiro Kimura <yasu@FreeBSD.org>
To:        herbert@mailbox.org
Cc:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   Re: git: d356121270d7 - main - mail/postfix{,-ldap-sasl,-sasl}: Flavorize
Message-ID:  <20211029.035241.1853772531382636301.yasu@FreeBSD.org>
In-Reply-To: <87cznpjach.wl-herbert@mailbox.org>
References:  <202110280007.19S07MMW076891@gitrepo.freebsd.org> <87cznpjach.wl-herbert@mailbox.org>

next in thread | previous in thread | raw e-mail | index | archive | help
From: "Herbert J. Skuhra" <herbert@mailbox.org>
Subject: Re: git: d356121270d7 - main - mail/postfix{,-ldap-sasl,-sasl}: Flavorize
Date: Thu, 28 Oct 2021 20:03:10 +0200

> Hi,
> 
> I had to postmap all my hash files because of "inappropriate file type
> or format" error. The file format changed from "Berkeley DB (Btree,
> version 9, native byte-order)" to "Berkeley DB 1.85". Is this expected?
> 
> In both cases ldd (e.g. postfix, postmap) lists libdb-5.3.so.0?
> 
> --
> Herbert

On my home server hash files were last modified on April 14th.

----------------------------------------------------------------------
yasu@eastasia[3604]% LANG=C ls -lc /etc/mail/aliases.db /usr/local/etc/postfix/mailbox_commands.db                   ~
-rw-r-----  1 root  wheel  131072 Apr 14  2021 /etc/mail/aliases.db
-rw-r--r--  1 root  wheel  131072 Apr 14  2021 /usr/local/etc/postfix/mailbox_commands.db
----------------------------------------------------------------------

And they are "Berkeley DB 1.85 (Hash, version 2, native byte-order)".

----------------------------------------------------------------------
yasu@eastasia[3605]% LANG=C file /etc/mail/aliases.db /usr/local/etc/postfix/mailbox_commands.db
/etc/mail/aliases.db:                       Berkeley DB 1.85 (Hash, version 2, native byte-order)
/usr/local/etc/postfix/mailbox_commands.db: Berkeley DB 1.85 (Hash, version 2, native byte-order)
----------------------------------------------------------------------

According to Bugzilla, I submitted first version of my patch on May
6th. Perhaps I created the patch a few days before that.

That is, on my environment hash files are "Berkeley DB 1.85 (Hash,
version 2, native byte-order)" before I created the patch and applied
it to my home server.

As for the output of ldd, libdb-??.so isn't listed.

----------------------------------------------------------------------
yasu@eastasia[3607]% LANG=C ldd /usr/local/sbin/postfix | fgrep libdb
yasu@eastasia[3608]% LANG=C ldd /usr/local/sbin/postmap | fgrep libdb
----------------------------------------------------------------------

Is there any customization setting about either postfix or berkeley db
in your make.conf? There is 'DEFAULT_VERSIONS+=bdb=18' in my make.conf
but it doesn't seem to affect to postfix.

---
Yasuhiro Kimura



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20211029.035241.1853772531382636301.yasu>