I've done a couple of installs now of Zimbra Network Edition on CentOS and I'd like to make sure I got this right.
I installed the package using a domain name of zimbra.mydomain.org.au. Of course I want outgoing mail to appear from email@example.com rather than firstname.lastname@example.org. Also we need mail addressed to email@example.com to be received. Being from the Unix/sendmail world using masquerading and aliasing seemed the way to go so I issued the following commands to accomplish this:
zmprov cd crs.org.au zimbraDomainType alias zimbraMailCatchAllAddress @mydomain.org.au zimbraMailCatchAllForwardingAddress @zimbra.mydomain.org.au
zmprov md zimbra.mydomain.org.au zimbraMailCatchAllAddress @zimbra.mydomain.org.au zimbraMailCatchAllCanonicalAddress @mydomain.org.au
Is that all I need to do? This appears to have accomplished what I need.