Re: [vchkpw] vpasswd deleted

2005-06-11 Thread Lars Ulmann

Lars Ulmann wrote:


WAEL ELLOUZE wrote:


Greetings,
I  had vpopmail running with cdb, and i have accidently deleted a file
/home/vpopmail/domains/domain.com/vpasswd (not vpasswd.cdb).
Can anyone help me how to recover this file.
 


this should do the trick:
strings vpasswd


The resulting file needs some handwork tough but basically it works.

Lars



Re: [vchkpw] vpasswd deleted

2005-06-11 Thread Rick Macdougall

WAEL ELLOUZE wrote:


Greetings,
I  had vpopmail running with cdb, and i have accidently deleted a file
/home/vpopmail/domains/domain.com/vpasswd (not vpasswd.cdb).
Can anyone help me how to recover this file.
 


Hi,

You can use cdbdump to dump the password file from the cdb file.  You 
will need to do a little data massaging after.  I've done it before and 
it took me about 5 minutes to recover it with a perl script.


http://cr.yp.to/cdb/cdbmake.html

Regards,

Rick



Re: [vchkpw] vpasswd deleted

2005-06-11 Thread Lars Ulmann

WAEL ELLOUZE wrote:


Greetings,
I  had vpopmail running with cdb, and i have accidently deleted a file
/home/vpopmail/domains/domain.com/vpasswd (not vpasswd.cdb).
Can anyone help me how to recover this file.
 


this should do the trick:
strings vpasswd

HTH
Lars



Re: [vchkpw] vpasswd deleted

2005-06-11 Thread Sergio Rosa

Hi,
to recover I don't know. Bu I would try do create a new vpasswd file 
without any password. And if you have vpopmail with the 
--auto-learn-passwords option built into than you probably  be ok.


Regards
srosa

WAEL ELLOUZE wrote:


Greetings,
I  had vpopmail running with cdb, and i have accidently deleted a file
/home/vpopmail/domains/domain.com/vpasswd (not vpasswd.cdb).
Can anyone help me how to recover this file.

Thanks in advance