[vchkpw] Massive Folders

2005-07-26 Thread Jimmy Stewpot
Hello, I am managing a group of servers that is running Redhat Enterprise Linux v3. The Issue that I have just discovered is that we have now over 32000 users. Thats causing a problem as ext3 file system does not support more than 32000 folders in any one particular folder. Is there any way to se

Re: [vchkpw] Massive Folders

2005-07-26 Thread Rick Macdougall
Jimmy Stewpot wrote: Hello, I am managing a group of servers that is running Redhat Enterprise Linux v3. The Issue that I have just discovered is that we have now over 32000 users. Thats causing a problem as ext3 file system does not support more than 32000 folders in any one particular folder.

Re: [vchkpw] Massive Folders

2005-07-26 Thread Jimmy Stewpot
Hello, It appears that the server has not created the users in a hash format. Is there any way to convert the format to a hash easily? Regards, Jimmy Rick Macdougall wrote: > Jimmy Stewpot wrote: > >> Hello, >> >> I am managing a group of servers that is running Redhat Enterprise Linux >> v3.

Re: [vchkpw] Massive Folders

2005-07-26 Thread Rick Macdougall
Jimmy Stewpot wrote: Hello, It appears that the server has not created the users in a hash format. Is there any way to convert the format to a hash easily? Hi, Not without deleting and re-adding all the users I think. Do you know how vpopmail was configured and what version it is ? Reg

Re: [vchkpw] Massive Folders

2005-07-27 Thread Jimmy Stewpot
Rick Macdougall wrote: > Jimmy Stewpot wrote: > >> Hello, >> >> It appears that the server has not created the users in a hash format. >> Is there any way to convert the format to a hash easily? >> >> > Hi, > > Not without deleting and re-adding all the users I think. Do you know > how vpopm

Re: [vchkpw] Massive Folders

2005-07-27 Thread Rick Macdougall
Jimmy Stewpot wrote: Rick Macdougall wrote: Jimmy Stewpot wrote: Hello, It appears that the server has not created the users in a hash format. Is there any way to convert the format to a hash easily? Hi, Not without deleting and re-adding all the users I think. Do you kno

Re: [vchkpw] Massive Folders

2005-07-27 Thread Jimmy Stewpot
> Hi, > > I've done it a few times (sendmail to vpopmail, 30K+ users) with scripts > etc to create the new users using the vpopmail tools, then again using > scripts to get their Maildir directories from vpopmail and then moving > the mail over. > > I've never just moved over an existing mail sto

Re: [vchkpw] Massive Folders

2005-07-27 Thread Rick Macdougall
Jimmy Stewpot wrote: Hi, I've done it a few times (sendmail to vpopmail, 30K+ users) with scripts etc to create the new users using the vpopmail tools, then again using scripts to get their Maildir directories from vpopmail and then moving the mail over. I've never just moved over an existing

Re: [vchkpw] Massive Folders

2005-07-27 Thread Bob Hutchinson
On Wednesday 27 Jul 2005 16:51, Jimmy Stewpot wrote: > > Hi, > > > > I've done it a few times (sendmail to vpopmail, 30K+ users) with scripts > > etc to create the new users using the vpopmail tools, then again using > > scripts to get their Maildir directories from vpopmail and then moving > > the

Re: [vchkpw] Massive Folders

2005-07-28 Thread Jimmy Stewpot
> There are a few different ways to do it depending on your backend, if > you are using MySQL, then you can just update the mysql database with > the user and password, leaving the maildir directory blank and it will > automatically be updated when you pop into the account or sendmail to > the acc

Re: [vchkpw] Massive Folders

2005-07-28 Thread Rick Macdougall
Jimmy Stewpot wrote: I have just written a script that would do a mysql update query to md5('password'); into the mysql database. However the problem appears to be that the passwords set by the vpasswd utility dont appear to be md5 in the same way that the mysql query with md5() function works?

Re: [vchkpw] Massive Folders

2005-07-28 Thread Jimmy Stewpot
Rick Macdougall wrote: > Jimmy Stewpot wrote: > >> I have just written a script that would do a mysql update query to >> >> md5('password'); into the mysql database. However the problem appears to >> be that the passwords set by the vpasswd utility dont appear to be md5 >> in the same way that t

Re: [vchkpw] Massive Folders

2005-07-28 Thread Rick Macdougall
Jimmy Stewpot wrote: Rick Macdougall wrote: Jimmy Stewpot wrote: I have just written a script that would do a mysql update query to md5('password'); into the mysql database. However the problem appears to be that the passwords set by the vpasswd utility dont appear to be md5 in the s

Re: [vchkpw] Massive Folders

2005-07-28 Thread Jimmy Stewpot
> Hi, > > $encpass = crypt('password','$1$salthere$'); Where does vpopmail keep the salt or how does that work in regards to the vpasswd utility etc? > > See http://ca.php.net/manual/en/function.crypt.php > > Regards, > > Rick > > > > >

Re: [vchkpw] Massive Folders

2005-07-28 Thread Rick Macdougall
Jimmy Stewpot wrote: Hi, $encpass = crypt('password','$1$salthere$'); Where does vpopmail keep the salt or how does that work in regards to the vpasswd utility etc? Hi, Vpopmail uses $1$ + random letters for the salt. The actual salt is not kept anywhere. #ifdef MD5_PASSWORDS