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



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