37 messages in net.sourceforge.lists.courier-users[courier-users] Re: Upgrading to 0.31...
FromSent OnAttachments
Adam ShermanJan 31, 2001 1:52 pm 
Sam VarshavchikJan 31, 2001 6:13 pm 
Adam ShermanJan 31, 2001 7:58 pm 
Patrick PriceJan 31, 2001 8:08 pm 
Sam VarshavchikJan 31, 2001 8:18 pm 
Sam VarshavchikJan 31, 2001 8:51 pm 
Patrick PriceJan 31, 2001 9:01 pm 
Patrick PriceJan 31, 2001 9:04 pm 
Sam VarshavchikJan 31, 2001 9:15 pm 
Patrick PriceJan 31, 2001 9:21 pm 
Patrick PriceJan 31, 2001 9:53 pm 
Alexei Batyr'Feb 1, 2001 2:20 am 
Sam VarshavchikFeb 1, 2001 4:46 am 
Sam VarshavchikFeb 1, 2001 5:10 am 
Chris MeadorsFeb 1, 2001 5:20 am 
Sam VarshavchikFeb 1, 2001 5:25 am 
Chris MeadorsFeb 1, 2001 5:38 am 
Alexei Batyr'Feb 1, 2001 5:39 am 
Sam VarshavchikFeb 1, 2001 5:45 am 
Alexei Batyr'Feb 1, 2001 5:49 am 
Adam ShermanFeb 1, 2001 5:57 am 
Adam ShermanFeb 1, 2001 6:24 am 
Adam ShermanFeb 1, 2001 2:36 pm 
Sam VarshavchikFeb 1, 2001 2:43 pm 
Sam VarshavchikFeb 1, 2001 2:43 pm 
Sam VarshavchikFeb 1, 2001 2:43 pm 
Patrick PriceFeb 1, 2001 7:54 pm 
Adam ShermanFeb 1, 2001 8:34 pm 
Scott BiskerFeb 1, 2001 8:55 pm 
Sam VarshavchikFeb 1, 2001 9:14 pm 
Alexei Batyr'Feb 2, 2001 4:13 am 
Sam VarshavchikFeb 2, 2001 4:52 am 
Alexei Batyr'Feb 2, 2001 5:30 am 
Tomas FasthFeb 2, 2001 11:33 am 
Patrick PriceFeb 2, 2001 12:36 pm 
Alexei Batyr'Feb 3, 2001 12:31 am 
Tomas FasthFeb 3, 2001 11:13 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[courier-users] Re: Upgrading to 0.31.0 (gmake)Actions...
From:Sam Varshavchik (mrs@courier-mta.com)
Date:Feb 1, 2001 5:45:27 am
List:net.sourceforge.lists.courier-users

Chris Meadors writes:

On Thu, 1 Feb 2001, Sam Varshavchik wrote:

Ok, that's right. In 0.31, ACCESSFILE should be ACCESSFILE=${sysconfdir}/smtpaccess. I forgot to update the version tag for this setting, so it didn't get updated by install-configure.

I'm going to fix this and build 0.31.1

Check that. The version tag WAS updated in 0.31, so it's correct. Perhaps an updated esmtpd script wasn't installed, for some reason.

I just looked and makesmtpaccess is still there and the man page for it still describes smtpaccess.dat. So how does this work now with ACCESSFILE pointing to a directory?

Both scripts have changed.

makesmtpaccess:

${bindir}/makedat \ -src=${ACCESSFILE} \ -file=${ACCESSFILE}.dat \ -tmp=${ACCESSFILE}.tmp || exit 1

In 0.30's makesmtpaccess, the filename was directly hardcoded:

${bindir}/makedat \ -src=${sysconfdir}/smtpaccess \ -file=${sysconfdir}/smtpaccess.dat \ -tmp=${sysconfdir}/smtpaccess.tmp || exit 1

The esmtpd script in 0.30 picks up smtpaccess like this:

if test "$ACCESSFILE" != "" then if test ! -f "$ACCESSFILE" then ACCESSFILE="" else ACCESSFILE="-access=$ACCESSFILE" fi fi

With ACCESSFILE being smtpaccess.dat.

In 0.31, the script was changed to read this:

if test "${ACCESSFILE}" != "" then if test ! -f "$ACCESSFILE.dat" then ACCESSFILE="" else ACCESSFILE="-access=${ACCESSFILE}.dat" fi fi