Hmmm... I didn't see that in the doc's but I'll check it out. I would hate, however, to screw up the 20 or so domains that have been migrated. I'd much prefer a something that generates SQL that I can inspect. I suppose I could write something.

By the way, thanks for putting together this version of the toaster.

Jeff

On 3/27/2017 12:08 PM, Eric Broch wrote:

Hi Jeff,

I've never used it (and there's not much documentation), but doesn't 'dotqmail2valias' have a domainlist option?

[root@host bin]# ./dotqmail2valias
usage: dotqmail2valias [options] [domainlist]
  Converts .qmail-alias files for listed domains to valias format.
  Options:
    -a = convert all domains
    -v = version
    -d = debug info

For example, could it be used like so? :

./dotqmail2valias mydomain1.tld

./dotqmail2valias mydomain2.tld

.

.

.

or

./dotqmail2valias mydomain1.tld mydomain2.tld ...


Eric


On 3/27/2017 9:49 AM, Jeff Koch wrote:
Hi:

We're in the process of converting a large qmail/vpopmail mailserver with about a hundred domains, from Bill's Centos 5 Toaster to the new CentOS 7 qmailtoaster. It's been a bit of a learning curve but so far it looks good.

We're migrating blocks of ten domains at a time. We've found a script that generates the SQL to convert the vpasswd file to mysql but we haven't found anything similar for the .qmail forwards.

We'd like to do this on a domain by domain basis and have a chance to look at the SQL before it's executed. 'vconvert' and 'dotqmail2valias' seem to want to convert every domain on the server.

If anyone knows of or has a script that generates the SQL to convert dotqmail forwards to mysql we'd appreciate it.

Thanks, Jeff Koch


--
Eric Broch, IMSO, DAM, NGOO, DITH, URTS
White Horse Technical Consulting (WHTC)

Reply via email to