Hi, I have a currently installed machine running vpopmail 4.9.8 which I need to move to a redhat machine, on which I want to run 4.9.10. I'm doing this against a mysql database. I have installed 4.9.10 fine, "from new" and that all works. My next step is to bring in the old data I have. I plan to migrate it once, do some testing, and then when I'm ready, clean out the database tables and the domains directory and migrate again. I have two domains. pop3.peter.org.uk and pop3.peterg.org.uk. I created pop3.peter.org.uk and it's postmaster user using the vadddomain program. The pop3.peterg.org.uk domain and it's postmaster user was created by: (a) copying the files into the domains directory on the new machine (b) copying the vpopmail table entries (c) creating an entry in the dir_control table that matches the one for pop3.peter.org.uk - I then copied the value for the password for [EMAIL PROTECTED] to the pw_passwd field for [EMAIL PROTECTED] They have - identical (with the obvious extra "g") directory structures in ~vpopmail/domains - identical entries in the vpopmail table - identical entries in the dir_control table - identical entries in qmail/control/* and qmail/users/assign 1/ However, the pop3 daemon/vchkpw will let the pop3.peter.org.uk user login, but not the pop3.peterg.org.uk user. 2/ Also, the vadddomain program will let me add a new user to the pop3.peter.org.uk domain, but not the pop3.peterg.org.uk domain, which it says doesn't exist. --- Does anyone have any clues as to: (a) what vchkpw (and indeed, the other programs) use to determine whether a domain name exists and why vchkpw is returning a "No user found" error in the vpopmail syslog. (b) What are the steps that vadddomain / vadduser take to add a domain name. I will need to replicate this behavior with some magic-perl when I migrate my existing setup. (c) What are all the other fields in the dir_control table, beyond domain and cur_users, and does the value of "dir_control.the_dir" matter in my prefered flat structure [ see quirks, below ]. --- * Quirks of my setup: - I'm using mysql. I have 3 new fields in my vpopmail table: id int(11) auto_increment passwd_set varchar(10) odmr_password varchar(255) - I've never used dir_control before. Many (all?) of my domains do not have .dir-control files. To solve this I have manually inputted the lines into the dir_control table. - I have replicated the qmail directory structure into ~vpopmail/qmail and I want vpopmail to edit that, and not the /var/qmail directories. I have further scripts that merge lots more other bits to build up the /var/qmail config files. - I'm using the all domains in one vpopmail table, and I have all my domain names in the domains directory, with no tree structure. I don't want to change this. --- many thanks peter p.s. if there are any qmail consultants out there that feel they could answer my questions properly given a few hours of time, do let me know. -- peter gradwell. gradwell dot com Ltd. http://www.gradwell.com/ engineering & hosting services for email, usenet, sms and web.