Well. Something went wrong along the road. Let me try to descibe the
installation.
This is on an OpenBSD-2.7-generic box.
I unpacked, compiled and did "make" as the user courier.
(./configure --prefix=/home/courier --with-db=db --with-mailuser=courier
--with-mailgroup=courier --enable-workarounds-for-imap-client-bugs
--with-userdb --enable-mimetypes=/var/www/conf/mime.types)
I removed the old installation (rm -Rf /home/courier) and did a "make
install" as root from the source dir.
Courier, imapd, esmtpd all starts fine after the install.
Here comes the wierd things. This is from the $prefix/sbin/makeuserdb (the
_only_ makeuserdb on the system):
$dbfile="yes";
$datfile="yes.dat";
$lockfile="yes.lock";
$shadowfile="yesshadow.dat";
$tmpdir="yes";
$tmpdatfile="$tmpdir/userdb.tmp";
$tmpshadowfile="$tmpdir/userdbshadow.tmp";
$makedat="/home/courier/libexec/courier/makedatprog";
This is my $prefix/etc dir:
# ls -l | grep yes
drwx------ 2 root bin 512 Oct 2 08:49 yes
-rw-r--r-- 1 root bin 3584 Oct 2 08:49 yes.dat
-rw-r--r-- 1 root bin 0 Oct 2 00:28 yes.lock
-rw------- 1 root bin 2048 Oct 2 08:49 yesshadow.dat