On Jun 29, 2006, at 3:59 PM, Paul Theodoropoulos wrote:
gotcha. since i need to keep vqadmin consistent for various reasons, i think i'll try doing a complete overhaul of the domain the 'old fashioned way'.

If you're using cdb, here's a sneaky way to do it...

First, backup the domain on the off chance that deleting the alias domain messes something up. Stop qmail until you're done making the changes. We'll call the domains old.com and new.com for this process.

# delete the old domain
~vpopmail/bin/vdeldomain new.com

# add it back, as it's own domain (not an alias)
~vpopmail/bin/vadddomain new.com xyz

# use the old domain's files instead
rm -rf ~vpopmail/domains/new.com
mv ~vpopmail/domains/old.com ~vpopmail/domains/new.com

# make an link from the old name to the new name so mailing lists work
cd ~vpopmail/domains
ln -s new.com old.com

Start qmail back up, and you should be in business.

Now you can search through the various .qmail files and mailing list configuration files, looking for references to old.com and changing them to new.com. Eventually, you can ditch the link from old.com to new.com in the domains directory.

Tom Collins  -  [EMAIL PROTECTED]
Vpopmail - virtual domains for qmail: http://vpopmail.sf.net/
QmailAdmin - web interface for Vpopmail: http://qmailadmin.sf.net/

Reply via email to