Re: Save user passwords in clear text

2016-08-13 Thread Lefteris Tsintjelis

> On 13 Aug 2016, at 08:17, Thomas Leuxner <t...@leuxner.net> wrote:
> 
> * Lefteris Tsintjelis <le...@spes.gr> 2016.08.05 21:01:
> 
>> Is it possible to save user passwords as clear text through dovecot?
> 
> Have a look at how schemes can be converted using postlogin scripts:
> 
> http://wiki2.dovecot.org/HowTo/ConvertPasswordSchemes

Thanks, but there is a problem though, last time I tried prefetch did not work 
with virtual

Re: Save user passwords in clear text

2016-08-12 Thread Thomas Leuxner
* Lefteris Tsintjelis <le...@spes.gr> 2016.08.05 21:01:

> Is it possible to save user passwords as clear text through dovecot?

Have a look at how schemes can be converted using postlogin scripts:

http://wiki2.dovecot.org/HowTo/ConvertPasswordSchemes


signature.asc
Description: Digital signature


Re: Save user passwords in clear text

2016-08-08 Thread Steffen Kaiser

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Fri, 5 Aug 2016, Lefteris Tsintjelis wrote:

Is it possible to save user passwords as clear text through dovecot? I 
am currently using MD5 passwords and I allow only "plain and login” 
mechanisms but I want to switch my database to clear text as this will 
give me the ability to use more mechanisms such as CRAM-MD5. Is this 
possible?


Someone tried to do something like that with:

http://wiki2.dovecot.org/AuthDatabase/CheckPassword

Check the archive of this list.

- -- 
Steffen Kaiser

-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQEVAwUBV6hvY3z1H7kL/d9rAQK/iAf/XNP52dpnKIoXvhounpTg58QgIoY+i1tW
oka3uAfjFiwyNH/QzZaEdISaogWqpxKXmebWNZeyjvScGzM5VAoC6XMbmvuUfoaC
/gwpadMez416RlTnGpfTvB9GIV+5F8UE+4wCPAnP8Vzp9zCBueKhTrq4q8Ffevfj
z1ikHWIQI8wwFdTNI82Iyybw4S6F2vWGrR/ypHHWyNhRH6bluMTLc9UOBGORMFc4
eTeARYIFjDYM6RVZBPlRmoFXZ+qUy72tIV8PyqYbcFlC61lPMsYKleXgDT5KH/V6
r62h4vYCyJn8uGxCwuNmxq9uQws0fRfL2rIgdVuauGxkGmPphgizlw==
=UW2U
-END PGP SIGNATURE-


RE: Save user passwords in clear text

2016-08-05 Thread Michael Fox
> Is it possible to save user passwords as clear text through dovecot? I am
> currently using MD5 passwords and I allow only "plain and login”
> mechanisms but I want to switch my database to clear text as this will
> give me the ability to use more mechanisms such as CRAM-MD5. Is this
> possible?

I'm not sure if this is what you mean by saving passwords "through dovecot".  
But here's how to save a clear-text password when the passdb scheme is not 
plaintext.

Use the {PLAIN} prefix.  Example:

10-auth.conf:
  passdb {
driver = passwd-file
args = scheme=cram-md5 username_format=%n /path/passdb
  }

/path/passdb:
  username:{PLAIN}secret

User "username" can log in with password "secret"

Michael


Save user passwords in clear text

2016-08-05 Thread Lefteris Tsintjelis
Is it possible to save user passwords as clear text through dovecot? I am 
currently using MD5 passwords and I allow only "plain and login” mechanisms but 
I want to switch my database to clear text as this will give me the ability to 
use more mechanisms such as CRAM-MD5. Is this possible?

Thank you