Zimbra with Multiple Domains on Single Server

Zimbra mail server can handle multiple domain using it aliasing feature. To add a new domain alias we can use the following Zimbra command line provisioning tool.

zmprov cd foobar.com zimbraDomainType alias

We have to setup a mail catch to forward all incoming email with new domain alias to existing email domain.

zmprov md foobar.com zimbraMailCatchAllAddress @foobar.com zimbraMailCatchAllForwardingAddress @foo.com

We can verify now by sending to existing email with new domain alias.