i have a server running on an internally-addressed network (192.168.192.x) and split-horizon dns such that internally the workstations and servers think they live on a xxx-intranet.com domain which resolves fine locally but does not exist officially on the internet. this all works fine, and also from the outside works fine, but i have two issues i would like to resolve.
1) the postfix server considers itself 'hostname.xxx-intranet.com' and writes smtp headers as that, however because this fqdn doesn't exist on the internet, some remote servers with strict domain checking will reject the email. i would like to change postfix to consider itself 'anotherhostname.xxx.com'. normally i would hack main.cf but i suspect there's another way to do this in zimbra.
2) ditto for smtp/https certs, you get a domain name mismatch warning from the outside. how do you specify an fqdn to the cert setup?