Fabian, I've read the policy, and you're right about writing the SMTP hostname to /etc/mailname: it's really different things in the general case. I have fixed this locally: although the config script stills reads /etc/mailname as a default SMTP hostname, it will never write to /etc/mailname.
This bug will be closed on the next release. Thanks. José Fonseca