Re: [vchkpw] Courier and vipmap

2003-12-11 Thread Jim L.
I have just tested vipmap with the latest versions of vpopmail and
courier-imap and it still is not working for me. Also, I did not mention it
before, but I am not getting any vlog entries. In fact, the table does not
even get created in MySQL.

I have built a sandbox using Mandrake 9.2 which makes it much easier to run
tests. If there is anything else I can do to help, please let me know.

vpopmail 5.4.0-pre1 build
--
./configure \
  --enable-roaming-users \
  --enable-relay-clear-minutes=60 \
  --enable-ip-alias-domains \
  --enable-mysql \
  --enable-auth-logging \
  --enable-mysql-logging

Tested with and without '/home/vpopmail/etc/defaultdomain' file.

courier-imap 2.2.1 build
--
export CFLAGS=-DHAVE_OPEN_SMTP_RELAY -DHAVE_VLOGAUTH
./configure \
  --disable-root-check \
  --with-redhat \
  --without-authpam \
  --without-authldap \
  --without-authpwd \
  --without-authmysql \
  --without-authpgsql \
  --without-authshadow \
  --without-authuserdb \
  --without-authcustom \
  --without-authcram \
  --without-authdaemon \
  --with-authvchkpw \
  --with-ssl


Jim L.
[EMAIL PROTECTED]



- Original Message - 
From: Tom Collins [EMAIL PROTECTED]
To: vpopmail list 
Sent: Wednesday, November 26, 2003 11:34 AM
Subject: Re: [vchkpw] Courier and vipmap


 On Friday, November 21, 2003, at 11:24  AM, Jim L. wrote:
  HELP!  I have been working with this for the last three days and I am
  out of
  ideas. I cannot get ip-alias-domains to work. I have mapped a domain
  to an
  IP address using vipmap.

 Can someone confirm that vipmap works for them with the current version
 of vpopmail?  If it's broken for everyone, we need to find the cause
 and fix it before the 5.4 release.

 --
 Tom Collins  -  [EMAIL PROTECTED]
 QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
 Info on the Sniffter hand-held Network Tester: http://sniffter.com/







Re: [vchkpw] Courier and vipmap

2003-11-26 Thread Tom Collins
On Friday, November 21, 2003, at 11:24  AM, Jim L. wrote:
HELP!  I have been working with this for the last three days and I am 
out of
ideas. I cannot get ip-alias-domains to work. I have mapped a domain 
to an
IP address using vipmap.
Can someone confirm that vipmap works for them with the current version 
of vpopmail?  If it's broken for everyone, we need to find the cause 
and fix it before the 5.4 release.

--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter hand-held Network Tester: http://sniffter.com/



Re: [vchkpw] Courier and vipmap

2003-11-26 Thread Michael Bowe
- Original Message - 
From: Tom Collins [EMAIL PROTECTED]
To: vpopmail list [EMAIL PROTECTED]
Sent: Thursday, November 27, 2003 3:34 AM
Subject: Re: [vchkpw] Courier and vipmap


 On Friday, November 21, 2003, at 11:24  AM, Jim L. wrote:
  HELP!  I have been working with this for the last three days and I am 
  out of
  ideas. I cannot get ip-alias-domains to work. I have mapped a domain 
  to an
  IP address using vipmap.
 
 Can someone confirm that vipmap works for them with the current version 
 of vpopmail?  If it's broken for everyone, we need to find the cause 
 and fix it before the 5.4 release.

I ran some tests on it the other day after seeing this post,
and it appeared to work OK as far as I could see (POP3)

Its not going to work from Courier though I wouldn't think.
Courier doesn't use the vchkpw code when it auth's a user.
What it does is :
take the username/password supplied by the user,
runs vauth_getpw() to retrieve that user's passwd entry,
runs a crypts the password supplied by the user,
compares the crypted pass against the pass in the pwent.
If it matches then auth is successful, else declared a failure.

Michael.




Re: [vchkpw] Courier and vipmap

2003-11-26 Thread Jim L.
That was one of the questions that I had regarding vipmap. Since I am using
the authvchkpw module in Courier, I thought that vipmap would work. Since
vpopmail seems geared toward using Courier-IMAP, if certain features are not
compatible, it would be helpful it that information was documented
somewhere.

If vipmap, in fact, does not work with Courier-IMAP, is there a POP3 and
IMAP solution that does work with vipmap?

Thanks,

Jim L.
[EMAIL PROTECTED]



- Original Message - 
From: Michael Bowe [EMAIL PROTECTED]
To: vpopmail list [EMAIL PROTECTED]
Sent: Wednesday, November 26, 2003 2:59 PM
Subject: Re: [vchkpw] Courier and vipmap


 - Original Message - 
 From: Tom Collins [EMAIL PROTECTED]
 To: vpopmail list [EMAIL PROTECTED]
 Sent: Thursday, November 27, 2003 3:34 AM
 Subject: Re: [vchkpw] Courier and vipmap


  On Friday, November 21, 2003, at 11:24  AM, Jim L. wrote:
   HELP!  I have been working with this for the last three days and I am
   out of
   ideas. I cannot get ip-alias-domains to work. I have mapped a domain
   to an
   IP address using vipmap.
 
  Can someone confirm that vipmap works for them with the current version
  of vpopmail?  If it's broken for everyone, we need to find the cause
  and fix it before the 5.4 release.

 I ran some tests on it the other day after seeing this post,
 and it appeared to work OK as far as I could see (POP3)

 Its not going to work from Courier though I wouldn't think.
 Courier doesn't use the vchkpw code when it auth's a user.
 What it does is :
 take the username/password supplied by the user,
 runs vauth_getpw() to retrieve that user's passwd entry,
 runs a crypts the password supplied by the user,
 compares the crypted pass against the pass in the pwent.
 If it matches then auth is successful, else declared a failure.

 Michael.







Re: [vchkpw] Courier and vipmap

2003-11-21 Thread Jim L.
I tried this in the past and I just tried it again. It does not help. I am
not putting worldnetoh.com in this file because it is not my default domain.
It is simply a virtual domain which needs to be mapped to an IP. Unless I am
supposed to put every domain which I vipmap into this file, then I have it
set correctly. There is nothing in the docs about doing this. Everything I
have found indicates that this file should contain one domain which is
usually the primary domain of the server.

Jim L.
[EMAIL PROTECTED]


- Original Message - 
From: Juan Hernandez [EMAIL PROTECTED]
To: Jim L. [EMAIL PROTECTED]
Sent: Friday, November 21, 2003 1:34 PM
Subject: Re: [vchkpw] Courier and vipmap


 Did put the default host name in ~vpopmail/defaultdomain?

 Juan

 On Fri, 2003-11-21 at 14:24, Jim L. wrote:
  HELP!  I have been working with this for the last three days and I am
out of
  ideas. I cannot get ip-alias-domains to work. I have mapped a domain to
an
  IP address using vipmap.
 
  vipmail -a 66.94.78.22 worldnetoh.com
 
  Then I telnet to the server and try to authenticate.
 
  telnet 66.94.78.22 110
  Trying 66.94.78.22...
  Connected to 66.94.78.22 (66.94.78.22).
  Escape character is '^]'.
  +OK Hello there.
  user jdl
  +OK Password required.
  pass test123
  -ERR Login failed.
 
  But it works using the full e-mail address.
 
  telnet 66.94.78.22 110
  Trying 66.94.78.22...
  Connected to 66.94.78.22 (66.94.78.22).
  Escape character is '^]'.
  +OK Hello there.
  user [EMAIL PROTECTED]
  +OK Password required.
  pass test123
  +OK logged in.
 
  I have read all of the posts I can find and tried everything I can think
of,
  but still nothing. Can anyone help or at least tell me if this works
with
  Courier.
 
  [Specs]
 
  vpopmail -- Currently running 5.3.30.  Also tried versions 5.3.4 
5.3.29.
 
  Build options:
 
  ./configure \
  --enable-ip-alias-domains=y \
  --enable-roaming-users=y \
  --enable-relay-clear-minutes=60 \
  --enable-md5-passwords=y \
  --enable-auth-logging=y \
  --enable-mysql-logging=y \
  --enable-logging=y \
  --enable-mysql=y
 
 
  courier-imap -- Currently running 2.2.0. Also tried 1.6.1.
 
  Build options:
 
  ./configure \
  --disable-root-check \
  --without-authpam \
  --without-authldap \
  --without-authpwd \
  --without-authmysql \
  --without-authpgsql \
  --without-authshadow \
  --without-authuserdb \
  --without-authcustom \
  --without-authcram \
  --without-authdaemon \  (I have tried with and without
authdaemon)
  --with-authvchkpw \
  --with-ssl
 
  Thanks,
 
  Jim L.
  [EMAIL PROTECTED]
 
 






Re: [vchkpw] Courier and vipmap

2003-11-21 Thread Jim L.
Yes.

./configure \
 --enable-ip-alias-domains=y \
 --enable-roaming-users=y \
 --enable-relay-clear-minutes=60 \
 --enable-md5-passwords=y \
 --enable-auth-logging=y \
 --enable-mysql-logging=y \
 --enable-logging=y \
 --enable-mysql=y

Jim L.
[EMAIL PROTECTED]


- Original Message - 
From: Juan Hernandez [EMAIL PROTECTED]
To: Jim L. [EMAIL PROTECTED]
Sent: Friday, November 21, 2003 2:36 PM
Subject: Re: [vchkpw] Courier and vipmap


 And did you try this with ./configure using vpopmail??
 
 ./configure --enable-ip-alias-domains=y
 
 Juan