Re: [vchkpw] Authentication failure with qmail-smtpd +auth and vchkpw

2004-11-25 Thread Casey Allen Shobe
On Wed, November 24, 2004 9:32 pm, Casey Allen Shobe said: Upon restarting services, I've found that bincimap authenticates okay, and qmail-send delivers mail... However qmail-smtpd cannot authenticate And neither qmailadmin. So imap and mail delivery work, but qmailadmin and smtp auth don't.

Re: [vchkpw] Authentication failure with qmail-smtpd +auth and vchkpw

2004-11-25 Thread Tom Collins
On Nov 25, 2004, at 5:06 AM, Casey Allen Shobe wrote: On Wed, November 24, 2004 9:32 pm, Casey Allen Shobe said: Upon restarting services, I've found that bincimap authenticates okay, and qmail-send delivers mail... However qmail-smtpd cannot authenticate And neither qmailadmin. So imap and

Re: [vchkpw] Authentication failure with qmail-smtpd +auth and vchkpw

2004-11-25 Thread Casey Allen Shobe
On Thu, November 25, 2004 9:50 am, Tom Collins said: What are the permissions on qmailadmin? -rwsr-sr-x1 vpopmail vchkpw 438385 Aug 26 09:53 qmailadmin Mine was not ug+s, but that would not have changed. I went ahead and chmoded it so that it looked identical to yours, however logins

Re: [vchkpw] Authentication failure with qmail-smtpd +auth and vchkpw

2004-11-25 Thread Tom Collins
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. I don't know how a typical Gentoo install handles ownership. On my install, qmail-smtpd runs as the vpopmail user. If qmail-smtpd can't run vhckpw, it can't

Re: [vchkpw] Authentication failure with qmail-smtpd +auth and vchkpw

2004-11-25 Thread Casey Allen Shobe
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

Re: [vchkpw] Authentication failure with qmail-smtpd +auth and vchkpw

2004-11-25 Thread Casey Allen Shobe
On Thu, November 25, 2004 11:02 am, Casey Allen Shobe said: On Thu, November 25, 2004 9:50 am, Tom Collins said: What are the permissions on qmailadmin? -rwsr-sr-x1 vpopmail vchkpw 438385 Aug 26 09:53 qmailadmin Mine was not ug+s, but that would not have changed. I went ahead and

Re: [vchkpw] Authentication failure with qmail-smtpd +auth and vchkpw

2004-11-25 Thread Erwin Hoffmann
Hi, At 11:02 25.11.04 -0800, Casey Allen Shobe wrote: On Thu, November 25, 2004 9:50 am, Tom Collins said: What are the permissions on qmailadmin? -rwsr-sr-x1 vpopmail vchkpw 438385 Aug 26 09:53 qmailadmin Mine was not ug+s, but that would not have changed. I went ahead and chmoded it

Re: [vchkpw] Authentication failure with qmail-smtpd +auth and vchkpw

2004-11-25 Thread Casey Allen Shobe
On Thu, November 25, 2004 1:33 pm, Erwin Hoffmann said: with the standard SMTP-Auth patch (I don't know which is included in your Gentoo patch) you don't need the hostname in the call of the PAM. Check man qmail-smtpd and read my http://www.fehcom.de/qmail/smtpauth.html Heavy reading..poked

Re: [vchkpw] Authentication failure [RESOLVED]

2004-11-25 Thread Casey Allen Shobe
On Thu, November 25, 2004 1:08 pm, Casey Allen Shobe said: I'll keep digging... Aha, seems that once vchkpw was SUID root, and qmail-smtpd was restarted, everything worked grand. The core of my problem here was that I did not realize chown would remove SUID/SGID bits, and learned the really

[vchkpw] Authentication failure with qmail-smtpd +auth and vchkpw

2004-11-24 Thread Casey Allen Shobe
Hi guys, I had qmail-smtp/smtpauth (standard Gentoo install) working fine with vchkpw previously. I then decided that I needed to change the user ID for vpopmail to get a suexec script working as the vpopmail user... So I stopped qmail, changed the UID and GID from 89 to 1004, and did: find /

[vchkpw] Authentication failure with qmail-smtpd +auth and vchkpw

2004-11-24 Thread Casey Allen Shobe
Hi guys, I had qmail-smtp/smtpauth (standard Gentoo install) working fine with vchkpw previously. I then decided that I needed to change the user ID for vpopmail to get a suexec script working as the vpopmail user... So I stopped qmail, changed the UID and GID from 89 to 1004, and did: find /

Re: [vchkpw] Authentication failure with qmail-smtpd +auth and vchkpw

2004-11-24 Thread Tom Collins
On Nov 24, 2004, at 8:33 PM, Casey Allen Shobe wrote: Could anyone advise me as to what might be going wrong here? Your help is greatly appreciated! Go through /var/qmail/users/assign and update the user and group of every entry to match the new user/group for vpopmail. Run qmail-newu so it

Re: [vchkpw] Authentication failure with qmail-smtpd +auth and vchkpw

2004-11-24 Thread Casey Allen Shobe
On Wed, November 24, 2004 10:20 pm, Tom Collins said: Go through /var/qmail/users/assign and update the user and group of every entry to match the new user/group for vpopmail. Run qmail-newu so it rebuilds the users/cdb file. This looks fine. All uids and gids are 89, which is what I changed

[vchkpw] authentication failure

2004-07-11 Thread Payal Rathod
Hi, I am trying to authenticate against /etc/passwd as well as my regular vpasswd.cdb files. While the latter one is working, the /etc/passwd part is not. My ./configure line was, # ./configure --enable-tcpserver-file=/service/smtpd/tcp --enable-passwd=y --enable-roaming-users=y