Re: [Dovecot] Migrating password scheme

2013-03-27 Thread Timo Sirainen
On 26.3.2013, at 5.14, Joseph Tam jtam.h...@gmail.com wrote: I've updated the Dovecot2 wiki, but I am unsure which userdb's default_fields applies to, and whether it just applies to postlogin scripts, so I documented it at http://wiki2.dovecot.org/AuthDatabase/PasswdFile It works

Re: [Dovecot] Migrating password scheme

2013-03-24 Thread Timo Sirainen
On 23.3.2013, at 9.48, Joseph Tam jtam.h...@gmail.com wrote: I tried the userdb prefetch / postlogin script method to do some password manipulation, but it doesn't appear to work for me. In particular, I don't think this method works with userdb { driver =

Re: [Dovecot] Migrating password scheme

2013-03-23 Thread Joseph Tam
I tried the userdb prefetch / postlogin script method to do some password manipulation, but it doesn't appear to work for me. In particular, I don't think this method works with userdb { driver = passwd-file args = /path/to/passwd-file userdb_pw=%w

Re: [Dovecot] Migrating password scheme

2013-03-23 Thread lst_hoe02
Zitat von Joseph Tam jtam.h...@gmail.com: I tried the userdb prefetch / postlogin script method to do some password manipulation, but it doesn't appear to work for me. In particular, I don't think this method works with userdb { driver = passwd-file

Re: [Dovecot] Migrating password scheme

2013-03-21 Thread lst_hoe02
Zitat von Daryl Richards da...@isletech.net: On 13-03-21 12:51 PM, lst_ho...@kwsoft.de wrote: by the move to Dovecot we try to alter the password encryption stored in the database from MD5 to CRYPT-SHA256 along the Guide at http://wiki2.dovecot.org/HowTo/ConvertPasswordSchemes. It's mostly

Re: [Dovecot] Migrating password scheme

2013-03-21 Thread lst_hoe02
Zitat von lst_ho...@kwsoft.de: Zitat von Daryl Richards da...@isletech.net: On 13-03-21 12:51 PM, lst_ho...@kwsoft.de wrote: by the move to Dovecot we try to alter the password encryption stored in the database from MD5 to CRYPT-SHA256 along the Guide at

Re: [Dovecot] Migrating password scheme

2013-03-21 Thread Daryl Richards
On 13-03-21 4:29 PM, lst_ho...@kwsoft.de wrote: userdb { driver = static args = uid=dovemail gid=dovemail home=/var/dovecot/home/%n mail=sdbox:/var/dovecot/mail/%n:LAYOUT=fs plainpass=%w } and the script invoked: #!/bin/sh echo $USER /etc/dovecot/test.log echo $PLAINPASS

Re: [Dovecot] Migrating password scheme

2013-03-21 Thread lst_hoe02
Zitat von Daryl Richards da...@isletech.net: On 13-03-21 4:29 PM, lst_ho...@kwsoft.de wrote: userdb { driver = static args = uid=dovemail gid=dovemail home=/var/dovecot/home/%n mail=sdbox:/var/dovecot/mail/%n:LAYOUT=fs plainpass=%w } and the script invoked: #!/bin/sh echo $USER