Re: [vchkpw] Courier IMAP or other IMAP serves...

2010-06-22 Thread Thibault Richard
Hello,

Since version 0.59.2, courier-authlib is no longer supporting vchkpw.

If you want to use the last courier-imap version, I advice you to install 
vpopmail with MySQL support and to configure authlib to authenticate through 
MySQL

Change line 27 of the file authdaemonrc with following :
authmodulelist=authmysql


Change file authmysqlrc with following :

 MYSQL_SERVERYOUR-MYSQL-SERVER
 MYSQL_USERNAME  YOUR-MYSQL-USERNAME
 MYSQL_PASSWORD YOUR-MYSQL-PASSWORD
 MYSQL_DATABASE  vpopmail
 MYSQL_SELECT_CLAUSE SELECT CONCAT(pw_name, '@', pw_domain) AS username,
 \
 pw_passwd AS cryptpw,  
 \
 pw_clear_passwd AS clearpw,
 \
 '89' AS uid,   
 \
 '89' AS gid,   
 \
 pw_dir AS home,
 \
 '' AS maildir, 
 \
 '' AS quota,   
 \
 pw_gecos AS fullname,  
 \
 'disablewebmail=0,disablepop3=0,disableimap=0' AS 
options   \
 FROM vpopmail  
 \
 WHERE  
 \
 pw_name = '$(local_part)'  
 \
 AND
 \
 pw_domain = '$(domain)';   
 \

Best Regards

Thibault

  - Original Message - 
  From: Den Arion 
  To: vchkpw@inter7.com 
  Sent: Monday, June 21, 2010 11:14 PM
  Subject: [vchkpw] Courier IMAP or other IMAP serves...




  Hi to everyone...
  I just came back to work with linux server. In the past, many years I worked 
with linux and I installed vpopmail and courier-imap. The last week I 
downloaded/installed qmail/vpopmail/courier-auth/courier imap. I have problems 
login to the IMAP server and searching for information I found that the module 
vchkpw was not in the list or the documentation. I tried to use other IMAP 
servers recommended but I had problems compiling but any way... I questions are:
  Does it work the current version of courier imap (4.8.0)?
  If not, is there some way to patch it?
  What other options are for imap server and vpopmail?


  Regards


  __m___m__
  ||(O O)||
||(~)||



   

!DSPAM:4c20685332712093114662!


[vchkpw] compiling vusaged

2010-06-22 Thread Qmail List
Hi,

I am trying out vusaged .. Installed a fresh copy of CentOS 5.5 i386. I got
the below error. Anyone has a work-around? 

[r...@localhost vusaged]# cd /var/src/vpopmail-5.5.0/vusaged
[r...@localhost vusaged]# make
gcc -o vusaged vusaged.o socket.o grow.o signal.o packet.o query.o cache.o
user.o directory.o userstore.o list.o domain.o queue.o shutdown.o vdb.o -L..
-lvpopmail   -pthread  -ldl -lcrypt  -Xlinker -R -Xlinker /home/vpopmail/lib
socket.o: In function `socket_init':
socket.c:(.text+0xc16): undefined reference to `ev_io_start'
socket.c:(.text+0xc7f): undefined reference to `ev_timer_start'
socket.o: In function `ev_default_loop':
socket.c:(.text+0xd21): undefined reference to `ev_default_loop_init'
socket.o: In function `ev_default_loop_uc':
socket.c:(.text+0xd31): undefined reference to `ev_default_loop_ptr'
socket.o: In function `socket_listen':
socket.c:(.text+0xd4e): undefined reference to `ev_loop'
socket.o: In function `socket_accept':
socket.c:(.text+0x1121): undefined reference to `ev_io_start'
socket.c:(.text+0x117a): undefined reference to `ev_io_start'
socket.o: In function `socket_close':
socket.c:(.text+0x1656): undefined reference to `ev_io_stop'
socket.c:(.text+0x166e): undefined reference to `ev_io_stop'
socket.o: In function `socket_write':
socket.c:(.text+0x1769): undefined reference to `ev_io_stop'
socket.o: In function `socket_timer':
socket.c:(.text+0x1952): undefined reference to `ev_unloop'
collect2: ld returned 1 exit status
make: *** [vusaged] Error 1

Thanks
wL


!DSPAM:4c20ba3b32718310010151!



Re: [vchkpw] compiling vusaged

2010-06-22 Thread Harm van Tilborg
Hi wL,

The usage daemon uses libev, so you should install the libev development
headers.

In Debian/Ubuntu they're called libev3-dev. I'm not familiar with CentOS
to know how to do this there, but I think this should help you out.

-- 
Kind regards,
Harm van Tilborg

http://zeroxcool.net

On 22-6-2010 15:27, Qmail List wrote:
 Hi,
 
 I am trying out vusaged .. Installed a fresh copy of CentOS 5.5 i386. I got
 the below error. Anyone has a work-around? 
 
 [r...@localhost vusaged]# cd /var/src/vpopmail-5.5.0/vusaged
 [r...@localhost vusaged]# make
 gcc -o vusaged vusaged.o socket.o grow.o signal.o packet.o query.o cache.o
 user.o directory.o userstore.o list.o domain.o queue.o shutdown.o vdb.o -L..
 -lvpopmail   -pthread  -ldl -lcrypt  -Xlinker -R -Xlinker /home/vpopmail/lib
 socket.o: In function `socket_init':
 socket.c:(.text+0xc16): undefined reference to `ev_io_start'
 socket.c:(.text+0xc7f): undefined reference to `ev_timer_start'
 socket.o: In function `ev_default_loop':
 socket.c:(.text+0xd21): undefined reference to `ev_default_loop_init'
 socket.o: In function `ev_default_loop_uc':
 socket.c:(.text+0xd31): undefined reference to `ev_default_loop_ptr'
 socket.o: In function `socket_listen':
 socket.c:(.text+0xd4e): undefined reference to `ev_loop'
 socket.o: In function `socket_accept':
 socket.c:(.text+0x1121): undefined reference to `ev_io_start'
 socket.c:(.text+0x117a): undefined reference to `ev_io_start'
 socket.o: In function `socket_close':
 socket.c:(.text+0x1656): undefined reference to `ev_io_stop'
 socket.c:(.text+0x166e): undefined reference to `ev_io_stop'
 socket.o: In function `socket_write':
 socket.c:(.text+0x1769): undefined reference to `ev_io_stop'
 socket.o: In function `socket_timer':
 socket.c:(.text+0x1952): undefined reference to `ev_unloop'
 collect2: ld returned 1 exit status
 make: *** [vusaged] Error 1
 
 Thanks
 wL
 
 
 
 

!DSPAM:4c20bd5632711739016685!



RE: [vchkpw] compiling vusaged

2010-06-22 Thread Qmail List
Thanks Harm van Tilborg

 The usage daemon uses libev, so you should install the libev development
 headers.

 In Debian/Ubuntu they're called libev3-dev. I'm not familiar with CentOS
 to know how to do this there, but I think this should help you out.

I had installed libev-3.9 via tarball. 

I did this

cd /var/src
tar -xzf tar/libev-3.9.tar.gz
cd libev-3.9
./configure
make
make install


!DSPAM:4c20c1e432711917115304!



Re: [vchkpw] compiling vusaged

2010-06-22 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 06/22/2010 08:59 AM, Qmail List wrote:
 Thanks Harm van Tilborg
 
 The usage daemon uses libev, so you should install the libev development
 headers.
 
 In Debian/Ubuntu they're called libev3-dev. I'm not familiar with CentOS
 to know how to do this there, but I think this should help you out.
 
 I had installed libev-3.9 via tarball. 
 
 I did this
 
 cd /var/src
 tar -xzf tar/libev-3.9.tar.gz
 cd libev-3.9
 ./configure
 make
 make install

Why are you trying to build directly in the vusaged directory?  The
configure script in the main source directory should have detected (or
not detected) libev and made the proper configurations or warnings.

Back out into the main 5.5.0 source directory and run ./configure.  It
will build vusaged for you.
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkwgwpEACgkQIwet2/rgZyx6UQCcDwqnZ2OtsHHnLwxo/n9xS0Jt
r+AAnRIBcvT/HPs8UU/kFyDTdrnT+qwD
=pe9R
-END PGP SIGNATURE-


RE: [vchkpw] compiling vusaged

2010-06-22 Thread Qmail List
 The usage daemon uses libev, so you should install the libev development
 headers.
 
 In Debian/Ubuntu they're called libev3-dev. I'm not familiar with CentOS
 to know how to do this there, but I think this should help you out.
 
 I had installed libev-3.9 via tarball. 
 
 I did this
 
 cd /var/src
 tar -xzf tar/libev-3.9.tar.gz
 cd libev-3.9
 ./configure
 make
 make install

 Why are you trying to build directly in the vusaged directory?  The
 configure script in the main source directory should have detected (or
 not detected) libev and made the proper configurations or warnings.

 Back out into the main 5.5.0 source directory and run ./configure.  It
 will build vusaged for you.

Thanks Matt. Now I have another issue. Trying to compile qmailadmin.

/home/vpopmail/include/vpopmail.h:149:1: warning: this is the location of
the previous definition
user.c: In function âcall_hooksâ:
user.c:522: error: âVPOPMAILDIRâ undeclared (first use in this function)
user.c:522: error: (Each undeclared identifier is reported only once
user.c:522: error: for each function it appears in.)
user.c: In function âset_qmaildefaultâ:
user.c:627: error: âVPOPMAILDIRâ undeclared (first use in this function)
make[1]: *** [user.o] Error 1
make[1]: Leaving directory `/var/src/qmailadmin-1.2.14'
make: *** [all] Error 2

I had googled. But I still cant find any solution

Thanks
wL.


!DSPAM:4c215b7d32711787462413!