[vchkpw] Encryption differences between 4.9.6 and 5.4.2

2005-05-12 Thread David Näsvik
Hello!

I would gladly appreciate if anyone could tell me 
te differences between the encryption-methods between vpopmail 4.9.6 and 5.4.2. 
I have recently done and upgrade and when I'm converting the usertable I don't 
have the clear-text password and since the encryption-methods differ I need to 
use the same method (mcrypt/md5 or similiar) to get the same 
result.

Best regards Dave

Ps, off topic, letter that are found as bad mails 
with rblsmtpd, how do I delete them instead of forwarding them to the 
postmaster, ds



[vchkpw] Encryption

2004-04-02 Thread Cory Barton
Hello,

I am currently working on setting up an extranet site for my company. I 
would like to import the information from the mysql vpopmail db into the 
cms's (Content Management System) user database, however the cms db 
stores passwords like so: 7729ca956c9bdb1ea9e498ebeb57ffda
However the passwords in the vpopmail db are stored like so: 
$1$D065m$p8ZGr5V/L.rnHmYvi1KAu/

So I was wondering if anyone knows of a way that I can:
1. Convert the passwords in the vpopmail database to work with the other 
database (without making changes to the email system)
or
2. Change the way the email system stores its passwords to match the way 
the cms stores its passwords. The cms uses php.

Thanks for the help


Re: [vchkpw] Encryption

2004-04-02 Thread X-Istence
Cory Barton wrote:
Hello,

I am currently working on setting up an extranet site for my company. I 
would like to import the information from the mysql vpopmail db into the 
cms's (Content Management System) user database, however the cms db 
stores passwords like so: 7729ca956c9bdb1ea9e498ebeb57ffda
However the passwords in the vpopmail db are stored like so: 
$1$D065m$p8ZGr5V/L.rnHmYvi1KAu/

So I was wondering if anyone knows of a way that I can:
1. Convert the passwords in the vpopmail database to work with the other 
database (without making changes to the email system)
or
2. Change the way the email system stores its passwords to match the way 
the cms stores its passwords. The cms uses php.

Thanks for the help




Well, let me answer this one.

The first one is MD5 generated, the second one i believe is general 
crypt generated. What this means is that you would either need to 
rewrite the CMS so it accepts crypt'ed passwords, or rewrite vpopmail to 
instead of crypt use MD5, as there is no way to convert one to the other.

X-Istence


Re: [vchkpw] Encryption

2004-04-02 Thread Cory Barton
Thank you.



X-Istence wrote:

Cory Barton wrote:

Hello,

I am currently working on setting up an extranet site for my company. 
I would like to import the information from the mysql vpopmail db 
into the cms's (Content Management System) user database, however the 
cms db stores passwords like so: 7729ca956c9bdb1ea9e498ebeb57ffda
However the passwords in the vpopmail db are stored like so: 
$1$D065m$p8ZGr5V/L.rnHmYvi1KAu/

So I was wondering if anyone knows of a way that I can:
1. Convert the passwords in the vpopmail database to work with the 
other database (without making changes to the email system)
or
2. Change the way the email system stores its passwords to match the 
way the cms stores its passwords. The cms uses php.

Thanks for the help




Well, let me answer this one.

The first one is MD5 generated, the second one i believe is general 
crypt generated. What this means is that you would either need to 
rewrite the CMS so it accepts crypt'ed passwords, or rewrite vpopmail 
to instead of crypt use MD5, as there is no way to convert one to the 
other.

X-Istence