Hello, I'm running dovecot 1.0-0_12.beta8. Since I have only a very small number of user on that server, I have their names and password in text files, no databases. imap works both via webmail and via Kmail Is it possible to have, for the same user, a plain unencrypted password when connecting via imap on the local interface (needed, as I understand it, to be squirrelmail compatible) and a DIGEST-MD5 one when connecting via pop3s or imaps remotely? TIA, Marco -- Marco Fioretti mfioretti, at the server mclink.it Fedora Core 3 for low memory http://www.rule-project.org/ We are drowning in information but starved for knowledge. -- John Naisbitt, Megatrends
On Tue, 2006-06-13 at 18:30 +0200, M. Fioretti wrote:> Hello, > > I'm running dovecot 1.0-0_12.beta8. Since I have only a very small > number of user on that server, I have their names and password in text > files, no databases. > > imap works both via webmail and via Kmail > > Is it possible to have, for the same user, a plain unencrypted > password when connecting via imap on the local interface (needed, as I > understand it, to be squirrelmail compatible) and a DIGEST-MD5 one > when connecting via pop3s or imaps remotely?When using plaintext authentication the password can be crypted in the password file. So the solution is to just store the passwords in DIGEST-MD5 format in the passwd-file and both DIGEST-MD5 and PLAIN authentication works. Alternatively you can store also the passwords in plaintext in the passwd-file and then all current and future authentication mechanisms work with it. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 191 bytes Desc: This is a digitally signed message part Url : http://dovecot.org/pipermail/dovecot/attachments/20060618/5bdf9348/attachment.pgp