The userdb database is different from the rest of the databases. It *must*

be a btree.

PR:		bin/26149
This commit is contained in:
Gregory Neil Shapiro 2001-04-01 22:48:07 +00:00
parent 50ca6ec387
commit 5d312ac168

View File

@ -76,10 +76,10 @@ KILL?= /bin/kill
# exists in the current directory.
#
SENDMAIL_MAP_SRC+= mailertable domaintable bitdomain uucpdomain \
genericstable virtusertable access userdb
genericstable virtusertable access
SENDMAIL_MAP_OBJ=
.for _f in ${SENDMAIL_MAP_SRC}
.for _f in ${SENDMAIL_MAP_SRC} userdb
.if exists(${_f})
SENDMAIL_MAP_OBJ+= ${_f}.db
.endif
@ -98,6 +98,10 @@ ${_f}.db: ${_f}
${MAKEMAP} hash ${.TARGET} < ${.OODATE}
.endfor
userdb.db: userdb
${MAKEMAP} btree ${.TARGET} < ${.OODATE}
#
# The .cf file needs to be recreated if the templates were modified.
#