Re: [Dovecot] Adding new password schemes?

2008-09-22 Thread Timo Sirainen
On Sun, 2008-09-21 at 19:52 -0700, Ian R. Justman wrote:
 Hi, all.
 
 I was curious how difficult it would be to add a new password scheme to 
 Dovecot?

Easy. It's also possible to do as a plugin. Here's one for Dovecot v1.0:
http://dovecot.org/patches/password-scheme-lmpass.c

It probably needs some small changes for v1.1. At least __attr_unused__
has been renamed to ATTR_UNUSED.



signature.asc
Description: This is a digitally signed message part


[Dovecot] Adding new password schemes?

2008-09-21 Thread Ian R. Justman


Hi, all.

I was curious how difficult it would be to add a new password scheme to 
Dovecot?  I have to transplant mailboxes from one machine to another, 
the older machine running Post.Office from now-defunct Software.Com, 
which was bought by OpenWave, then discontinued.  Apparently, Netscape's 
mailserver offering from the day also supports this scheme.  There's 
code out there that was incorporated into OpenLDAP a while back which 
can read this scheme, but I need to use MySQL as a source for this.


Thanks in advance for any help anyone can offer.

--Ian.

--
Ian R. Justman
UNIX hacker.  Anime fan.  Any questions?
ianj (at) ian-justman.com