the vpopmail library restricts access to the authentication
information unless running as root or the owner of the
virtual domain. 

You need to either run the smtp server as root or 
if all your domains are owned by vpopmail,then run
it as the vpopmail/vchkpw uid/gid

You might also want to update to 4.10.35 or 4.10.34

Ken 

On Thu, 2001-08-23 at 13:59, Joseph F. Dries III wrote:
> 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
> 


Reply via email to