Disable a domain without deleting email?

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Post Reply
shankwc
Advanced member
Advanced member
Posts: 72
Joined: Fri Sep 12, 2014 10:02 pm

Disable a domain without deleting email?

Post by shankwc »

I have a customer who moved off the zimbra system onto their own Exchange server. I can't send them email anymore because zimbra wants to deliver to their zimbra domain accounts. I'd like to disable their domain so email I send them goes to their new email server but I'd like to preserve their accounts in case they need to get any info out that may have been missed.
Is there any way to do this? I thought about just renaming the domain but that doesn't appear to be an option.
scottnelson
Advanced member
Advanced member
Posts: 124
Joined: Fri Sep 12, 2014 10:12 pm

Disable a domain without deleting email?

Post by scottnelson »

Just create a bogus domain and move all of those users to that domain and delete the old domain. IE: mydomain.com ---> mydomainold.com so, I would go from joe.smith@mydomain.com to joe.smith@mydomainold.com and then delete the old domain.
As long as you have removed the old domain, the MTA should be good again.

Do you host their DNS zone? If so, you need to remove or change that on your DNS(s) as well.
Scotty
rsharpe
Outstanding Member
Outstanding Member
Posts: 254
Joined: Fri Sep 12, 2014 9:59 pm

Disable a domain without deleting email?

Post by rsharpe »

Check out split domain in the wiki
tuanta
Posts: 23
Joined: Fri Sep 12, 2014 11:21 pm

Disable a domain without deleting email?

Post by tuanta »

the best way is renaming the domain to an unreal name using zmprov:
zmprov --ldap rd mydomain.com mydomain-old.com
Post Reply