Re: [vchkpw] vchkpw works manually but not from vpopmail-authlib

2006-12-01 Thread Michael Richardson

Thanks gents.

Why, oh why, do the logs report vchkpw:  some message if it isn't running
vchkpw... what is a noob to do when his system lies to him?  I can't very
well reprimand it.

Based on your advice of the compile order, I recompiled each package, in
this order:

qmail
vpopmail
couriour-authlib
courier-imap

Whether by compiling them in the correct order, accidentally fixing
permissions, or by grace of God, it works.

Incidentally, how would I discover what user the authdaemond is running as?


[vchkpw] vchkpw works manually but not from vpopmail-authlib

2006-11-30 Thread Michael Richardson

Hello Peeps,

I thought I might drop in and bug you with a problem.  I recently upgraded
my linux packages (including mysql) and now my qmail/vpopmail/imap-courier
setup has stopped working.

When I check my mail, the email client reports Login Failed.  The server
reports:
-
Dec  2 14:13:56 mydomain pop3d-ssl: Connection, ip=[:::71.92.162.12]
Dec  2 14:13:59 mydomain pop3d-ssl: LOGIN FAILED, user=
[EMAIL PROTECTED], ip=[:::71.92.162.12]
Dec  2 14:13:59 mydomain authdaemond: received auth request, service=pop3,
authtype=login
Dec  2 14:13:59 mydomain authdaemond: authvchkpw: trying this module
Dec  2 14:13:59 mydomain authdaemond: vchkpw: user does not exist
Dec  2 14:13:59 mydomain authdaemond: authvchkpw: REJECT - try next module
Dec  2 14:13:59 mydomain authdaemond: FAIL, all modules rejected
-

However, if I run vchkpw manually, it works great:
-
mydomain new # printf [EMAIL PROTECTED] | vchkpw
`which id` 30
uid=89(vpopmail) gid=89(vpopmail)
groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel),11(floppy),20(dialout),26(tape),27(video)

-

And the log reports:
-
Dec  2 15:48:14 mydomain vpopmail[5818]: vchkpw-pop3: (PLAIN) login success
[EMAIL PROTECTED]
-

Additionally, email is going into the account fine.  I just can't check it :
(

I have posted exhaustive details about the config files and system info, if
you are interested:  http://forums.gentoo.org/viewtopic-t-520747.html

Any thoughts on how I might troubleshoot this?  Two days of google, forums,
upgrades and tweaking config vars have not produced a single clue or change
in the behavior.

Thanks, in advance.