/etc/mailname does not have the same format as /etc/hostname, so this change to netcfg royally stuffed it. Please test changes before committing!
I think that all netcfg has to do is actually set the hostname. It could do this by echoing the hostname to a file in /proc, for example. exim4's ostinst will then pick up on that and put it in /etc/mailname. -- see shy jo
signature.asc
Description: Digital signature