Jon,
That's a good point. Perhaps the FAQ should use ~vpopmail/etc/tcp.smtp.cdb
in the example, since that's what ./configure --help defaults to as well.
And, it seems like most people run tcpserver as vpopmail.vchkpw rather than
root.
Thoughts, Ken?
-Bill
Jon Rust writes:
> Thanks Bill. I was afraid that I was going to have to recompile. Oh
> well. FWIW, here's what the FAQ says about enabling roaming user access:
>
> 4. How do I allow roaming users to use our smtp server without
> opening the machine up to everyone on the internet?
>
> Your startup script for the qmail smtp server must use the
> tcpserver -x file command similar to this startup line.
>
> env - PATH="/var/qmail/bin:/usr/local/bin" \
> tcpserver -H -R -x /etc/tcp.smtp.cdb -c20 -u503 -g503 0 smtp \
> /var/qmail/bin/qmail-smtpd 2>&1 > /dev/null &
>
> The FAQ doesn't mention using an alternate cdb file at configure time,
> thought he INSTALL file does. Maybe this has changed since 4.9...
> speaking of which I guess I should upgrade while I'm recompiling anyway.
>
> jon
>
>
> On Wed, Nov 08, 2000 at 07:15:23PM +0000, Bill Shupp wrote:
> >
> > Unless vpopmail is running as root, it can't write to that directory. Make
> > sure you use:
> >
> > --enable-tcpserver-file=~vpopmail/etc/tcp.smtp
> >
> > You may want to use the full path insteat of ~vpopmail...
> >
> > -Bill
> >
> > Jon Rust writes:
> >
> > > When logging in with a valid user I get this message:
> > >
> > > tcprules: fatal: unable to create /etc/tcp.smtp.tmp.80812: access denied
> > > +OK
> > >
> > > It would appear that user vpopmail is attempting to have write access to
> > > /etc. What have I done wrong?
> > >
> > > bash-2.03$ ls -l /etc/tcp*
> > > -rw-r--r-- 1 vpopmail vchkpw 168 Nov 8 10:27 /etc/tcp.smtp
> > > -rw-r--r-- 1 vpopmail vchkpw 3935 Nov 8 10:40 /etc/tcp.smtp.cdb
> > >
> > > (I originally had these set to root:wheel ownership, but tried it this
> > > way as well.)
> > >
> > > This is vpopmail 4.9
> > >
> > > Thanks,
> > > jon
> >
> >
> >