On Debian systems config.hostname directive should change /etc/mailname in order to prevent problems with default mailer trying to contact default vm's name.