Re: [vchkpw] Courier-Imap with Vpopmail help

2004-09-24 Thread dvruiz
I noticed that you set the following:

  AUTHMODULES="authvchkpw"

Did you also set what is listed below:

Edit /usr/lib/courier-imap/etc/authdaemonrc
Change authmodulelist="..." to authmodulelist="authvchkpw"
Edit /usr/lib/courier-imap/etc/imapd
Change 'IMAPDSTART=NO' to 'IMAPDSTART=YES'
Edit /usr/lib/courier-imap/etc/imapd-ssl
Change 'IMAPDSSLSTART=NO' to 'IMAPDSSLSTART=YES'




> Hey all,
>
>
> I've just moved to qmail with vpopmail and i'm following this doc
>
> http://www.qmailrocks.org/
>
> Now i'm tring to get courier-imap working correctly, when i try  pop3
> access i
> login fine, however imap is a different story
>
> kristine:~# telnet localhost 143
> Trying 127.0.0.1...
> Connected to localhost.localdomain.
> Escape character is '^]'.
> * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE
> THREAD=ORDEREDSUBJECT
> THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS] Courier-IMAP
> ready.
> Copyright 1998-2004 Double Precision, Inc.  See COPYING for distribution
> information.
> a login [EMAIL PROTECTED] kilo22
> a NO Login failed.
>
>
>
> This is in /var/log/mysql/mysql.log
>
> This is the table return
>
> mysql> select pw_name, pw_passwd, pw_uid, pw_gid, pw_gecos, pw_dir,
> pw_shell ,
> pw_clear_passwd from wtfhax_com where pw_name = "tristram";
> +--++++++--+-+
> | pw_name | pw_passwd | pw_uid | pw_gid | pw_gecos | pw_dir | pw_shell |
> pw_clear_passwd |
> +--++++++--+-+
> | tristram | $1$CNMfwBu0$2JeNEmXhQPH8kTUCOMBii. | 0 | 8 | Tristram+Cheer |
> /home/vpopmail/domains/wtfhax.com/tristram | NOQUOTA | realpass |
> +--++++++--+-+
> 1 row in set (0.00 sec)
>
>
> I've changed my /etc/courier/imapd file to
>
> AUTHMODULES="authvchkpw"
>
>
> I run a debian system and i'm pulling my hair out, what am i doing wrong
>
>
> Is anyone able to help?
>



Re: [vchkpw] Courier-Imap with Vpopmail help

2004-09-23 Thread james . edward
OK



./configure \
  --prefix=/usr/local/courier-imap \
  --disable-root-check \
  --without-authpam \
  --without-authldap \
  --without-authpwd \
  --without-authmysql \
  --without-authpgsql \
  --without-authshadow \
  --without-authuserdb \
  --without-authcustom \
  --without-authcram \
  --with-authdaemon \
  --with-authvchkpw \
  --with-ssl

make
make install
make install-configure



Same issue

040924 17:46:57  42 Connect [EMAIL PROTECTED] on
 42 Init DB vpopmail
 42 Query   select pw_name, pw_passwd, pw_uid, pw_gid,
pw_gecos, pw_dir, pw_shell , pw_clear_passwd from wtfhax_com where pw_name = "$
 42 Query   replace into lastauth set user='tristram',
domain='wtfhax.com', remote_ip='imap', timestamp=1096004817
 42 Quit


Still 

a NO Login failed.
Connection closed by foreign host.

Any ideas guys?

Quoting Remo Mattei <[EMAIL PROTECTED]>:

> correct. if you want here you can download it here:
> 
> http://italy1.com/courier-imap-1.7.0.tar.bz2
> 
> have fun.
> Remo
> - Original Message - 
> From: <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, September 23, 2004 10:41 PM
> Subject: Re: [vchkpw] Courier-Imap with Vpopmail help
> 
> 
> > Courier's website only has 2.1.2 are you able to point me to another
> website
> > with it on? i'm assuming you mean verion 1.7 of courier-imap
> >
> > Quoting Remo Mattei <[EMAIL PROTECTED]>:
> >
> > > here is what I have on mine. I notice that the version 3 had problem
> so
> > > I
> > > use 1.7 which is working very well for me. I have it on several
> servers
> > > now.
> > >
> > > export CFLAGS="-DHAVE_OPEN_SMTP_RELAY"
> > > ./configure --disable-root-check --without-authdaemon
> --with-authvchkpw
> > > \
> > > --enable-workarounds-for-imap-client-bugs
> > >
> > > I would suggest you do apt-get remove courier...x
> > > then get the code and compile it
> > >
> > > Remo
> > > - Original Message - 
> > > From: <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Thursday, September 23, 2004 10:11 PM
> > > Subject: Re: [vchkpw] Courier-Imap with Vpopmail help
> > >
> > >
> > > > I used apt-get install courier-imap
> > > >
> > > > and compiled the rest with the options in the DOC
> > > >
> > > > I dont think there is a compile option because imapd is querying
> the
> > > db
> > > and
> > > > getting the correct response
> > > >
> > > > Quoting Remo Mattei <[EMAIL PROTECTED]>:
> > > >
> > > > > what options did u compile it with?
> > > > >
> > > > > Remo
> > > > > - Original Message - 
> > > > > From: <[EMAIL PROTECTED]>
> > > > > To: "vpopmail list" <[EMAIL PROTECTED]>
> > > > > Sent: Thursday, September 23, 2004 9:31 PM
> > > > > Subject: [vchkpw] Courier-Imap with Vpopmail help
> > > > >
> > > > >
> > > > > > Hey all,
> > > > > >
> > > > > >
> > > > > > I've just moved to qmail with vpopmail and i'm following this
> doc
> > > > > >
> > > > > > http://www.qmailrocks.org/
> > > > > >
> > > > > > Now i'm tring to get courier-imap working correctly, when i
> try
> > > pop3
> > > > > access i
> > > > > > login fine, however imap is a different story
> > > > > >
> > > > > > kristine:~# telnet localhost 143
> > > > > > Trying 127.0.0.1...
> > > > > > Connected to localhost.localdomain.
> > > > > > Escape character is '^]'.
> > > > > > * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE
> > > > > THREAD=ORDEREDSUBJECT
> > > > > > THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS]
> > > > > Courier-IMAP
> > > > > ready.
> > > > > > Copyright 1998-2004 Double Precision, Inc. See COPYING for
> > > > > distribution
> > > > > > information.
> > > > > > a login [EMAIL PROTE

Re: [vchkpw] Courier-Imap with Vpopmail help

2004-09-23 Thread Remo Mattei
correct. if you want here you can download it here:

http://italy1.com/courier-imap-1.7.0.tar.bz2

have fun.
Remo
- Original Message - 
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 23, 2004 10:41 PM
Subject: Re: [vchkpw] Courier-Imap with Vpopmail help


> Courier's website only has 2.1.2 are you able to point me to another
website
> with it on? i'm assuming you mean verion 1.7 of courier-imap
>
> Quoting Remo Mattei <[EMAIL PROTECTED]>:
>
> > here is what I have on mine. I notice that the version 3 had problem so
> > I
> > use 1.7 which is working very well for me. I have it on several servers
> > now.
> >
> > export CFLAGS="-DHAVE_OPEN_SMTP_RELAY"
> > ./configure --disable-root-check --without-authdaemon --with-authvchkpw
> > \
> >  --enable-workarounds-for-imap-client-bugs
> >
> > I would suggest you do apt-get remove courier...x
> > then get the code and compile it
> >
> > Remo
> > - Original Message ----- 
> > From: <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Thursday, September 23, 2004 10:11 PM
> > Subject: Re: [vchkpw] Courier-Imap with Vpopmail help
> >
> >
> > > I used apt-get install courier-imap
> > >
> > > and compiled the rest with the options in the DOC
> > >
> > > I dont think there is a compile option because imapd is querying the
> > db
> > and
> > > getting the correct response
> > >
> > > Quoting Remo Mattei <[EMAIL PROTECTED]>:
> > >
> > > > what options did u compile it with?
> > > >
> > > > Remo
> > > > - Original Message - 
> > > > From: <[EMAIL PROTECTED]>
> > > > To: "vpopmail list" <[EMAIL PROTECTED]>
> > > > Sent: Thursday, September 23, 2004 9:31 PM
> > > > Subject: [vchkpw] Courier-Imap with Vpopmail help
> > > >
> > > >
> > > > > Hey all,
> > > > >
> > > > >
> > > > > I've just moved to qmail with vpopmail and i'm following this doc
> > > > >
> > > > > http://www.qmailrocks.org/
> > > > >
> > > > > Now i'm tring to get courier-imap working correctly, when i try
> > pop3
> > > > access i
> > > > > login fine, however imap is a different story
> > > > >
> > > > > kristine:~# telnet localhost 143
> > > > > Trying 127.0.0.1...
> > > > > Connected to localhost.localdomain.
> > > > > Escape character is '^]'.
> > > > > * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE
> > > > THREAD=ORDEREDSUBJECT
> > > > > THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS]
> > > > Courier-IMAP
> > > > ready.
> > > > > Copyright 1998-2004 Double Precision, Inc. See COPYING for
> > > > distribution
> > > > > information.
> > > > > a login [EMAIL PROTECTED] kilo22
> > > > > a NO Login failed.
> > > > >
> > > > >
> > > > >
> > > > > This is in /var/log/mysql/mysql.log
> > > > >
> > > > > This is the table return
> > > > >
> > > > > mysql> select pw_name, pw_passwd, pw_uid, pw_gid, pw_gecos,
> > pw_dir,
> > > > pw_shell ,
> > > > > pw_clear_passwd from wtfhax_com where pw_name = "tristram";
> > > > >
> > > > +--++---
> > > > -++-
> > > > ---+--
> > > > --+--+
> > > > -+
> > > > > | pw_name | pw_passwd | pw_uid | pw_gid | pw_gecos | pw_dir |
> > pw_shell
> > > > |
> > > > > pw_clear_passwd |
> > > > >
> > > > +--+++
> > > > +-
> > > > ---++---
> > > > ---+
> > > > -+
> > > > > | tristram | $1$CNMfwBu0$2JeNEmXhQPH8kTUCOMBii. | 0 | 8 |
> > > > Tristram+Cheer |
> > > > > /home/vpopmail/domains/wtfhax.com/tristram | NOQUOTA | realpass |
> > > > >
> > > > +--+++
> > > > +-
> > > > ---++---
> > > > ---+
> > > > -+
> > > > > 1 row in set (0.00 sec)
> > > > >
> > > > >
> > > > > I've changed my /etc/courier/imapd file to
> > > > >
> > > > > AUTHMODULES="authvchkpw"
> > > > >
> > > > >
> > > > > I run a debian system and i'm pulling my hair out, what am i
> > doing
> > > > wrong
> > > > >
> > > > >
> > > > > Is anyone able to help?
> > > > >
> > > >
> > >
> > >
> >
>
>


Re: [vchkpw] Courier-Imap with Vpopmail help

2004-09-23 Thread james . edward
Courier's website only has 2.1.2 are you able to point me to another website
with it on? i'm assuming you mean verion 1.7 of courier-imap

Quoting Remo Mattei <[EMAIL PROTECTED]>:

> here is what I have on mine. I notice that the version 3 had problem so
> I
> use 1.7 which is working very well for me. I have it on several servers
> now.
> 
> export CFLAGS="-DHAVE_OPEN_SMTP_RELAY"
> ./configure --disable-root-check --without-authdaemon --with-authvchkpw
> \
>  --enable-workarounds-for-imap-client-bugs
> 
> I would suggest you do apt-get remove courier...x
> then get the code and compile it
> 
> Remo
> - Original Message - 
> From: <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, September 23, 2004 10:11 PM
> Subject: Re: [vchkpw] Courier-Imap with Vpopmail help
> 
> 
> > I used apt-get install courier-imap
> >
> > and compiled the rest with the options in the DOC
> >
> > I dont think there is a compile option because imapd is querying the
> db
> and
> > getting the correct response
> >
> > Quoting Remo Mattei <[EMAIL PROTECTED]>:
> >
> > > what options did u compile it with?
> > >
> > > Remo
> > > - Original Message - 
> > > From: <[EMAIL PROTECTED]>
> > > To: "vpopmail list" <[EMAIL PROTECTED]>
> > > Sent: Thursday, September 23, 2004 9:31 PM
> > > Subject: [vchkpw] Courier-Imap with Vpopmail help
> > >
> > >
> > > > Hey all,
> > > >
> > > >
> > > > I've just moved to qmail with vpopmail and i'm following this doc
> > > >
> > > > http://www.qmailrocks.org/
> > > >
> > > > Now i'm tring to get courier-imap working correctly, when i try
> pop3
> > > access i
> > > > login fine, however imap is a different story
> > > >
> > > > kristine:~# telnet localhost 143
> > > > Trying 127.0.0.1...
> > > > Connected to localhost.localdomain.
> > > > Escape character is '^]'.
> > > > * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE
> > > THREAD=ORDEREDSUBJECT
> > > > THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS]
> > > Courier-IMAP
> > > ready.
> > > > Copyright 1998-2004 Double Precision, Inc. See COPYING for
> > > distribution
> > > > information.
> > > > a login [EMAIL PROTECTED] kilo22
> > > > a NO Login failed.
> > > >
> > > >
> > > >
> > > > This is in /var/log/mysql/mysql.log
> > > >
> > > > This is the table return
> > > >
> > > > mysql> select pw_name, pw_passwd, pw_uid, pw_gid, pw_gecos,
> pw_dir,
> > > pw_shell ,
> > > > pw_clear_passwd from wtfhax_com where pw_name = "tristram";
> > > >
> > > +--++---
> > > -++-
> > > ---+--
> > > --+--+
> > > -+
> > > > | pw_name | pw_passwd | pw_uid | pw_gid | pw_gecos | pw_dir |
> pw_shell
> > > |
> > > > pw_clear_passwd |
> > > >
> > > +--+++
> > > +-
> > > ---++---
> > > ---+
> > > -+
> > > > | tristram | $1$CNMfwBu0$2JeNEmXhQPH8kTUCOMBii. | 0 | 8 |
> > > Tristram+Cheer |
> > > > /home/vpopmail/domains/wtfhax.com/tristram | NOQUOTA | realpass |
> > > >
> > > +--+++
> > > +-
> > > ---++---
> > > ---+
> > > -+
> > > > 1 row in set (0.00 sec)
> > > >
> > > >
> > > > I've changed my /etc/courier/imapd file to
> > > >
> > > > AUTHMODULES="authvchkpw"
> > > >
> > > >
> > > > I run a debian system and i'm pulling my hair out, what am i
> doing
> > > wrong
> > > >
> > > >
> > > > Is anyone able to help?
> > > >
> > >
> >
> >
>  



Re: [vchkpw] Courier-Imap with Vpopmail help

2004-09-23 Thread Remo Mattei
here is what I have on mine. I notice that the version 3 had problem so I
use 1.7 which is working very well for me. I have it on several servers now.

export CFLAGS="-DHAVE_OPEN_SMTP_RELAY"
./configure --disable-root-check --without-authdaemon --with-authvchkpw \
 --enable-workarounds-for-imap-client-bugs

I would suggest you do apt-get remove courier...x
then get the code and compile it

Remo
- Original Message - 
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 23, 2004 10:11 PM
Subject: Re: [vchkpw] Courier-Imap with Vpopmail help


> I used apt-get install courier-imap
>
> and compiled the rest with the options in the DOC
>
> I dont think there is a compile option because imapd is querying the db
and
> getting the correct response
>
> Quoting Remo Mattei <[EMAIL PROTECTED]>:
>
> > what options did u compile it with?
> >
> > Remo
> > - Original Message - 
> > From: <[EMAIL PROTECTED]>
> > To: "vpopmail list" <[EMAIL PROTECTED]>
> > Sent: Thursday, September 23, 2004 9:31 PM
> > Subject: [vchkpw] Courier-Imap with Vpopmail help
> >
> >
> > > Hey all,
> > >
> > >
> > > I've just moved to qmail with vpopmail and i'm following this doc
> > >
> > > http://www.qmailrocks.org/
> > >
> > > Now i'm tring to get courier-imap working correctly, when i try pop3
> > access i
> > > login fine, however imap is a different story
> > >
> > > kristine:~# telnet localhost 143
> > > Trying 127.0.0.1...
> > > Connected to localhost.localdomain.
> > > Escape character is '^]'.
> > > * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE
> > THREAD=ORDEREDSUBJECT
> > > THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS]
> > Courier-IMAP
> > ready.
> > > Copyright 1998-2004 Double Precision, Inc. See COPYING for
> > distribution
> > > information.
> > > a login [EMAIL PROTECTED] kilo22
> > > a NO Login failed.
> > >
> > >
> > >
> > > This is in /var/log/mysql/mysql.log
> > >
> > > This is the table return
> > >
> > > mysql> select pw_name, pw_passwd, pw_uid, pw_gid, pw_gecos, pw_dir,
> > pw_shell ,
> > > pw_clear_passwd from wtfhax_com where pw_name = "tristram";
> > >
> > +--++---
> > -++-
> > ---+--
> > --+--+
> > -+
> > > | pw_name | pw_passwd | pw_uid | pw_gid | pw_gecos | pw_dir | pw_shell
> > |
> > > pw_clear_passwd |
> > >
> > +--+++
> > +-
> > ---++---
> > ---+
> > -+
> > > | tristram | $1$CNMfwBu0$2JeNEmXhQPH8kTUCOMBii. | 0 | 8 |
> > Tristram+Cheer |
> > > /home/vpopmail/domains/wtfhax.com/tristram | NOQUOTA | realpass |
> > >
> > +--+++
> > +-
> > ---++---
> > ---+
> > -+
> > > 1 row in set (0.00 sec)
> > >
> > >
> > > I've changed my /etc/courier/imapd file to
> > >
> > > AUTHMODULES="authvchkpw"
> > >
> > >
> > > I run a debian system and i'm pulling my hair out, what am i doing
> > wrong
> > >
> > >
> > > Is anyone able to help?
> > >
> >
>
>


Re: [vchkpw] Courier-Imap with Vpopmail help

2004-09-23 Thread james . edward
I used apt-get install courier-imap 

and compiled the rest with the options in the DOC

I dont think there is a compile option because imapd is querying the db and
getting the correct response

Quoting Remo Mattei <[EMAIL PROTECTED]>:

> what options did u compile it with?
> 
> Remo
> - Original Message - 
> From: <[EMAIL PROTECTED]>
> To: "vpopmail list" <[EMAIL PROTECTED]>
> Sent: Thursday, September 23, 2004 9:31 PM
> Subject: [vchkpw] Courier-Imap with Vpopmail help
> 
> 
> > Hey all,
> >
> >
> > I've just moved to qmail with vpopmail and i'm following this doc
> >
> > http://www.qmailrocks.org/
> >
> > Now i'm tring to get courier-imap working correctly, when i try pop3
> access i
> > login fine, however imap is a different story
> >
> > kristine:~# telnet localhost 143
> > Trying 127.0.0.1...
> > Connected to localhost.localdomain.
> > Escape character is '^]'.
> > * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE
> THREAD=ORDEREDSUBJECT
> > THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS]
> Courier-IMAP
> ready.
> > Copyright 1998-2004 Double Precision, Inc. See COPYING for
> distribution
> > information.
> > a login [EMAIL PROTECTED] kilo22
> > a NO Login failed.
> >
> >
> >
> > This is in /var/log/mysql/mysql.log
> >
> > This is the table return
> >
> > mysql> select pw_name, pw_passwd, pw_uid, pw_gid, pw_gecos, pw_dir,
> pw_shell ,
> > pw_clear_passwd from wtfhax_com where pw_name = "tristram";
> >
> +--++---
> -++-
> ---+--
> --+--+
> -+
> > | pw_name | pw_passwd | pw_uid | pw_gid | pw_gecos | pw_dir | pw_shell
> |
> > pw_clear_passwd |
> >
> +--+++
> +-
> ---++---
> ---+
> -+
> > | tristram | $1$CNMfwBu0$2JeNEmXhQPH8kTUCOMBii. | 0 | 8 |
> Tristram+Cheer |
> > /home/vpopmail/domains/wtfhax.com/tristram | NOQUOTA | realpass |
> >
> +--+++
> +-
> ---++---
> ---+
> -+
> > 1 row in set (0.00 sec)
> >
> >
> > I've changed my /etc/courier/imapd file to
> >
> > AUTHMODULES="authvchkpw"
> >
> >
> > I run a debian system and i'm pulling my hair out, what am i doing
> wrong
> >
> >
> > Is anyone able to help?
> >
>  



Re: [vchkpw] Courier-Imap with Vpopmail help

2004-09-23 Thread Remo Mattei
what options did u compile it with?

Remo
- Original Message - 
From: <[EMAIL PROTECTED]>
To: "vpopmail list" <[EMAIL PROTECTED]>
Sent: Thursday, September 23, 2004 9:31 PM
Subject: [vchkpw] Courier-Imap with Vpopmail help


> Hey all,
>
>
> I've just moved to qmail with vpopmail and i'm following this doc
>
> http://www.qmailrocks.org/
>
> Now i'm tring to get courier-imap working correctly, when i try  pop3
access i
> login fine, however imap is a different story
>
> kristine:~# telnet localhost 143
> Trying 127.0.0.1...
> Connected to localhost.localdomain.
> Escape character is '^]'.
> * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE
THREAD=ORDEREDSUBJECT
> THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS] Courier-IMAP
ready.
> Copyright 1998-2004 Double Precision, Inc.  See COPYING for distribution
> information.
> a login [EMAIL PROTECTED] kilo22
> a NO Login failed.
>
>
>
> This is in /var/log/mysql/mysql.log
>
> This is the table return
>
> mysql> select pw_name, pw_passwd, pw_uid, pw_gid, pw_gecos, pw_dir,
pw_shell ,
> pw_clear_passwd from wtfhax_com where pw_name = "tristram";
>
+--++++-
---++--+
-+
> | pw_name | pw_passwd | pw_uid | pw_gid | pw_gecos | pw_dir | pw_shell |
> pw_clear_passwd |
>
+--++++-
---++--+
-+
> | tristram | $1$CNMfwBu0$2JeNEmXhQPH8kTUCOMBii. | 0 | 8 | Tristram+Cheer |
> /home/vpopmail/domains/wtfhax.com/tristram | NOQUOTA | realpass |
>
+--++++-
---++--+
-+
> 1 row in set (0.00 sec)
>
>
> I've changed my /etc/courier/imapd file to
>
> AUTHMODULES="authvchkpw"
>
>
> I run a debian system and i'm pulling my hair out, what am i doing wrong
>
>
> Is anyone able to help?
>


[vchkpw] Courier-Imap with Vpopmail help

2004-09-23 Thread james . edward
Hey all,


I've just moved to qmail with vpopmail and i'm following this doc

http://www.qmailrocks.org/

Now i'm tring to get courier-imap working correctly, when i try  pop3 access i
login fine, however imap is a different story

kristine:~# telnet localhost 143
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT
THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS] Courier-IMAP ready.
Copyright 1998-2004 Double Precision, Inc.  See COPYING for distribution
information.
a login [EMAIL PROTECTED] kilo22
a NO Login failed.



This is in /var/log/mysql/mysql.log

This is the table return

mysql> select pw_name, pw_passwd, pw_uid, pw_gid, pw_gecos, pw_dir, pw_shell ,
pw_clear_passwd from wtfhax_com where pw_name = "tristram";
+--++++++--+-+
| pw_name | pw_passwd | pw_uid | pw_gid | pw_gecos | pw_dir | pw_shell |
pw_clear_passwd |
+--++++++--+-+
| tristram | $1$CNMfwBu0$2JeNEmXhQPH8kTUCOMBii. | 0 | 8 | Tristram+Cheer |
/home/vpopmail/domains/wtfhax.com/tristram | NOQUOTA | realpass |
+--++++++--+-+
1 row in set (0.00 sec)


I've changed my /etc/courier/imapd file to

AUTHMODULES="authvchkpw"


I run a debian system and i'm pulling my hair out, what am i doing wrong


Is anyone able to help?


Re: [vchkpw] Courier-IMAP with VPOPMAIL

2002-08-18 Thread Vladimir Kabanov

if you dont afraid, you may try to test version of vchkpw with corrections
of mine,
there is support for courier servers (imap & pop3) with all features (maybe
some of them alternative) of native vchkpw.


- Original Message -
From: "David Summers" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, August 18, 2002 1:15 PM
Subject: [vchkpw] Courier-IMAP with VPOPMAIL


>
> You guessed it, more Courier-IMAP with VPOPMAIL questions, sorry.  :-(
>
> System: RedHat 7.2 and RedHat 7.3
>
> I've been working on this for two weeks and have read all the emails and
> all the mail archives and all the instructions, and all the google.com
> references I could find and nothing seems to be doing what I want.
>
> I'm trying to get Courier-IMAP 1.5.3.20020813 working with VPOPMAIL 5.3.8.
>
> I need to get system /etc/passwd (user/password) authentication for normal
> system (shell) accounts, IP-ALIAS (user/password) authentication for
virtual
> accounts, which should fall back to ([EMAIL PROTECTED]/password)
> authentication for virtual accounts as a last resort.
>
> I can get system accounts working, no problem with Courier-IMAP.  I can
> get VPOPMAIL->userdb->Courier-IMAP working, but that doesn't do the
> IP-ALIAS functions, i.e., it doesn't authenticate (user/password) when I
> "telnet virtual1.domain.com 110" and try to log in with "user user1" with
> "pass user1Password".
>
> Actually it appears that the Courier-IMAP authvchkpw program doesn't work
> or at least is not working like I expected.
>
> I've gone through so many configuration iterations my head is spinning.
> I've tried several different ones every day for the last two weeks.
>
> VPOPMAIL seems to be doing what it should...I'm just having terrible times
> getting the COURIER-IMAP AUTHVCHKPW to work or do what I want.
>
> I'm building from (modified) *.src.rpm files so I don't think that the
> problem is a previous installation.  I'm very careful to wipe out the
> previous iteration of install before trying a new iteration.
>
> Questions:
>
> 1. Am I missing something simple?
>
> 2. Is there a way to log more information from the Courier-IMAP
authentication
>methods?
>
> 3. Is there a way to use VPOPMAIL vchkpw authentication instead of
>Courier-IMAP authchkpw authentication to work in Courier-IMAP and do
>all three authentication methods?
>




[vchkpw] Courier-IMAP with VPOPMAIL

2002-08-17 Thread David Summers


You guessed it, more Courier-IMAP with VPOPMAIL questions, sorry.  :-(

System: RedHat 7.2 and RedHat 7.3

I've been working on this for two weeks and have read all the emails and
all the mail archives and all the instructions, and all the google.com 
references I could find and nothing seems to be doing what I want.

I'm trying to get Courier-IMAP 1.5.3.20020813 working with VPOPMAIL 5.3.8.

I need to get system /etc/passwd (user/password) authentication for normal 
system (shell) accounts, IP-ALIAS (user/password) authentication for virtual 
accounts, which should fall back to ([EMAIL PROTECTED]/password)
authentication for virtual accounts as a last resort.

I can get system accounts working, no problem with Courier-IMAP.  I can
get VPOPMAIL->userdb->Courier-IMAP working, but that doesn't do the 
IP-ALIAS functions, i.e., it doesn't authenticate (user/password) when I
"telnet virtual1.domain.com 110" and try to log in with "user user1" with
"pass user1Password".

Actually it appears that the Courier-IMAP authvchkpw program doesn't work 
or at least is not working like I expected.

I've gone through so many configuration iterations my head is spinning.
I've tried several different ones every day for the last two weeks.

VPOPMAIL seems to be doing what it should...I'm just having terrible times
getting the COURIER-IMAP AUTHVCHKPW to work or do what I want.

I'm building from (modified) *.src.rpm files so I don't think that the 
problem is a previous installation.  I'm very careful to wipe out the 
previous iteration of install before trying a new iteration.

Questions:

1. Am I missing something simple?

2. Is there a way to log more information from the Courier-IMAP authentication
   methods?

3. Is there a way to use VPOPMAIL vchkpw authentication instead of
   Courier-IMAP authchkpw authentication to work in Courier-IMAP and do 
   all three authentication methods?

4. What happens if there are multiple authentication programs installed?
   Does it just go down the list trying until one works?

5. SSL compiles but stopped being enabled on startup when I upgraded from 
   Courier-IMAP 1.3.8 to 1.5.3.  What configuration process determines 
   whether or not the SSL stuff is configured to start up when 
   "/etc/init.d/courier-imap start" is run?
 
I've been using Courier-IMAP with great success for over a year with 
simple system accounts.

Here is my current VPOPMAIL configuration:
./configure \
--enable-ip-alias-domain=y \
--enable-qmail-ext=y \
--enable-roaming-users=y \
--enable-tcprules-prog=/bin/tcprules \
--enable-passwd=y

Here is my current Courier-IMAP configuration:
./configure \
--enable-workarounds-for-imap-client-bugs \
--with-ssl \
--with-pam \
--with-authvchkpw \
--without-authdaemon \
--without-authcustom \
--without-authcram \
--without-userdb \
--without-authshadow \
--without-authpwd


   Much thanks in advance to anyone who would take the time to help me 
   out.


-- 
David Wayne Summers  "Linux: Because reboots are for upgrades!"
[EMAIL PROTECTED]   PGP Key: http://summersoft.fay.ar.us/~david/pgp.txt
PGP Key fingerprint =  C0 E0 4F 50 DD A9 B6 2B  60 A1 31 7E D2 28 6D A8