Gentoo Archives: gentoo-user

From: "Stefan G. Weichinger" <lists@×××××.at>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] from web-cyradm to postfixadmin
Date: Thu, 27 Jan 2011 22:07:31
Message-Id: 4D41EC07.80403@xunil.at
In Reply to: [gentoo-user] from web-cyradm to postfixadmin by "Stefan G. Weichinger"
1 Am 27.01.2011 22:52, schrieb Stefan G. Weichinger:
2 >
3 > I have to migrate mailusers from web-cyradm to postfixadmin (sure, on a
4 > gentoo-server -> on-topic ;-) ).
5 >
6 > Has anyone done that already? AFAI understand I have to export user/pws
7 > and import it in postfixadmin ... I am unsure about the encryption etc.
8
9 Browsed the config-files now.
10
11 source // web-cyradm:
12
13 # Defines if passwords are encrypted or not.
14 # Valid Values:
15 # - plain 0 No encription is used
16 # - crypt 1 (shadow compatible encription)
17 # - mysql 2 (MySQL PASSWORD function)
18 # - md5 3 (MD5 digest)
19 $CRYPT = "crypt";
20
21 and:
22
23 target // postfixadmin:
24
25 // Encrypt
26 // In what way do you want the passwords to be crypted?
27 // md5crypt = internal postfix admin md5
28 // md5 = md5 sum of the password
29 // system = whatever you have set as your PHP system default
30 // cleartext = clear text passwords (ouch!)
31 // mysql_encrypt = useful for PAM integration
32 // authlib = support for courier-authlib style passwords
33 // dovecot:CRYPT-METHOD = use dovecotpw -s 'CRYPT-METHOD'. Example:
34 dovecot:CRAM-MD5
35
36 $CONF['encrypt'] = 'md5crypt';
37
38 ---
39
40 Is "crypt"="md5crypt" anyway? Does that mean I could export/import that
41 user-table and be done?
42
43 I will try and test soon ... but any "YES" from you would help anyway :)
44
45 S