Hello,
        I am having trouble with user authentication. I am running Fedora
Core 5 on a Dell PowerEdge blade server with the latest (as of a
few days ago) versions of qmail, vpopmail, and qmailadmin.
        I can log into qmailadmin just fine through Apache and I have
added a virtual domain and some virtual users. This is reflected
in my /var/qmail/ rchphosts and virtualdomain files. It is also
reflected in /home/vpopmail/.
        The passwords for various users work in vpopmail but no where
else. I have tried telnetting to port 110 on the box and applying
crudentials but it always reports:

-ERR authorization failed

        Here are my run scripts. Let me know what other information you
require. It may be important to note that this box does not have a
FQHN, instead, I have lied to it that it's name is
"stormtrooper.ucdavis.edu", when there is in actuality another box
with that name (our old mail server). I cannot give it that proper
name until this box works, because we support hundreds of users
and cannot have an e-mail downage. The new blade's hostname is
stormtrooper and if I ping that name according to the box it
thinks it's 127.0.0.1, so I _think_ it's not a problem.

/service/qmail-pop3d/run:
#!/bin/sh
exec /usr/local/bin/softlimit -m 2000000 \
    /usr/local/bin/tcpserver -v -R -H -l 0 0 110 /var/qmail/bin/qmail-popup \
        localhost /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d
Maildir 2>&1

/service/qmail-send/run:
#!/bin/sh
exec /var/qmail/rc

/service/qmail-smtpd/run:
#!/bin/sh
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
LOCAL=`head -1 /var/qmail/control/me`
if [ -z "$QMAILDUID" -o -z "$NOFILESGID" -o -z "$MAXSMTPD" -o -z "$LOCAL"
]; then
echo QMAILDUID, NOFILESGID, MAXSMTPD, or LOCAL is unset in
echo /var/qmail/supervise/qmail-smtpd/run
exit 1
fi
if [ ! -f /var/qmail/control/rcpthosts ]; then
echo "No /var/qmail/control/rcpthosts!"
echo "Refusing to start SMTP listener because it'll create an open relay"
exit 1
fi
exec /usr/local/bin/softlimit -m 2000000 \
/usr/local/bin/tcpserver -v -R -l "$LOCAL" -x /etc/tcp.smtp.cdb -c
"$MAXSMTPD" \
-u "$QMAILDUID" -g "$NOFILESGID" 0 smtp /var/qmail/bin/qmail-smtpd 2>&1

I appreciate any help.

Chris Thielen
Network Programmer
Creative Media
http://creativemedia.ucdavis.edu/

Reply via email to