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
> 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
-----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-----
* Lefteris Tsintjelis <lefty at 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 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 181 bytes Desc: Digital signature URL: <http://dovecot.org/pipermail/dovecot/attachments/20160813/bdc702da/attachment.sig>
> On 13 Aug 2016, at 08:17, Thomas Leuxner <tlx at leuxner.net> wrote: > > * Lefteris Tsintjelis <lefty at 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/ConvertPasswordSchemesThanks, but there is a problem though, last time I tried prefetch did not work with virtual