Re: [vchkpw] pop3 error

2005-03-14 Thread Dan Delaney
Jeremy Kitchen wrote:
On Friday 11 March 2005 02:32 am, Dan D wrote:
 

ok, i just installed vpopmail and everything seems to be working with
imap fine, but i am getting this error when trying to check via pop3
+OK [EMAIL PROTECTED]
user dan
+OK
pass mypass
vchkpw-pop3: vchkpw is only for talking with qmail-popup and
qmail-pop3d. It is
not for runnning on the command line.
-ERR authorization failed
and then the session terminates.
I get the same error when using a mail client
I compiled with ./configure --enable-roaming-users=y --enable-valias=y
and my /service/qmail-pop3d/run has:
#!/bin/sh
exec/usr/local/bin/softlimit -m 200 \
   /usr/local/bin/envdir /etc/relay-ctrl \
   /usr/local/bin/relay-ctrl-chdir \
   /usr/local/bin/tcpserver -v -R -H -l 0 0 110 \
   /var/qmail/bin/qmail-popup \
   idelaney.net \
   /bin/checkpassword \
   /usr/local/bin/relay-ctrl-allow \
   /home/vpopmail/bin/vchkpw \
   /var/qmail/bin/qmail-pop3d Maildir \
   21
   

you can't daisy chain checkpassword modules like that.
-Jeremy
 

Yea, someone showed me that already.  I replaced checkpassword and its 
been working perfect.
thanks!
- Dan


[vchkpw] pop3 error

2005-03-11 Thread Dan D
ok, i just installed vpopmail and everything seems to be working with 
imap fine, but i am getting this error when trying to check via pop3

+OK [EMAIL PROTECTED]
user dan
+OK
pass mypass
vchkpw-pop3: vchkpw is only for talking with qmail-popup and 
qmail-pop3d. It is
not for runnning on the command line.
-ERR authorization failed

and then the session terminates.
I get the same error when using a mail client
I compiled with ./configure --enable-roaming-users=y --enable-valias=y
and my /service/qmail-pop3d/run has:
#!/bin/sh
exec/usr/local/bin/softlimit -m 200 \
   /usr/local/bin/envdir /etc/relay-ctrl \
   /usr/local/bin/relay-ctrl-chdir \
   /usr/local/bin/tcpserver -v -R -H -l 0 0 110 \
   /var/qmail/bin/qmail-popup \
   idelaney.net \
   /bin/checkpassword \
   /usr/local/bin/relay-ctrl-allow \
   /home/vpopmail/bin/vchkpw \
   /var/qmail/bin/qmail-pop3d Maildir \
   21
It works fine before the vchkpw line was put in.
What could be causing this?
- Dan Delaney


Re: [vchkpw] pop3 error

2005-03-11 Thread Dan D
Dan D wrote:
ok, i just installed vpopmail and everything seems to be working with 
imap fine, but i am getting this error when trying to check via pop3

+OK [EMAIL PROTECTED]
user dan
+OK
pass mypass
vchkpw-pop3: vchkpw is only for talking with qmail-popup and 
qmail-pop3d. It is
not for runnning on the command line.
-ERR authorization failed

and then the session terminates.
I get the same error when using a mail client
I compiled with ./configure --enable-roaming-users=y --enable-valias=y
and my /service/qmail-pop3d/run has:
#!/bin/sh
exec/usr/local/bin/softlimit -m 200 \
   /usr/local/bin/envdir /etc/relay-ctrl \
   /usr/local/bin/relay-ctrl-chdir \
   /usr/local/bin/tcpserver -v -R -H -l 0 0 110 \
   /var/qmail/bin/qmail-popup \
   idelaney.net \
   /bin/checkpassword \
   /usr/local/bin/relay-ctrl-allow \
   /home/vpopmail/bin/vchkpw \
   /var/qmail/bin/qmail-pop3d Maildir \
   21
It works fine before the vchkpw line was put in.
What could be causing this?
- Dan Delaney
I also get this when trying to check a virtual domain:
+OK [EMAIL PROTECTED]
user [EMAIL PROTECTED]
+OK
pass mypass
-ERR authorization failed


Re: [vchkpw] pop3 error

2005-03-11 Thread Tom Collins
On Mar 11, 2005, at 12:32 AM, Dan D wrote:
#!/bin/sh
exec/usr/local/bin/softlimit -m 200 \
   /usr/local/bin/envdir /etc/relay-ctrl \
   /usr/local/bin/relay-ctrl-chdir \
   /usr/local/bin/tcpserver -v -R -H -l 0 0 110 \
   /var/qmail/bin/qmail-popup \
   idelaney.net \
   /bin/checkpassword \
   /usr/local/bin/relay-ctrl-allow \
   /home/vpopmail/bin/vchkpw \
   /var/qmail/bin/qmail-pop3d Maildir \
   21
I don't know how the call to relay-ctrl-allow should fit in, but the 
vchkpw line normally replaces the checkpassword line.

My guess is that has something to do with your problems.
--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
You don't need a laptop to troubleshoot high-speed Internet: 
sniffter.com



Re: [vchkpw] pop3 error

2005-03-11 Thread Dan Delaney
I replaced checkpassword, and it worked pertectly for virtual domains, 
but was getting an auth error for real users.

i took a stab and looked at compile options and recompiled with:
./configure --enable-roaming-users=y --enable-valias=y --enable-passwd
[adding the /etc/passwd checking]
now it all works perfect.
thank you!
now to install qmailadmin and this chkusr 2.0 script and i should be in 
business
- Dan Delaney

Tom Collins wrote:
On Mar 11, 2005, at 12:32 AM, Dan D wrote:
#!/bin/sh
exec/usr/local/bin/softlimit -m 200 \
   /usr/local/bin/envdir /etc/relay-ctrl \
   /usr/local/bin/relay-ctrl-chdir \
   /usr/local/bin/tcpserver -v -R -H -l 0 0 110 \
   /var/qmail/bin/qmail-popup \
   idelaney.net \
   /bin/checkpassword \
   /usr/local/bin/relay-ctrl-allow \
   /home/vpopmail/bin/vchkpw \
   /var/qmail/bin/qmail-pop3d Maildir \
   21

I don't know how the call to relay-ctrl-allow should fit in, but the 
vchkpw line normally replaces the checkpassword line.

My guess is that has something to do with your problems.
--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
You don't need a laptop to troubleshoot high-speed Internet: sniffter.com