Hmm figured this out (Eventually).. basically $HOME wasn't getting passed
to qmail-pop3d.. looking further into it, it was because I missed 'Maildir'
off the end of the tcpserver string.. silly thing took AGES to fix though..
- Stuart
At 03:19 PM 4/6/01 -0400, you wrote:
>Hi I really need some help with this as Its driving me nuts!.
>
>I rebooted my machine and now pop3 doesn't work anymore. (ugh!)..
>
>password checking works (it'll tell me if a password is right or wrong!)..
>so this isnt the problem
>i get errors via pop3 telling me $HOME/Maildir doesn't exist.. (it does)
>I'll show you why now.!
>
>I added in code to vchkpw to show me the shell ENV's HOME,SHELL and USER...
>I get this..
>Apr 6 14:26:49 brain vpopmail[15840]: vchkpw: (stuart) putenv -> USER
>USER=stuart
>Apr 6 14:26:49 brain vpopmail[15840]: vchkpw: (stuart) putenv -> HOME
>HOME=/daemon/vpopmail/domains/inter-ez.net/stuart
>Apr 6 14:26:49 brain vpopmail[15840]: vchkpw: (stuart) putenv ->
>HOME SHELL=NOLOGIN
>
>all seems fine there? ok.
>now to show you permissions..
>(vpopmail is compiled with the group being daemon)
>
>id vpopmail = uid=509(vpopmail) gid=3000(daemon) groups=3000(daemon)
>
>dir permissions..
>dr-xr-x--- 10 root daemon 512 Apr 1 22:49 /daemon
>drwx------ 9 vpopmail daemon 512 Apr 6 15:08 /daemon/vpopmail
>drwx------ 5 vpopmail daemon 512 Mar 31 12:01 /daemon/vpopmail/domains
>drwx------ 9 vpopmail daemon 1024 Apr 6 13:40
>/daemon/vpopmail/domains/inter-ez.net
>
>ls -laR... for stuart..
>drwx------ 3 vpopmail daemon 512 Mar 26 19:35 stuart
>total 3
>drwx------ 3 vpopmail daemon 512 Mar 26 19:35 .
>drwx------ 9 vpopmail daemon 1024 Apr 6 13:40 ..
>drwx------ 5 vpopmail daemon 512 Apr 2 21:24 Maildir
>
>/daemon/vpopmail/domains/inter-ez.net/stuart/Maildir:
>total 7
>drwx------ 5 vpopmail daemon 512 Apr 2 21:24 .
>drwx------ 3 vpopmail daemon 512 Mar 26 19:35 ..
>-rw------- 1 vpopmail daemon 13 Apr 2 21:24 986261066.qw
>drwx------ 2 vpopmail daemon 512 Mar 26 22:57 cur
>drwx------ 2 vpopmail daemon 512 Apr 3 17:10 new
>-rw------- 1 vpopmail daemon 15 Apr 6 13:38 sqwebmail-pass
>drwx------ 2 vpopmail daemon 512 Apr 3 17:08 tmp
>
>/daemon/vpopmail/domains/inter-ez.net/stuart/Maildir/cur:
>total 2
>drwx------ 2 vpopmail daemon 512 Mar 26 22:57 .
>drwx------ 5 vpopmail daemon 512 Apr 2 21:24 ..
>
>/daemon/vpopmail/domains/inter-ez.net/stuart/Maildir/new:
>total 2
>drwx------ 2 vpopmail daemon 512 Apr 3 17:10 .
>drwx------ 5 vpopmail daemon 512 Apr 2 21:24 ..
>
>/daemon/vpopmail/domains/inter-ez.net/stuart/Maildir/tmp:
>total 2
>drwx------ 2 vpopmail daemon 512 Apr 3 17:08 .
>drwx------ 5 vpopmail daemon 512 Apr 2 21:24 ..
>
>from what I can tell, there is absolutely no problem with this, but
>obviously there is.. please help! :)
>
>vpopmail was compiled with...
>./configure --prefix=/daemon/vpopmail --enable-logging=y
>--enable-qmaildir=/daemon/qmail --enable-roaming-users=y
>I even turned off ip-alias-domains incase it was caused by that, but it
>wasn't :(