Use mailname instead of hostname if it exists
Change to fqdn + hostname