I have this script which runs as root, and when it fails to do something it needs to send a mail using postfix (actually the regular mail command on Centos5).
The problem is that the "from" user in the email is "root", how can I change it to another user?