Don't you hate how people show up on a list with boring installation
questions, which every experienced person probably wouldn't care about
since they've already installed the program successfully?
I know it tires me, which is why I'll be all the more appreciative if
someone here can help me with my boring installation question :-)
I installed qmail, and it works fine. I tried setting up the POP
server, and it's acting funny. When I connect it says "this user has
no $HOME/Maildir", which is false, since the user most definitely has
a Maildir. I start the POP server like this:
tcpserver -H -R -c100 0 pop-3 /var/qmail/bin/qmail-popup \
/bin/checkvpw /var/qmail/bin/qmail-pop3d './Maildir' &
I tried changing './Maildir' to '/home/ianb/Maildir' (the user I'm
connecting as), and it works! I started playing with strace and
putting little bits of code into qmail-pop3d.c and checkpassword.c to
figure out what's going on.
It turns out that qmail-pop3d is being run with uid 0 (root), so it's
trying to change to /root/Maildir (which doesn't exist) -- this is
what I've found through strace (getuid() == 0, $HOME=="/root"). I've
tried it with checkpassword, checkvpw, and checklocalpwd, and they all
have the same behavior. I see that these programs are supposed to
change to the uid of the user that is logging in.
Well, now I'm pretty darned confused. This is on Linux RedHat, mostly
with 6.0 components installed, glibc 2.1.1-6, qmail 1.03 installed
from source.
Ideas would be most appreciated. Thanks.
--
Ian Bicking Colorstudy Web Design
[EMAIL PROTECTED] http://www.colorstudy.com
homepage: http://www.colorstudy.com/ianb
4769 N Talman Ave, Chicago, IL 60625 / (773) 275-7241