Here is how you could make it work with the mv

Backup all your data. Remove the domain and alias create a new domain and
all users for that domain cp or mv all that mgs into the new domain. It
should be fine for you.

Just my 2 cents.
Remo


> From: Charlie Garrison <garri...@zeta.org.au>
> Reply-To: <vchkpw@inter7.com>
> Date: Thu, 19 Mar 2009 02:51:46 +1100
> To: <vchkpw@inter7.com>
> Subject: Re: [vchkpw] Deleting primary domain; keeping alias domains
> 
> Good morning,
> 
> On 18/03/09 at 9:31 AM -0500, Matt Brookings <m...@inter7.com> wrote:
> 
>> Charlie Garrison wrote:
>>> Is there a proper way to delete a domain which is currently configured
>>> as the primary domain for an account? And I want one of the current
>>> domain aliases to become the primary domain.
>>>   I can't find any comprehensive documentation for
>>> vdeldomain. Maybe it
>>> will do what I want; I don't have a test system to try it on though.
>> 
>> An alias is just that, an alias.  It is not an actual domain.  If you delete
>> the primary, the alias will not function because there is no primary domain
>> data for it to alias.
> 
> I guessed that, which is why I was asking how to delete the
> primary domain. I want one of the domain aliases to become the
> primary domain. Is there any way to do that short of completely
> recreating the setup for that domain/directory? The primary
> domain is no longer in use (has expired) and I would like to
> completely remove all references to it.
> 
> My thought was to 'mv' the domain directory to the name of the
> domain alias, and manually edit the qmail/users/assign file
> accordingly. But I don't know if there are other locations where
> the primary domain name is stored that would also need to be
> updated. (I'm ignoring rcpthosts, etc for now since they seem to
> be easy changes.)
> 
> Thanks,
> Charlie
> 
> -- 
>     Charlie Garrison  <garri...@zeta.org.au>
>     PO Box 141, Windsor, NSW 2756, Australia
> 
> O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
> http://www.ietf.org/rfc/rfc1855.txt
> 
> 
> 
> 
> 
> 


!DSPAM:49c1203032681502410438!

Reply via email to