prima dell'instruzione mail metti:
Codice PHP:
ini_set(sendmail_from,"mail@libero.it"); 
http://it2.php.net/manual/it/function.ini-set.php

ciao