James is correct about the linking.

The libdescrypt library doesn't care what kind of passwords you use.  I
currently have qmail+vpopmail+mysql on 4.1 FreeBSD. And my current setup is
authenticating both MD5 and DES passwords.  The key is in the salt that you
pass the crypt function.  Vchkpw passes the entire password as the salt to
the crypt function which therefore figures out which type of encryption to
use.  Works very well.  I don't think you should run into any password
problems.  One system I upgraded was a 2.2 FreeBSD the other was a 3.2.
Once I figured out that I needed to be linked to the libdescrypt libraries I
have been OK.

Joe Modjeski
[EMAIL PROTECTED]

-----Original Message-----
From: James [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 11, 2001 11:18 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: A repeat question that is very urgent



It isn't dependant on the version that you use. As long as you pick the
appropriate encryption library during the reinstall, then it should work
just fine.

It is said by many that the DES encryption libraries will work properly
with both DES and MD5 hashed passwords. The MD5 library will only work with
MD5 hashed passwords. But, just to be on the absolute safe side, I would
choose the same encryption libs that you're using now. You can tell which
ones you're using in FreeBSD by doing the following:

ls -l /usr/lib/libcrypt.so

If this is symlinked to libdescrypt.so, then you're using DES encryption.
If it's symlinked to libscrypt.so, then you're using MD5. If you see
something else, then I don't know what to tell you.

You should be able to backup ~vpopmail/domains, and restore it after the
reinstall. But you will also need to keep /var/qmail/users/assign, and
various /var/qmail/control/ files that contain info on your domains.

David Comeau writes:

> I am upgrading a machine from FreeBSd 3.4 to FreeBSD 4.2.
> How can I rebuild my vpopmail passwords without recreating them?
> Does the same encrypted vpopmail password work for FreeBSD 4.2?
> And can one simply back up the vpopmail/domains tree and reinstall
> it once vpopmail has been compiled?
> 
> Please, I really need some help on this one. There isn't any documentation
> on the subject.
> 
> Sincerely, 
> David Comeau 
> Technical Support 
> WiSOL, Inc. 


Reply via email to