Does anyone know how to change the from user when sending email using the mail command? I have looked through the man page and can not see how to do this.
We are running Redhat Linux 5.
http://www.mindspill.org/962 seems to have a solution.
echo "This is the main body of the mail" | mail -s "Subject of the Email" email@example.com -- -f firstname.lastname@example.org