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 firstname.lastname@example.org rather than email@example.com. Also we need mail addressed to firstname.lastname@example.org 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.