Hello All,
I have an installation on FreeBSD 3.4-STABLE of Qmail 1.03 + Various patches
including the SMTP-AUTH patch, Courier-IMAP 1.3.10, vpopmail 4.10.32.
Vpopmail works fine with qmail-popup/qmail-pop3d. The Courier-IMAP
authentication works fine with vpopmail.
However, when I try to use vchkpw with the SMTP auth patch, I get the
following error in my system logs:
==8<----
Aug 23 14:23:36 hostname vpopmail[6401]: vchkpw: vpopmail user not found
[EMAIL PROTECTED]:ip.add.re.ss
====8<--
The user is obviously there, as bot POP3 and IMAP authentication are
working. It is reporting the correct user account and domain name, and the
correct IP address in the log.
Here is how I have qmail-smtpd invoked using vchkpw:
tcpserver -v -H -P -R -x /home/vpopmail/etc/tcp.smtp.cdb \
-l $HOST -u $QUSER -g $QGROUP 0 smtp \
/var/qmail/bin/qmail-smtpd $HOST \
/home/vpopmail/bin/vchkpw /bin/true \
/var/qmail/bin/cmd5checkpw /bin/true 2>&1 \
| /var/qmail/bin/splogger smtpd 3 &
Where QUSER=`id -u qmaild`, QGROUP=89, $HOST=hostname.domain.com.
I've looked through the code briefly, but cannot see how it would fail in
this fashion. It's difficult to trace what is happening, as I cannot just
attach a strace/truss monitor and follow the vchkpw children. (Wrapping it
would be difficult, as this is a production machine)
Any thoughts, obvious omissions, or glaring errors?
-j
--
Joseph F. Dries III
Director Information Technology Services
Advanced Logic Systems, Inc.
411B Southgate Court
Mickleton, NJ 08056
v: 856-423-7701
f: 856-423-7737
http://www.advancedlogicsys.com/