[prev in list] [next in list] [prev in thread] [next in thread] 

List:       vchkpw
Subject:    Re: [vchkpw] Courier IMAP or other IMAP serves...
From:       "Thibault Richard" <thibs () thibs ! com>
Date:       2010-06-22 7:37:43
Message-ID: ED84D8C016574330BCCC40830926DCA0 () SXPBELUX ! NET
[Download RAW message or body]

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_SERVER            YOUR-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!


[Attachment #3 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<STYLE>.hmmessage P {
	PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; \
PADDING-TOP: 0px }
BODY.hmmessage {
	FONT-FAMILY: Verdana; FONT-SIZE: 10pt
}
</STYLE>

<META name=GENERATOR content="MSHTML 8.00.6001.18928"></HEAD>
<BODY class=hmmessage bgColor=#ffffff>
<DIV><FONT face=Arial>Hello,</FONT></DIV>
<DIV><FONT face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial>Since version 0.59.2, courier-authlib is no longer 
supporting vchkpw.</FONT></DIV>
<DIV><FONT face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial>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</FONT></DIV>
<DIV><FONT face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial>Change&nbsp;line 27 of the file&nbsp;authdaemonrc with 
following :</FONT></DIV>
<DIV><FONT face=Arial>authmodulelist="authmysql"<BR></FONT></DIV>
<DIV><FONT face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial>Change file authmysqlrc with following</FONT><FONT 
face="Courier New"> :</FONT></DIV>
<DIV><FONT face="Courier New"></FONT>&nbsp;</DIV>
<DIV><FONT 
face=Arial>&nbsp;MYSQL_SERVER&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb \
sp;&nbsp;&nbsp;YOUR-MYSQL-SERVER<BR>&nbsp;MYSQL_USERNAME&nbsp;&nbsp;&nbsp;&nbsp;&nbsp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bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
 pw_domain = 
'$(domain)';&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n \
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
 \</FONT></DIV>
<DIV><FONT face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial>Best Regards</FONT></DIV>
<DIV><FONT face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial>Thibault</FONT></DIV>
<DIV><FONT face="Courier New"></FONT>&nbsp;</DIV>
<BLOCKQUOTE 
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; \
MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">  <DIV style="FONT: 10pt arial">----- Original \
Message ----- </DIV>  <DIV 
  style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B> 
  <A title=den_arion@hotmail.com href="mailto:den_arion@hotmail.com">Den 
  Arion</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=vchkpw@inter7.com 
  href="mailto:vchkpw@inter7.com">vchkpw@inter7.com</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, June 21, 2010 11:14 
PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> [vchkpw] Courier IMAP or other 
  IMAP serves...</DIV>
  <DIV><BR></DIV><BR><BR>Hi to everyone...
  <DIV>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:</DIV>
  <DIV>Does it work the current version of courier imap (4.8.0)?</DIV>
  <DIV>If not, is there some way to patch it?</DIV>
  <DIV>What other options are for imap server and vpopmail?</DIV>
  <DIV><BR></DIV>
  <DIV>Regards</DIV>
  <DIV><BR><BR><FONT style="FONT-FAMILY: Arial Black,Geneva,Arial,Sans-serif" 
  size=1>______m_______m______<BR>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; 
  ||(O O)||<BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  ||(~)||</FONT><BR><BR><BR></DIV> 
</BLOCKQUOTE>
!DSPAM:4c20685332712093114662!

</BODY></HTML>


!DSPAM:4c20685332712093114662!


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic