Qmail is a total replacement for Sendmail, and terribly different, not necessarily a bad thing, but different.
hostname is defined in the /var/qmail/control/me file