[SOLVED] Split domain setup - how to revert settings to default

Looking to migrate to ZCS? Ask here. Got a great tip or script that helped you migrate? Post it here.
Post Reply
warmbowski
Posts: 36
Joined: Fri Sep 12, 2014 11:28 pm

[SOLVED] Split domain setup - how to revert settings to default

Post by warmbowski »

In order to test Zimbra with a few users, I set up a Split Domain with the Zimbra server running secondary to my primary QmailRocks server. I followed this guide in the wiki: Configuring_Zimbra_as_the_Secondary_System
specifically I ran these commands to forward undeliverable mail sent from the Zimbra server to the Qmail server.
[QUOTE]$ zmprov md example.com zimbraMailCatchAllAddress @example.com

$ zmprov md example.com zimbraMailCatchAllForwardingAddress @example.com

$ zmprov md example.com zimbraMailTransport smtp:mail.example.com[/QUOTE]
After migrating all of my users over to Zimbra and setting it up as the primary server, how do I revert these settings back to the defaults (no forwarding/relaying to the other server)?
mmorse
Ambassador
Ambassador
Posts: 6036
Joined: Fri Sep 12, 2014 10:24 pm

[SOLVED] Split domain setup - how to revert settings to default

Post by mmorse »

Welcome to the forums,

Simply null out the values/return them to their previous:

zmprov md domain.com zimbraMailCatchAllAddress ""

zmprov md domain.com zimbraMailCatchAllForwardingAddress ''

zmprov md domain.com zimbraMailTransport lmtp:server.domain.com:7025

Yes that's LMTP not SMTP.

If you continued on in that article, it goes:[quote]

2. We also highly recommend that, in a secondary Zimbra system, you turn off DNS lookups and internet wide message routing from the secondary host and route all mail through the primary. You can accomplish this by:

$ zmprov mcf zimbraMtaRelayHost mail.example.com

$ zmprov mcf zimbraMtaDnsLookupsEnabled FALSE

[/quote]So of course you will need to null/change those back to TRUE as well if you modified them.
warmbowski
Posts: 36
Joined: Fri Sep 12, 2014 11:28 pm

[SOLVED] Split domain setup - how to revert settings to default

Post by warmbowski »

Perfect. Thanks!
-Paul
Post Reply