On Thu, November 25, 2004 11:38 am, Tom Collins said:
> On Nov 24, 2004, at 9:32 PM, Casey Allen Shobe wrote:
>> find / -group 1004 -print0 | xargs -0 chown 89
> I assume you meant chgrp 89.

You are correct, I typoed when typing the email, not the actual command. 
To verify, I have ensure that there is nothing owned by UID 1004 or GID
1004 on the entire system.

> If qmail-smtpd can't run vhckpw, it can't authenticate.  I'd look into
> why that might be the case.

I temporarily changed qmaild's shell to /bin/bash, su - qmaild'd, and
successfully executed vchkpw:

$ vchkpw
vchkpw-pop3: vchkpw is only for talking with qmail-popup and qmail-pop3d.
It is not for runnning on the command line.

> What is the ownership of the files/directories in /home/vpopmail?

# ls -l /var/vpopmail/     (~vpopmail == /var/vpopmail on gentoo)
drwxr-xr-x 2 root root 784 Nov 25 07:18 bin/
lrwxrwxrwx 1 root root 33 Nov 25 07:18 doc ->
drwxr-xr-x 5 vpopmail vpopmail 352 Nov 25 14:44 domains/
drwxr-xr-x 3 root root 184 Nov 23 07:34 etc/
drwxr-xr-x 2 root root 200 Nov 25 07:18 include/
drwxr-xr-x 2 vpopmail vpopmail 80 Nov 25 07:18 lib/

And before you ask, vpopmail is the normal name for the group on the
gentoo install, as opposed to the more traditional vchkpw.  I'm 90% sure
that permissions and ownerships aren't the problem here, because all I did
was a specific chown which I reversed exactly.  I have a feeling that
there's a UID tucked away in a file someplace.  How can we enable debug
logging for vchkpw or something to give an insight?


Casey Allen Shobe

Reply via email to