[courier-users] using old style crypt for password hash

2008-07-20 Thread Juan Miscaro
Hi, I'm using Courier on OpenBSD.  Can I use crypt-hashed passwords
with Courier?  I have an old machine (with many users) I want to
migrate over to Courier and a MySQL backend.  This server has
passwords hashed from crypt().

Thank you,

/juan

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] [PATCH] Add destdir support to authmigrate.in in courier-authlib

2008-07-20 Thread Hanno Böck
Hi,

Attached patch adds the DESTDIR variable to some places so installing into 
DESTDIR works.

Please apply.

-- 
Hanno Böck  Blog:   http://www.hboeck.de/
GPG: 3DBD3B20   Jabber/Mail:[EMAIL PROTECTED]
--- authmigrate.in.orig	2008-07-21 01:58:52.0 +0200
+++ authmigrate.in	2008-07-21 02:07:30.0 +0200
@@ -71,11 +71,11 @@
 return $rc
 }
 
-chk_file authdaemonrc @authdaemonrc@
-chk_file authmysqlrc @authmysqlrc@
-chk_file authpgsqlrc @authpgsqlrc@
-chk_file authldaprc @authldaprc@
-chk_file userdb @userdb@
+chk_file authdaemonrc [EMAIL PROTECTED]@
+chk_file authmysqlrc [EMAIL PROTECTED]@
+chk_file authpgsqlrc [EMAIL PROTECTED]@
+chk_file authldaprc [EMAIL PROTECTED]@
+chk_file userdb [EMAIL PROTECTED]@
 
 if test $? = 1
 then


signature.asc
Description: This is a digitally signed message part.
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] using old style crypt for password hash

2008-07-20 Thread Sam Varshavchik

Juan Miscaro writes:


Hi, I'm using Courier on OpenBSD.  Can I use crypt-hashed passwords
with Courier?  I have an old machine (with many users) I want to
migrate over to Courier and a MySQL backend.  This server has
passwords hashed from crypt().


That should work. You can install just the courier-authlib package, and 
verify that password authentication is working properly.




pgpbN1YXlsJLk.pgp
Description: PGP signature
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Courier 20080720

2008-07-20 Thread Sam Varshavchik

Download: http://www.courier-mta.org/download.php

This is an updated sqwebmail/courier build that fixes word-wrapping issues 
in sqwebmail when using multibyte character sets.




pgpfqclmFA1Dp.pgp
Description: PGP signature
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] using old style crypt for password hash

2008-07-20 Thread Juan Miscaro
2008/7/20 K.R. (Randy) Lewis [EMAIL PROTECTED]:
 Juan Miscaro wrote:

 Hi, I'm using Courier on OpenBSD.  Can I use crypt-hashed passwords
 with Courier?  I have an old machine (with many users) I want to
 migrate over to Courier and a MySQL backend.  This server has
 passwords hashed from crypt().

 Thank you,

 /juan

 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's
 challenge
 Build the coolest Linux based applications with Moblin SDK  win great
 prizes
 Grand prize is a trip for two to an Open Source event anywhere in the
 world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 courier-users mailing list
 courier-users@lists.sourceforge.net
 Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



 Yes, this works just fine (OpenBSD).
 I did this some years ago, exactly, with a MySQL authentication setup.

Good to hear!  So in authmysqlrc I use

MYSQL_CRYPT_PWFIELDcrypt

Now what of the passwords in MySQL?  For MD5 I believe a password
should look like:

{MD5}passwordhash

Where passwordhash is created like:

$ echo password | userdbpw -md5

For crypt I can generate passwordhash:

$ echo password | userdbpw

but what about the password in MySQL?

/juan

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users