Greetings!
I've recently been working on a FreeBSD install from 12.0 to 12.2.. This OS/HW instance supports several jails, one is dedicated to my postfix/dovecot mailhost.
After futzing with various version changes to various settings.. (god, cant we just leave things alone for a bit?) Anyway, mail is floowing, logs are clear of errors, everything SEEMS to be happy here except for ONE LITTLE THING.. I can't expand my SASL password database using postmap..
I'm readying to flip DNS providers, thus upstream MX store and forward servers, so, new usernames and passwords for the SASL logins..
Can't get it to work - totally stumped..
The files suggest they are Berkely DB:
When I compile and install postfix, I DEFINITELY select the bdb support option checked..
I then compile and install without error, turn on, mail flows - we're VERY happy..
But then I try to update the SASL passwd file and again, no BDB support! Okay, why not, it was RIGHT THERE, VERY FIRST LINE. Checked YES. Let's see, okay, postconf -m will show us the supported map types:
AND, oddly enough, bdb is installed?
I'm totally confused.. All I want to do is update a BDB password file, then gernate a BDB db,pag and dir file from it...
Thanks for any suggestions!
-ET-
I've recently been working on a FreeBSD install from 12.0 to 12.2.. This OS/HW instance supports several jails, one is dedicated to my postfix/dovecot mailhost.
After futzing with various version changes to various settings.. (god, cant we just leave things alone for a bit?) Anyway, mail is floowing, logs are clear of errors, everything SEEMS to be happy here except for ONE LITTLE THING.. I can't expand my SASL password database using postmap..
I'm readying to flip DNS providers, thus upstream MX store and forward servers, so, new usernames and passwords for the SASL logins..
Can't get it to work - totally stumped..
Code:
[root@mailhost:/usr/local/etc/postfix/sasl]# postmap dbm:/usr/local/etc/postfix/sasl/sasl_passwd
postmap: fatal: unsupported dictionary type: dbm. Is the postfix-dbm package installed?
[root@mailhost:/usr/local/etc/postfix/sasl]#
The files suggest they are Berkely DB:
Code:
[root@mailhost:/usr/local/etc/postfix/sasl]# file *
sasl_passwd: ASCII text
sasl_passwd.db: Berkeley DB (Hash, version 9, native byte-order)
sasl_passwd.dir: empty
sasl_passwd.pag: data
[root@mailhost:/usr/local/etc/postfix/sasl]#
When I compile and install postfix, I DEFINITELY select the bdb support option checked..
Code:
[x] BDB Berkeley DB support
I then compile and install without error, turn on, mail flows - we're VERY happy..
But then I try to update the SASL passwd file and again, no BDB support! Okay, why not, it was RIGHT THERE, VERY FIRST LINE. Checked YES. Let's see, okay, postconf -m will show us the supported map types:
Code:
[root@mailhost:/usr/local/etc/postfix/sasl]# postconf -m
btree
cidr
environ
fail
hash
inline
internal
memcache
mysql
pcre
pipemap
proxy
randmap
regexp
socketmap
static
tcp
texthash
unionmap
unix
[root@mailhost:/usr/local/etc/postfix/sasl]#
AND, oddly enough, bdb is installed?
Code:
[root@mailhost:/usr/ports/mail/postfix-sasl]% pkg info db5
db5-5.3.28_7
Name : db5
Version : 5.3.28_7
Installed on : Wed Dec 9 18:06:19 2020 PST
Origin : databases/db5
Architecture : FreeBSD:12:amd64
Prefix : /usr/local
Categories : databases java
Licenses : SLEEPYCAT
Maintainer : mandree@FreeBSD.org
WWW : https://www.oracle.com/database/berkeley-db/db.html
Comment : Oracle Berkeley DB, revision 5.3
Options :
CRYPTO : on
DEBUG : off
DOCS : on
JAVA : off
L10N : off
SQL : off
TCL : off
Shared Libs provided:
libdb_stl-5.3.so.0
libdb_cxx-5.3.so.0
libdb-5.3.so.0
Annotations :
FreeBSD_version: 1201000
repo_type : binary
repository : FreeBSD
Flat size : 49.2MiB
Description :
Oracle Berkeley DB is a family of open source embeddable databases
that allows developers to incorporate within their applications a
fast, scalable, transactional database engine with industrial grade
reliability and availability. As a result, customers and end-users
will experience an application that simply works, reliably manages
data, can scale under extreme load, but requires no ongoing database
administration. As a developer, you can focus on your application and
be confident that Oracle Berkeley DB will manage your persistence
needs.
WWW: https://www.oracle.com/database/berkeley-db/db.html
[root@mailhost:/usr/ports/mail/postfix-sasl]% >....
I'm totally confused.. All I want to do is update a BDB password file, then gernate a BDB db,pag and dir file from it...
Thanks for any suggestions!
-ET-
Last edited by a moderator: