[vchkpw] dir-control restoration code

2008-05-29 Thread Matt Brookings
I just had to write this up quickly to re-generate .dir-control (or in MySQL, the dir-control table) for a system whose .dir-control file was corrupted. Figured I'd pass it on. Replace test.com with domain with .dir-control problems Number_of_existing_users means just what it says; Set it to

[vchkpw] .dir-control format

2004-09-24 Thread Brian Feeny
Can someone post the .dir-control format (the format of the file, and what each value represents)? also if you have a hosed .dir-control structure, how can you rebuild it, so that the .dir-control files are correct? if a .dir-control got deleted, how would that be fixed? Brian

Re: [vchkpw] .dir-control format

2004-09-24 Thread Dave Goodrich
Brian Feeny wrote: Can someone post the .dir-control format (the format of the file, and what each value represents)? This is a close as I have gotten, though I have not updated any further, it seems to be working fine. http://www.mail-archive.com/[EMAIL PROTECTED]/msg19052.html You might

Re: [vchkpw] .dir-control format

2004-09-24 Thread Brian Feeny
Dave, First thanks alot for posting that link, I appreciate it. I am not in fact using Mysql, perhaps you confused me with someone else. I do plane on moving to a mysql setup, but I need to do so with as little downtime as possible. It seems like there are many different steps, like putting

[vchkpw] .dir-control - Please tell me this about it

2004-09-23 Thread Brian Feeny
Does the hashing that is used by .dir-control depend at all on the actual domain name? For example, if it came up with a hashed directory structure in which to put foobar.com, would it matter if I went in to /var/qmail/users/assign, and changed the name of the domain to somethingelse.com, and

Re: [vchkpw] .dir-control - Please tell me this about it

2004-09-23 Thread Dave Goodrich
Brian Feeny wrote: Does the hashing that is used by .dir-control depend at all on the actual domain name? For example, if it came up with a hashed directory structure in which to put foobar.com, would it matter if I went in to /var/qmail/users/assign, and changed the name of the domain to

Re: [vchkpw] .dir-control - Please tell me this about it

2004-09-23 Thread Brian Feeny
On Sep 23, 2004, at 10:18 AM, Dave Goodrich wrote: Brian Feeny wrote: Does the hashing that is used by .dir-control depend at all on the actual domain name? For example, if it came up with a hashed directory structure in which to put foobar.com, would it matter if I went in to

Re: [vchkpw] .dir-control - Please tell me this about it

2004-09-23 Thread Brian Feeny
I under stand that, but I guess what I am asking is, the hashing algorithm that vpopmail uses, to decide how to name its directories, is it linked to the name of the username/name of the domain, to the extent that if I change the domain name (or username) but keep the hashing the same, is

Re: [vchkpw] .dir-control - Please tell me this about it

2004-09-23 Thread Dave Goodrich
Brian Feeny wrote: I under stand that, but I guess what I am asking is, the hashing algorithm that vpopmail uses, to decide how to name its directories, is it linked to the name of the username/name of the domain, to the extent that if I change the domain name (or username) but keep the

[vchkpw] .dir-control, what is it?

2003-12-26 Thread Shaun Reitan
i noticed that in the domain dirs that there is a file called .dir-control. What is this file used for? why is it needed? If a system user has access to this file could they do anything funny to qmail or vpopmail? ~Shaun

[vchkpw] .dir-control

2003-10-07 Thread Andrej
how is .dir-control working?

SV: [vchkpw] dir-control table does not exist

2003-06-11 Thread Jonas Thomsen
I've just migrated from vpopmail 5.2.1 using CDB til vpopmail 5.3.21 using MySql. On my testserver this went just fine, but when I did the same on the production server, dir-control is somehow lost. There is no 'dir-control' table in the database. Everything works fine (as far as I can

[vchkpw] dir-control table does not exist

2003-06-11 Thread Jonas Thomsen
Hi! I've just migrated from vpopmail 5.2.1 using CDB til vpopmail 5.3.21 using MySql. On my testserver this went just fine, but when I did the same on the production server, dir-control is somehow lost. There is no 'dir-control' table in the database. Everything works fine (as far as I can see).