Why should I set the myhostname variable in the postfix config file?
In the case of multiple instances of Postfix on the same server, you need to set the hostname in the postfix config file. This is true because on one server you can setup more than one Postfix instance to send mail for multiple domains.