Cam writes:

Hi,

Ok, i have a working courier setup now.  Courier seems way rad... i'm
actually using courier for the pop and imap, and then postfix for my
MTA and a mysql backend for everything.  Now it's just a matter of
migrating my old setup over.  the old mail server is using an old
version of courier (maybe .43 i think), and was set up by a different
guy who's no longer around.  I'm writing a script in ruby to populate
my mysql tables from his old userdb stuff.  The problem i'm having is
that the mysql tables are storing the passwords in plaintext, but
userdb encrypts the passwords.  How can i get the plaintext password
from the script?  Is it possible?  Is there a better way to migrate?

It is impossible, according to the laws of physics in this universe.

However, you can take the encrypted password in userdb, and stick them into a database table. This'll work, as long as you were not using CRAM authentication.


Attachment: pgpOoOwjBgIRq.pgp
Description: PGP signature

Reply via email to