I think it's better to use 127.0.1.1 here (I don't remember why, but all my boxen always had their hostname aliased to 127.0.1.1 instead of 127.0.0.1)