atom feed7 messages in net.sourceforge.lists.courier-usersRE: [courier-users] smtp userdb looku...
FromSent OnAttachments
Mark NellemannOct 1, 2000 4:42 pm 
Mark NellemannOct 1, 2000 11:55 pm 
Jan MachOct 2, 2000 7:22 am 
Jan MachOct 3, 2000 10:32 am 
timOct 3, 2000 1:43 pm 
Kris KelleyOct 3, 2000 2:51 pm 
Chris GreenOct 4, 2000 12:37 am 
Subject:RE: [courier-users] smtp userdb lookup problem with 0.28
From:Mark Nellemann (MS@drs.telia.dk)
Date:Oct 1, 2000 11:55:22 pm
List:net.sourceforge.lists.courier-users

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