Re: [vchkpw] pop3 error

2005-03-14 Thread Jeremy Kitchen
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 \
> 2>&1

you can't daisy chain checkpassword modules like that.

-Jeremy

-- 
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc.
[EMAIL PROTECTED] ++ inter7.com ++ 866.528.3530 ++ 815.776.9465 int'l
  kitchen @ #qmail #gentoo on EFnet IRC ++ scriptkitchen.com/qmail
 GnuPG Key ID: 481BF7E2 ++ jabber:[EMAIL PROTECTED]


pgptohr23vuH8.pgp
Description: PGP signature


Re: [vchkpw] Maildrop failures with vdelivermail

2005-03-14 Thread Jeremy Kitchen
On Sunday 13 March 2005 12:58 pm, Paul Oehler wrote:
> I've seen Jeremy Kitchen post to the maildrop list, which makes me hopeful
> that the Inter7 folks may be running Maildrop + vdelivermail internally. 

no, I run maildrop on my system account on my mail server.

-Jeremy

-- 
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc.
[EMAIL PROTECTED] ++ inter7.com ++ 866.528.3530 ++ 815.776.9465 int'l
  kitchen @ #qmail #gentoo on EFnet IRC ++ scriptkitchen.com/qmail
 GnuPG Key ID: 481BF7E2 ++ jabber:[EMAIL PROTECTED]


pgpWsUafjwgtI.pgp
Description: PGP signature


[vchkpw] vcalias not compiling

2005-03-14 Thread Ron Culler
vpopmail-5.4.8

Get the following messages

vcalias.c: In function `main':
vcalias.c:73: `MYSQL_DATABASE' undeclared (first use in this function)
vcalias.c:73: (Each undeclared identifier is reported only once
vcalias.c:73: for each function it appears in.)



-- 
Ron Culler




Re: [vchkpw] vcalias not compiling

2005-03-14 Thread Tom Collins
On Mar 14, 2005, at 7:35 AM, Ron Culler wrote:
Get the following messages
vcalias.c: In function `main':
vcalias.c:73: `MYSQL_DATABASE' undeclared (first use in this function)
vcalias.c:73: (Each undeclared identifier is reported only once
vcalias.c:73: for each function it appears in.)
I guess we need to remove that program -- it hasn't been kept up to 
date.

Unfortunately, I didn't know it existed when I wrote dotqmail2valias.  
Please use dotqmail2valias instead.

--
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-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 \
   2>&1
   

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


Re: [vchkpw] using vchkpw with inn 2.4.2

2005-03-14 Thread Jeremy Kitchen
On Monday 14 March 2005 04:04 pm, Claas Langbehn wrote:
> Hello!
>
>
> I would like to allow my vpopmail users to connect to my news server
> with their username/password.

ok

> inn's reader.conf can use an auth program to authenticate the user.
> Can I somehow use vchkpw for this?

perhaps.  I would ask them.  Also, since vchkpw is a checkpassword-compliant 
program, check out the checkpassword interface documentation at 
http://cr.yp.to/checkpwd/interface.html

-Jeremy

-- 
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc.
[EMAIL PROTECTED] ++ inter7.com ++ 866.528.3530 ++ 815.776.9465 int'l
  kitchen @ #qmail #gentoo on EFnet IRC ++ scriptkitchen.com/qmail
 GnuPG Key ID: 481BF7E2 ++ jabber:[EMAIL PROTECTED]


pgpJRcVB5oIzG.pgp
Description: PGP signature


Re: [vchkpw] using vchkpw with inn 2.4.2

2005-03-14 Thread Jeremy Kitchen
On Monday 14 March 2005 05:22 pm, Claas Langbehn wrote:
> Jeremy Kitchen wrote:
>
>
> Hello!
>
> > > I would like to allow my vpopmail users to connect to my news server
> > > with their username/password.
> >
> > ok
> >
> > > inn's reader.conf can use an auth program to authenticate the user.
> > > Can I somehow use vchkpw for this?
> >
> > perhaps.  I would ask them.  Also, since vchkpw is a
> > checkpassword-compliant program, check out the checkpassword interface
> > documentation at
> > http://cr.yp.to/checkpwd/interface.html
>
> Okay, I found out, that inn passes these lines:
>
> ClientAuthname: user\r
> ClientPassword: pass\r
>
> to the authenticator program. Even though you pointed me to
> http://cr.yp.to/checkpwd/interface.html I have problems to write a shell
> wrapper to chkpw. Maybe you can give me a hint, how I can use vchkpw
> from a shell script. In particular, how I feed vchkpw with username and
> password.
>
> I tried
>
> echo -e $USERNAME\0$PASSWORD\0$TIMESTAMP\0 | vchkpw
>
> but with no success.

http://qmailwiki.org/Qmail-checkpassword has a documented method of how to 
test your checkpassword program via command line.. perhaps it can give you a 
starting point.

-Jeremy

-- 
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc.
[EMAIL PROTECTED] ++ inter7.com ++ 866.528.3530 ++ 815.776.9465 int'l
  kitchen @ #qmail #gentoo on EFnet IRC ++ scriptkitchen.com/qmail
 GnuPG Key ID: 481BF7E2 ++ jabber:[EMAIL PROTECTED]


pgpKs0lz6UrIp.pgp
Description: PGP signature


[vchkpw] 5.3.19 Upgrade - Suggestions on making it as painless as possible.

2005-03-14 Thread Michael Bellears
Just wondering if anyone has upgraded (relatively painlessly!) from
5.3.19 (qmail-1.03, Bill Shupps qmail-toaster-0.4.2.patch, MySQL) ->
5.4.9 (Basing install on http://www.shupp.org/toaster/, but will be
using MySQL)?

Any gotchas/hints would be greatly appreciated.

Regards,
MB



Re: [vchkpw] 5.3.19 Upgrade - Suggestions on making it as painless as possible.

2005-03-14 Thread Tom Collins
On Mar 14, 2005, at 6:55 PM, Michael Bellears wrote:
Just wondering if anyone has upgraded (relatively painlessly!) from
5.3.19 (qmail-1.03, Bill Shupps qmail-toaster-0.4.2.patch, MySQL) ->
5.4.9 (Basing install on http://www.shupp.org/toaster/, but will be
using MySQL)?
Any gotchas/hints would be greatly appreciated.
Start reading the ChangeLog entries for 5.3.20 and work your way up to 
5.4.9.

One significant change that I know of (off the top of my head) is that 
the MySQL connection parameters are now stored in a file.

--
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