> On Mon, 19 Apr 1999, Jeff Lush wrote:
>
> > Hello all,
> >
> > I am a bit of a newbie to Unix and installed qmail for the
> first time this
> > weekend on FreeBSD 3.1. Installation and configuration was really very
> > straight forward. In no time I had setup selective relaying for
> my LAN and
> > pop3 with checkpassword (kudos to everyone with documentation on these
> > topics, without you people like me would be lost!). My only problem is:
> >
> > As the FAQs and docs require, I added two lines to my startup script:
> >
> > 1) "tcpserver -R -x/usr/local/etc/tcp.smtp.cdb -u82 -g81 0 smtp
> > /var/qmail/bin/qmail-smtpd &"
> >
> > 2) "tcpserver 0 110 /var/qmail/bin qmail-popup MYHOST \
> > /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir &"
> >
> > I added these into the rc.conf file under /etc.
>
> You don't want to add these there, you want to add them to /var/qmail/rc
> since it has the right environment. Put these lines ABOVE the qmail-start
> line. Then make sure you start qmail using this script as in the INSTALL
> file. You can use rc.local to start it.
I have tried the instructions above and when I restart, sure enough
tcpserver-smtp and tcpserver-popup are running. Tcpserver-smtp as alias and
tcpserver-popup as root; however, something very bizarre has happened. Now
when I attempt to log in with a client, the password for the user is
rejected. I kill the tcpserver-popup process and restart is manually and the
same thing happens.
I have checked the checkpassword file by sending the command with the
instructions found in the INSTALL file in the checkpassword-0.81 directory.
This accepts the user and password with no problems.
The password for the user was appected before adding the commands to the
/var/qmail/rc file.
Any ideas?
Thanks for the help.
Jeff Lush