Hi,
here is my working setup, it might help regardless of OS.
Change
red values to match your real names, IPs and domains.
Code:
sudo vim /etc/hosts
should contain:
127.0.0.1 localhost
123.456.789.123 zimbra.YourMainDomain.com <---FQDN name of your Zimbra server
zimbra <---name of your Zimbra server
Code:
sudo vim /etc/resolv.conf
should contain:
search
YourMainDomain.com
nameserver
193.2.1.66 <---this is your ISP's 1st DNS
nameserver
193.2.1.72 <---this is second DNS
Then go to Zimbra Admin web interface
https://localhost:7071
Configuration --> Global Settings --> General information
Default domain: zimbra.YourMainDomain.com
Configuration --> Global Settings --> MTA
Web mail MTA Hostnames: localhost
Protocol checks
YES Hostname in greeting violates RFC (reject_invalid_hostname)
NO Client must greet with a fully qualified hostname (reject_non_fqdn_hostname)
YES Sender address must be fully qualified (reject_non_fqdn_sender)
DNS checks
NO Client's IP address (reject_unknown_client)
NO Hostname in greeting (reject_unknown_hostname)
YES Sender's domain (reject_unknown_sender_domain
All other settings are more or less intuitive, or if you don't know them, leave them empty or default.
Under DNS zone for your primary domain
YourMainDomain.com you should make sure that
there is an A-record named
zimbra pointing to public IP of Zimbra server.
It is also wise to instruct your ISP provider to add Reverse PTR record, which resolves Zimbra's public IP to name
zimbra.YourMainDomain.com
Then you should simply ADD new domain, make sure to setup MX record of those domains to point to
zimbra.YourMainDomain.com.
this setup should work.