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" firstname.lastname@example.org -- -f email@example.com