[vchkpw] POP3 authentication doesnt work for virtual accounts

2004-05-11 Thread Patrick Donker
Hi peeps,

Yesterday I managed to get imap authentication working for virtual 
accounts, but now I tried to connect through pop3, but I keep on getting 
authentication errors. I assume it is a similair problem as with imap auth.
Can anybody tell me how to get this working? I'm sure that I can get it 
to work on my own, but the last time it took me 2 days before I figured 
it out and I assume that people here on this list have encountered 
similair problems before.
Here is my pop3 run file:
#!/bin/sh
env - PATH=/var/qmail/bin:/usr/local/bin \
exec softlimit -m 200tcpserver -u 89 -g 89 -v -H -R -l 0 0 110 \
   /var/qmail/bin/qmail-popup FQDM \
   /server/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 

Is this a good way to get it working?
Any help is most welcomed as I need to get my server working asap.
TIA
-Patrick


Re: [vchkpw] POP3 authentication doesnt work for virtual accounts

2004-05-11 Thread Jeremy Kitchen
On Tuesday 11 May 2004 09:04 am, Patrick Donker wrote:
[snip can't authenticate with pop]

 Here is my pop3 run file:
 #!/bin/sh
 env - PATH=/var/qmail/bin:/usr/local/bin \
 exec softlimit -m 200tcpserver -u 89 -g 89 -v -H -R -l 0 0 110 \
 /var/qmail/bin/qmail-popup FQDM \
 /server/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 

you have to run that as root.  checkpassword modules setuid to the proper user 
and then call their arguments.

It could however, also be two or 3 other things, including softlimit, but you 
didn't show us anything (logs, example telnet session, etc) that could help 
us otherwise.

-Jeremy

-- 
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc.
  [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 847.492.0470 int'l
kitchen @ #qmail #gentoo on EFnet ++ scriptkitchen.com/qmail



Re: [vchkpw] POP3 authentication doesnt work for virtual accounts

2004-05-11 Thread Patrick Donker




Jeremy Kitchen wrote:

  On Tuesday 11 May 2004 09:04 am, Patrick Donker wrote:
[snip can't authenticate with pop]

  
  
Here is my pop3 run file:
#!/bin/sh
env - PATH="/var/qmail/bin:/usr/local/bin" \
exec softlimit -m 200tcpserver -u 89 -g 89 -v -H -R -l 0 0 110 \
/var/qmail/bin/qmail-popup FQDM \
/server/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 

  
  
you have to run that as root.  checkpassword modules setuid to the proper user 
and then call their arguments.

It could however, also be two or 3 other things, including softlimit, but you 
didn't show us anything (logs, example telnet session, etc) that could help 
us otherwise.

-Jeremy

  

Jeremy, I guess cosmic radiation made it work again after a reboot.
Dont ask me why, it just does