[vchkpw] courier-imap and vpopmail on x86_64 -SOLVED

2005-05-10 Thread David Brohall
Ohh... Thank You all very much!
It all worked when I used courier-imap-3.0.8
Thanks again!
Best Regards,
David Brohall
- Original Message - 
From: Martin Kos [EMAIL PROTECTED]
To: vchkpw@inter7.com
Sent: Tuesday, May 10, 2005 8:20 AM
Subject: [vchkpw] Re: courier-imap and vpopmail on x86_64


hi ken
I compiled vpopmail, qmail and courier-imap version 3.0.7 on an AMD 64 
bit system last week with no problems at all. The only thing I had to 
tweak was when configuring qmailadmin, it needed an updated config.sub 
file.
we are talking about the newer versions of courier that use the 
courier-authlib library! the old versions of courier that don't have a 
common auth library work without a problem, but the newer courier-authlib 
isn't possible to compile and i don't know if the problem is with the 
library itself or vpopmail :-(

greets
 KoS
--
Martin Kos   +41-76-384-93-33
http://kos.liSay NO to HTML in mail ICQ# 13556143
Proudly running Debian GNU/Linux




[vchkpw] courier-imap and vpopmail on x86_64

2005-05-09 Thread David Brohall




Hi

I'm sorry to bother you but I'm desperate for 
help withinstalling courier-authlib on Fedora Core 
4 x86_64

I run:

# CFLAGS=-fPIC 
./configure... 

without any problem but when I try to run make I got this error:

Compiling 
preauthvchkpw.cpreauthvchkpw.c: In function 
'auth_vchkpw_pre':preauthvchkpw.c:67: warning: passing argument 1 of 
'parse_email' discards qualifiers from pointer target 
typepreauthvchkpw.c:141: warning: passing argument 3 of 'vset_lastauth' 
discards qualifiers from pointer target typeLinking 
libauthvchkpw.la/usr/bin/ld: /home/vpopmail/lib/libvpopmail.a(vpopmail.o): 
relocation R_X86_64_32S against `a local symbol' can not be used when making a 
shared object; recompile with -fPIC/home/vpopmail/lib/libvpopmail.a: could 
not read symbols: Bad valuecollect2: ld returned 1 exit 
status

It's no problem to compile courier-authlib without 
authvchkpw

What shall I do to install courier-imap on my 
x86_64 system?
I have been trying different settings for 30 hours 
now.
Please I need some help.

Best Regards,
David Brohall


Re: [vchkpw] courier-imap and vpopmail on x86_64

2005-05-09 Thread Ken Jones
On Monday 09 May 2005 2:14 pm, David Brohall wrote:
 Hi

 I'm sorry to bother you but I'm desperate for help with installing
 courier-authlib on Fedora Core 4 x86_64

 I run:

 # CFLAGS=-fPIC ./configure...

 without any problem but when I try to run make I got this error:

 Compiling preauthvchkpw.c
 preauthvchkpw.c: In function 'auth_vchkpw_pre':
 preauthvchkpw.c:67: warning: passing argument 1 of 'parse_email' discards
 qualifiers from pointer target type preauthvchkpw.c:141: warning: passing
 argument 3 of 'vset_lastauth' discards qualifiers from pointer target type
 Linking libauthvchkpw.la
 /usr/bin/ld: /home/vpopmail/lib/libvpopmail.a(vpopmail.o): relocation
 R_X86_64_32S against `a local symbol' can not be used when making a shared
 object; recompile with -fPIC /home/vpopmail/lib/libvpopmail.a: could not
 read symbols: Bad value collect2: ld returned 1 exit status

 It's no problem to compile courier-authlib without authvchkpw

 What shall I do to install courier-imap on my x86_64 system?
 I have been trying different settings for 30 hours now.
 Please I need some help.

Try not using the -fPIC flag

Ken Jones


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?




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

   
   
  
 
 
  



[vchkpw] courier imap and vpopmail?

2004-01-10 Thread master
Hi, i have a little question about vpopmail and imap, i have been using it
since a while but recently i got a problem, vpopmail has added new directory
(0) and put all new domains in it , but the problem is that all domains
there doesn t work with courier-imap, in fact imap only check the main
directory of vpopmail
(i have try the vchkpw2userdb to see and no domain that are in the 0 appear)
has anyone got that problem and any solutions?
thanks



[vchkpw] Courier imap and vpopmail

2003-03-25 Thread Jamie Jensen
Title: Courier imap and vpopmail






Hello,


I recently installed courier imap to complement qmail for the use of

squirrel mail. the setup is qmail (and it's requirements) vpopmail

(using mysql for the database auth), courier imap and vpopmail.


The problem i am experiencing is that one domain (currently 2 on the

server) will have the .Drafts, .Sent, .Trash folders along with the

courierimapsubscribed and courierimapuiddb files created when logging

in using IMAP. The other domain does not get this treatement.


I can log in a few times to the user on the domain that the imap

folders are not created, but this is eventually prevented. Deleting

the user and recreating does not help, the folders are never created. 

Login to all but one account (not the postmaster) is the eventual

result (via IMAP). Restarting imapd does then allow access, but the

process is eventually repeated (10-60 minutes)


I have read the FAQ, I have read the archives of both this list,

google groups search and the archives on sourceforge (a pain since

their search engine is busted (or I don't know how to use it)) so

please do not refer me to those venues.


If you need additional information such as config parameters or the

like, please let me know what you would like.


Thank you,

Jamie Jensen





Re: [vchkpw] Courier imap and vpopmail

2003-03-25 Thread Michael Bowe
- Original Message - 
From: Jamie Jensen [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, March 26, 2003 7:26 AM
Subject: [vchkpw] Courier imap and vpopmail


 Hello,
 
 I recently installed courier imap to complement qmail for the use of
 squirrel mail.  the setup is qmail (and it's requirements) vpopmail
 (using mysql for the database auth), courier imap and vpopmail.

Perhaps compare your setup against my 
vpopmail / mysql / courier-imap / squirrelmail guide at
http://www.pipeline.com.au/staff/mbowe/isp/webmail-server.htm

In particular note that you need to configure courier-imap with these
particular options for reliable operation with vpopmail :

  --without-authdaemon --with-authvchkpw 

Michael.



[vchkpw] Courier Imap and Vpopmail w/mysql auth

2002-08-21 Thread davehall



is there anything special to get the Courier Imap 
to work with Vpopmail and Qmail using Mysql Auth?

Thanks
Dave


Re: [vchkpw] Courier Imap and Vpopmail w/mysql auth

2002-08-21 Thread Michael Bowe



I you mean you want to run vpopmail w/mysql 
backend,
and then add on courier-imap to give imap 
services,
then you could take a look at my guidewhich 
shows this combo :
http://www.pipeline.com.au/staff/mbowe/isp/webmail-server.htm

Michael.


  - Original Message - 
  From: 
  [EMAIL PROTECTED] 
  
  To: [EMAIL PROTECTED] 
  Sent: Thursday, August 22, 2002 7:07 
  AM
  Subject: [vchkpw] Courier Imap and 
  Vpopmail w/mysql auth
  
  is there anything special to get the Courier Imap 
  to work with Vpopmail and Qmail using Mysql Auth?
  
  Thanks
  Dave


[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